Khmer (script)
Second-Level Reference Label Generation Rules, 25 October 2024 Current
Summary
| Version | 2 — Second Level Reference LGR |
|---|---|
| Date | |
| Tag |
und-Khmr (Khmer)
|
| Unicode | 11.0.0 |
| Source file | lgr-second-level-khmer-script-25oct24-en.xml (41.6kb) |
Description
INSTRUCTIONS
- These instructions cover how to adopt an LGR based on this reference LGR for a given zone and how to prepare the file for deposit in the IANA Repository of IDN Practices.
- As described the IANA procedure (https://www.iana.org/help/idn-repository-procedure) an
LGR MUST contain the following elements in its header:
- Script or Language Designator (see below for guidance)
- Version Number (this must increase with each amendment to the LGR, even if the updates are limited to the header itself)
- Effective Date (the date at which the policy becomes applicable in operational use)
- Registry Contact Details (contact name, email address, and/or phone number)
- The following information is optional:
- Document creation date
- Applicable Domain(s)
- Changes made to the Reference LGR before adopting
Please add or modify the following items in the XML source code for this file before depositing the document in the IANA Repository. (https://www.iana.org/domains/idn-tables)
Meta Data
Note: version numbers start at 1. RFC 7940 recommends using simple integers. The version comment is optional, please replace or delete the default comment. Version comments may be used by some tools as part of the page header.
<version comment="[Please replace (or delete) the optional comment]">[Please fill in version number, starting at 1]</version>
<date>[Please fill in with publication date, in YYYY-MM-DD format]</date>
<validity-start>[Please fill in effective date, in YYYY-MM-DD format]</validity-start>
Note: the scope element may be repeated, so that the same document can serve for multiple domains.
<scope type="domain">[Please provide, in ".domain" format]</scope>
Registry Contact Information:
Please fill in the Registry Contact Details.
Change History
If you made technical modifications to the LGR, please summarize them in the Change History (and also note the details in the appropriate section of the description).
PLEASE DELETE THESE INSTRUCTIONS BEFORE DEPOSITING THE DOCUMENT
Read the rest of the description Show less
Registry Contact Details
- Contact Name: [Please fill in Contact Name]
- Email address: [Please fill in Email address]
- Phone Number: [Please fill in optional Phone Number]
Label Generation Rules for the Khmer Script
Overview
This document specifies a set of Label Generation Rules (LGR) for the Khmer script for the second level domain or domains identified above. The starting point for the development of this LGR can be found in the related Root Zone LGR [RZ-LGR-Khmr]. The format of this file follows [RFC 7940]. This LGR is adapted from the “Reference LGR for the Second Level for the Khmer Script” [Ref-LGR-und-Khmr], for details, see Change History below.
For details and additional background on the Khmer script, see “Proposal for a Khmer Script Root Zone LGR” [Proposal-Khmer].
Repertoire
The repertoire contains 71 code points for letters used for writing languages in the Khmer script; in addition, two Khmer subscript consonant sequences have been defined. The repertoire only includes code points used by languages that are actively written in the Khmer script. The repertoire is a subset of [Unicode 11.0.0]. For details, see Section 5, “Repertoire” in [Proposal-Khmer]. (The proposal cited has been adopted for the Khmer script portion of the Root Zone LGR.)
For the second level, the repertoire has been augmented with the ASCII digits, U+0030 to U+0039, plus U+002D HYPHEN-MINUS, for a total of 94 repertoire elements.
Repertoire Listing: Each code point or range is tagged with the script or scripts with which the code point is used and one or more other character categories. For each repertoire element, one or more references document sufficient justification for inclusion in the repertoire; see the “References” below. For code points in the repertoire, comments identify the language using the code point.
Variants
The variants defined in this LGR are limited to those required for use in zones not shared with any other script. However, because it does not share cross-script variants with other script LGRs, this LGR can be mixed easily with other LGRs in the same zone.
This LGR defines two Khmer consonants as variants of each other in their subscript form only. This is captured by a variant relation between the two subscript sequences, which are listed explicitly in the repertoire. See Section 6, “Variants” in [Proposal-Khmer],
Digit Variants: All Khmer digits are treated as semantic variants of the corresponding common (ASCII) digits. By transitivity, they are also semantic variants of any native digits in scripts that also include the common digits. Such variant relations are deemed to exist implicitly by transitivity but are not listed explicitly in each reference LGR. Instead, if needed, they are applied by using the Common LGR in label processing.
In particular, Khmer digit ZERO is a cross-script homoglyph or near homoglyph of digit ZERO in many other scripts; these are already implicit semantic variants by transitivity and therefore not listed here.
There is a strong resemblance between Thai and Khmer digits, anas well as with certain Lao digits.
To keep digit variant sets manageable in zones where multiple scripts are present, no attempt has been made at identifying cross-script variants among digits of different numeric value or between a digit in one script and a letter in another, such as between digit zero and Latin letter ‘o’. Other mechanisms may be required to prevent homograph labels.
Variant Disposition: All variants are of type “blocked”, making labels that differ only by these variants mutually exclusive: whichever label containing either of these variants is chosen earlier would be delegated, while any other equivalent label should be blocked. There is no preference among these labels.
This LGR does not define allocatable variants.
The specification of variants in this LGR follows the guidelines in [RFC 8228].
Character Classes
Consonants: When more than one consonant occur together in the onset of a grapheme cluster, the additional consonants are written in subscript form, joined with the first consonant in the sequence. In Unicode, this is indicated by preceding each additional consonant with U+17D2 KHMER SIGN COENG. Some consonants have been given the tag “base-only”; these do not take subscript form. Consonants can have light or strong pronunciation indicated by two shifter signs; additionally there are six signs for phonological modifications as discussed below. See Section 5.2, “Consonants” in [Proposal-Khmer].
Independent vowels: These occur independently and cannot combine with any of the marks including dependent vowels and sign. The use of a subscript form, while defined in Unicode, is not supported here. See Section 5.2, “Independent Vowels” in [Proposal-Khmer].
Dependent vowels: The 16 dependent vowels included in the Khmer LGR have been further classified into three subcategories namely dependent vowel 1, dependent vowel 2 and dependent vowel 3, see below. Dependent vowels must follow a consonant, shifter or the Robat sign. They cannot occur independently. See Section 5.3, “Dependent Vowels” in [Proposal-Khmer].
Shifters: the character U+17C9 KHMER SIGN MUUSIKATOAN is used with a subset of first series consonants, code points from this subset have been given the tag “series-one”. The character U+17CA KHMER SIGN TRIISAP is used with subset of second series consonants and with U+1794 KHMER LETTER BA. Code points from this subset have been given the tag “series-two”. The two characters are collectively known as consonant shifters and have been given the tag “shifter”. See Section 5.5, “Shifters” in [Proposal-Khmer] and reference [210].
Robat: The character U+17CC KHMER SIGN ROBAT has been given the tag “robat”. It follows consonants but unlike other signs may be followed by a dependent vowel. See Sections 5.3, “Dependent Vowels” and 5.4, “Signs” in [Proposal-Khmer].
Signs (Bantoc): The character U+17CB KHMER SIGN BANTOC is used with a subset of consonants, that subset has been given the tag “series-three”, see Section 5.4, “Signs” in [Proposal-Khmer] and reference [205].
Signs (Yuukalepintu and Samyoksannya): The character U+17C8 KHMER SIGN YUUKALEAPINTU is written after a consonant to indicate that it is to be followed by a short vowel and a glottal stop. The sign is used with all the consonants. The character U+17D0 KHMER SIGN SAMYOKSANNYA is written above a consonant or a shifter to indicate that the syllable contains a particular short vowel. The sign is used with all the consonants or all the shifters. See Section 5.4, “Signs” in [Proposal-Khmer].
Signs (Nikahit and Reahmuk): The character U+17C6 KHMER SIGN NIKAHIT is used with consonants and some dependent vowels. These dependent vowels have been given a tag “dependent-vowel-1” (see Sections 5.3 and 5.4 in [Proposal-Khmer]). The character U+17C7 KHMER SIGN REAHMUK is used with consonants and some dependent vowels. These dependent vowels have been given a tag “dependent-vowel-2” (see Sections 5.3 and 5.4 in [Proposal-Khmer]).
Signs (Toandakhiat): The sign U+17CD KHMER SIGN TOANDAKHIAT is written over a final consonant to indicate that it is unpronounced. It is used with all consonants or U+17B7 KHMER VOWEL SIGN I. The latter has been given a tag “dependent-vowel-3”. See Section 5.4, “Signs” in [Proposal-Khmer].
Khmer Digits: U+17E0 to U+17E9 are a set of Khmer-specific digits. They are used in alternation with the European (common) digits.
Common Digits: U+0030 to U+0039 are the set of digits from the ASCII range.
Whole Label Evaluation (WLE) and Context Rules
Common Rules
The LGR includes the rules and actions to implement the following restrictions, some of which are mandated by the IDNA protocol. They are marked with ⍟ and included here by default.
- Hyphen Restrictions — restrictions on the allowable placement of hyphens (no leading/ending hyphen and no hyphen in positions 3 and 4). These restrictions are described in Section 4.2.3.1 of RFC 5891 [150]. They are implemented here as context rule on U+002D (-) HYPHEN-MINUS.
- Leading Combining Marks — restrictions on the allowable placement of combining marks (no leading combining mark). This rule is described in Section 4.2.3.2 of RFC 5891 [150].
- Digit-mixing — no mixing between different digit sets (European and Khmer digits) is allowed; implemented here as a WLE rule with associated action.
Default Actions
This LGR includes the complete set default actions for LGRs as well as the action needed to invalidate labels with misplaced combining marks. They are marked with ⍟. For a description see [RFC 7940] and [150]. An additional action is triggered by mixed digit labels.
Khmer-specific Rules and Action
Rules described in Section 7 of [Proposal-Khmer] constrain possible labels so that they reasonably conform to Khmer syllable structure. To augment these, a rule has been added to ensure subscript RO is always at the end of a syllable because many fonts render an out-of-order subscript RO without any visual distinction.
The majority of these constraints are expressed as context rules on the affected code points, except for the rules that enforce placement on subscript RO or the limit on the number of consecutive subscripted consonants.
For any rule that is not a pure context rule, a suitable action has been added that invalidates any label matching the rule.
The rules are:
- Subscript-consonant — A rule that matches an allowable consonant sequence. See Section 7.2 in [Proposal-Khmer]
- Subscript-consonant-limit — A whole-label rule that limits the occurrence of consecutive subscript-consonant to two. In case of three or more, the associate action gives the label the disposition invalid. See Section 7.3 in [Proposal-Khmer]
- Coeng after subscript Ro — A whole-label rule that ensures that subscript RO is not followed by further subscript consonants
- Coeng-context — A context rule for U+17D2 that requires a consonant before it and a consonant other than base-only after it. See Section 7.4 in [Proposal-Khmer]
- Follows-consonant-robat-shifter — A context rule for those code points that must follow a consonant, robat or shifter. See Section 7.5 in [Proposal-Khmer]
- Follows-series-two — A context rule for those code points that must follow series-two consonants. See Section 7.6 in [Proposal-Khmer]
- Follows-series-one — A context rule for those code points that must follow series-one consonants. See Section 7.7 in [Proposal-Khmer]
- Follows-consonant — A context rule for those code points that must always follow a consonant. See Section 7.8 in [Proposal-Khmer]
- Follows-consonant-shifter A context rule for those code points that must always follow a consonant or shifter. See Section 7.9 in [Proposal-Khmer]
- Follows-consonant-depvowel-1-shifter — A context rule for those code points that must follow consonant, shifter or dependent-vowel-1. See Section 7.10 in [Proposal-Khmer]
- Follows-consonant-depvowel-2-shifter — A context rule for those code points that must follow consonant, shifter or dependent-vowel-2. See Section 7.11 in [Proposal-Khmer]
- Follows-series-three — A context rule for those code points that must follow series-three consonants. See Section 7.12 in [Proposal-Khmer]
- Follows-consonant-or-vowel-i — A context rule for those code points that must follow a consonant or U+17B7 KHMER VOWEL SIGN I. See Section 7.13 in [Proposal-Khmer]
Methodology and Contributors
The LGR in this document has been adapted from the corresponding Reference LGR for the Second Level. The Second Level Reference LGR for the Khmer Script was developed by Michel Suignard and Asmus Freytag, based on the Root Zone LGR for the Khmer script and information contained or referenced therein; see [RZ-LGR-Khmr]. Suitable extensions for the second level have been applied according to the [Guidelines] and with community input. The original proposal for a Root Zone LGR for the Khmer script, that this LGR is based on, was developed by the Khmer Generation Panel. For more information on methodology and contributors to the underlying Root Zone LGR, see Sections 4 and 8 in [Proposal-Khmer], as well as [RZ-LGR-Overview].
Changes from Version Dated 15 December 2020
Unicode Version has been updated.
Added WLE rule and action to ensure subscript RO only occurs at end of a syllable because many fonts will not render an incorrectly placed one, which is a security risk. This may affect the validity of labels if they contain a misplaced subscript RO.
Changes from Version Dated 25 October 2024
Adopted from the Second Level Reference LGR for the Khmer Script [Ref-LGR-und-Khmr] without normative changes.
References
The following general references are cited in this document:
- [Guidelines]
- ICANN, “Guidelines for Developing Reference LGRs for the Second Level”, (Los Angeles, California: ICANN, 27 May 2020), https://www.icann.org/en/system/files/files/lgr-guidelines-second-level-27may20-en.pdf
- [Level-2-Overview]
- Internet Corporation for Assigned Names and Numbers, (ICANN),“Reference Label Generation Rules (LGR) for the Second Level: Overview and Summary” (PDF), (Los Angeles, California: ICANN, 25 October 2024), https://www.icann.org/en/system/files/files/level2-lgr-overview-summary-25oct24-en.pdf
- [Proposal-Khmer]
- Proposal for Khmer Script Root Zone LGR, 15 August 2016, https://www.icann.org/en/system/files/files/proposal-khmer-lgr-15aug16-en.pdf
- [RFC 7940]
- Davies, K. and A. Freytag, “Representing Label Generation Rulesets Using XML”, RFC 7940, August 2016, https://www.rfc-editor.org/info/rfc7940
- [RFC 8228]
- A. Freytag, “Guidance on Designing Label Generation Rulesets (LGRs) Supporting Variant Labels”, RFC 8228, August 2017, https://www.rfc-editor.org/info/rfc8228
- [Ref-LGR-und-Khmr]
- ICANN, Second Level Reference Label Generation Rules for the Khmer Script (und-Khmr), 25 October 2024 (XML) https://www.icann.org/sites/default/files/packages/lgr/lgr-second-level-khmer-script-25oct24-en.xml non-normative HTML presentation: https://www.icann.org/sites/default/files/packages/lgr/lgr-second-level-khmer-script-25oct24-en.html
- [RZ-LGR-Overview]
- Integration Panel, “Root Zone Label Generation Rules (RZ LGR-5): Overview and Summary”, 26 May 2022 (PDF), https://www.icann.org/sites/default/files/lgr/rz-lgr-5-overview-26may22-en.pdf
- [RZ-LGR-Khmr]
- ICANN, Root Zone Label Generation Rules for the Khmer Script (und-Khmr), 26 May 2022 (XML) https://www.icann.org/sites/default/files/lgr/rz-lgr-5-khmer-script-26may22-en.xml
- [Unicode 11.0.0]
- The Unicode Consortium. The Unicode Standard, Version 11.0.0, (Mountain View, CA: The Unicode Consortium, 2018. ISBN 978-1-936213-19-1) https://www.unicode.org/versions/Unicode11.0.0/
For references consulted particularly in designing the repertoire for the Khmer Script for the second level please see details in the Table of References below.
Reference [3] refers to the Unicode Standard version in which the corresponding code points were initially encoded. References [100], [203], [204], [205], [206], [207], [208], [209] & [210] correspond to sources justifying the inclusion of or classification for the corresponding code points. Entries in the table may have multiple source reference values. In the listing of whole label evaluation and context rules, reference [150] indicates the source for common rules.
Repertoire
| Glyph | Code point | Tags and context | Variants |
|---|---|---|---|
| - | U+002D HYPHEN-MINUS 0 HYPHEN-MINUS; |
|
|
| 0 | U+0030 DIGIT ZERO 0 DIGIT ZERO; |
|
០
U+17E0
blocked
Khmer digit variant
|
| 1 | U+0031 DIGIT ONE 0 DIGIT ONE; |
|
១
U+17E1
blocked
Khmer digit variant
|
| 2 | U+0032 DIGIT TWO 0 DIGIT TWO; |
|
២
U+17E2
blocked
Khmer digit variant
|
| 3 | U+0033 DIGIT THREE 0 DIGIT THREE; |
|
៣
U+17E3
blocked
Khmer digit variant
|
| 4 | U+0034 DIGIT FOUR 0 DIGIT FOUR; |
|
៤
U+17E4
blocked
Khmer digit variant
|
| 5 | U+0035 DIGIT FIVE 0 DIGIT FIVE; |
|
៥
U+17E5
blocked
Khmer digit variant
|
| 6 | U+0036 DIGIT SIX 0 DIGIT SIX; |
|
៦
U+17E6
blocked
Khmer digit variant
|
| 7 | U+0037 DIGIT SEVEN 0 DIGIT SEVEN; |
|
៧
U+17E7
blocked
Khmer digit variant
|
| 8 | U+0038 DIGIT EIGHT 0 DIGIT EIGHT; |
|
៨
U+17E8
blocked
Khmer digit variant
|
| 9 | U+0039 DIGIT NINE 0 DIGIT NINE; |
|
៩
U+17E9
blocked
Khmer digit variant
|
| ក | U+1780 KHMER LETTER KA 3 203 205 Khmer |
|
|
| ខ | U+1781 KHMER LETTER KHA 3 203 Khmer |
|
|
| គ | U+1782 KHMER LETTER KO 3 203 Khmer |
|
|
| ឃ | U+1783 KHMER LETTER KHO 3 203 Khmer |
|
|
| ង | U+1784 KHMER LETTER NGO 3 203 205 210 Khmer |
|
|
| ច | U+1785 KHMER LETTER CA 3 203 205 Khmer |
|
|
| ឆ | U+1786 KHMER LETTER CHA 3 203 Khmer |
|
|
| ជ | U+1787 KHMER LETTER CO 3 203 Khmer |
|
|
| ឈ | U+1788 KHMER LETTER CHO 3 203 Khmer |
|
|
| ញ | U+1789 KHMER LETTER NYO 3 203 205 210 Khmer |
|
|
| ដ | U+178A KHMER LETTER DA 3 203 Khmer |
|
|
| ឋ | U+178B KHMER LETTER TTHA 3 203 Khmer |
|
|
| ឌ | U+178C KHMER LETTER DO 3 203 Khmer |
|
|
| ឍ | U+178D KHMER LETTER TTHO 3 203 Khmer |
|
|
| ណ | U+178E KHMER LETTER NNO 3 203 Khmer |
|
|
| ត | U+178F KHMER LETTER TA 3 203 205 Khmer |
|
|
| ថ | U+1790 KHMER LETTER THA 3 203 Khmer |
|
|
| ទ | U+1791 KHMER LETTER TO 3 203 Khmer |
|
|
| ធ | U+1792 KHMER LETTER THO 3 203 Khmer |
|
|
| ន | U+1793 KHMER LETTER NO 3 203 205 Khmer |
|
|
| ប | U+1794 KHMER LETTER BA 3 203 205 210 Khmer |
|
|
| ផ | U+1795 KHMER LETTER PHA 3 203 Khmer |
|
|
| ព | U+1796 KHMER LETTER PO 3 203 Khmer |
|
|
| ភ | U+1797 KHMER LETTER PHO 3 203 Khmer |
|
|
| ម | U+1798 KHMER LETTER MO 3 203 210 Khmer |
|
|
| យ | U+1799 KHMER LETTER YO 3 203 210 Khmer |
|
|
| រ | U+179A KHMER LETTER RO 3 203 210 Khmer |
|
|
| ល | U+179B KHMER LETTER LO 3 203 205 Khmer |
|
|
| វ | U+179C KHMER LETTER VO 3 203 210 Khmer |
|
|
| ស | U+179F KHMER LETTER SA 3 203 205 210 Khmer |
|
|
| ហ | U+17A0 KHMER LETTER HA 3 203 210 Khmer |
|
|
| ឡ | U+17A1 KHMER LETTER LA 3 203 Khmer |
|
|
| អ | U+17A2 KHMER LETTER QA 3 203 210 Khmer |
|
|
| ឥ | U+17A5 KHMER INDEPENDENT VOWEL QI 3 206 Khmer |
|
|
| ឦ | U+17A6 KHMER INDEPENDENT VOWEL QII 3 206 Khmer |
|
|
| ឧ | U+17A7 KHMER INDEPENDENT VOWEL QU 3 206 Khmer |
|
|
| ឪ | U+17AA KHMER INDEPENDENT VOWEL QUUV 3 206 Khmer |
|
|
| ឫ | U+17AB KHMER INDEPENDENT VOWEL RY 3 206 Khmer |
|
|
| ឬ | U+17AC KHMER INDEPENDENT VOWEL RYY 3 206 Khmer |
|
|
| ឭ | U+17AD KHMER INDEPENDENT VOWEL LY 3 206 Khmer |
|
|
| ឮ | U+17AE KHMER INDEPENDENT VOWEL LYY 3 206 Khmer |
|
|
| ឯ | U+17AF KHMER INDEPENDENT VOWEL QE 3 206 Khmer |
|
|
| ឰ | U+17B0 KHMER INDEPENDENT VOWEL QAI 3 206 Khmer |
|
|
| ឱ | U+17B1 KHMER INDEPENDENT VOWEL QOO TYPE ONE 3 206 Khmer |
|
|
| ឳ | U+17B3 KHMER INDEPENDENT VOWEL QAU 3 206 Khmer |
|
|
| ា | U+17B6 KHMER VOWEL SIGN AA 3 204 Khmer |
|
|
| ិ | U+17B7 KHMER VOWEL SIGN I 3 204 Khmer |
|
|
| ី | U+17B8 KHMER VOWEL SIGN II 3 204 Khmer |
|
|
| ឹ | U+17B9 KHMER VOWEL SIGN Y 3 204 Khmer |
|
|
| ឺ | U+17BA KHMER VOWEL SIGN YY 3 204 Khmer |
|
|
| ុ | U+17BB KHMER VOWEL SIGN U 3 204 Khmer |
|
|
| ូ | U+17BC KHMER VOWEL SIGN UU 3 204 Khmer |
|
|
| ួ | U+17BD KHMER VOWEL SIGN UA 3 204 Khmer |
|
|
| ើ | U+17BE KHMER VOWEL SIGN OE 3 204 Khmer |
|
|
| ឿ | U+17BF KHMER VOWEL SIGN YA 3 204 Khmer |
|
|
| ៀ | U+17C0 KHMER VOWEL SIGN IE 3 204 Khmer |
|
|
| េ | U+17C1 KHMER VOWEL SIGN E 3 204 Khmer |
|
|
| ែ | U+17C2 KHMER VOWEL SIGN AE 3 204 Khmer |
|
|
| ៃ | U+17C3 KHMER VOWEL SIGN AI 3 204 Khmer |
|
|
| ោ | U+17C4 KHMER VOWEL SIGN OO 3 204 Khmer |
|
|
| ៅ | U+17C5 KHMER VOWEL SIGN AU 3 204 Khmer |
|
|
| ំ | U+17C6 KHMER SIGN NIKAHIT 3 204 Khmer |
|
|
| ះ | U+17C7 KHMER SIGN REAHMUK 3 208 Khmer |
|
|
| ៈ | U+17C8 KHMER SIGN YUUKALEAPINTU 3 207 208 209 Khmer |
|
|
| ៉ | U+17C9 KHMER SIGN MUUSIKATOAN 3 207 208 209 210 Khmer |
|
|
| ៊ | U+17CA KHMER SIGN TRIISAP 3 207 208 209 210 Khmer |
|
|
| ់ | U+17CB KHMER SIGN BANTOC 3 205 207 208 209 Khmer |
|
|
| ៌ | U+17CC KHMER SIGN ROBAT 3 207 208 209 Khmer |
|
|
| ៍ | U+17CD KHMER SIGN TOANDAKHIAT 3 207 208 209 Khmer |
|
|
| ័ | U+17D0 KHMER SIGN SAMYOK SANNYA 3 207 208 209 Khmer |
|
|
| ្ | U+17D2 KHMER SIGN COENG 3 100 Khmer |
|
|
| ្ដ | U+17D2U+178A sequence of 2 KHMER SIGN COENG + KHMER LETTER DA 3 KHMER CONSONANT SIGN COENG DA; Khmer |
|
្ត
U+17D2 + U+178F
blocked
Khmer subscript form homoglyph
|
| ្ត | U+17D2U+178F sequence of 2 KHMER SIGN COENG + KHMER LETTER TA 3 KHMER CONSONANT SIGN COENG TA; Khmer |
|
្ដ
U+17D2 + U+178A
blocked
Khmer subscript form homoglyph
|
| ០ | U+17E0 KHMER DIGIT ZERO 3 KHMER DIGIT ZERO |
|
0
U+0030
blocked
ASCII digit variant
|
| ១ | U+17E1 KHMER DIGIT ONE 3 KHMER DIGIT ONE |
|
1
U+0031
blocked
ASCII digit variant
|
| ២ | U+17E2 KHMER DIGIT TWO 3 KHMER DIGIT TWO |
|
2
U+0032
blocked
ASCII digit variant
|
| ៣ | U+17E3 KHMER DIGIT THREE 3 KHMER DIGIT THREE |
|
3
U+0033
blocked
ASCII digit variant
|
| ៤ | U+17E4 KHMER DIGIT FOUR 3 KHMER DIGIT FOUR |
|
4
U+0034
blocked
ASCII digit variant
|
| ៥ | U+17E5 KHMER DIGIT FIVE 3 KHMER DIGIT FIVE |
|
5
U+0035
blocked
ASCII digit variant
|
| ៦ | U+17E6 KHMER DIGIT SIX 3 KHMER DIGIT SIX |
|
6
U+0036
blocked
ASCII digit variant
|
| ៧ | U+17E7 KHMER DIGIT SEVEN 3 KHMER DIGIT SEVEN |
|
7
U+0037
blocked
ASCII digit variant
|
| ៨ | U+17E8 KHMER DIGIT EIGHT 3 KHMER DIGIT EIGHT |
|
8
U+0038
blocked
ASCII digit variant
|
| ៩ | U+17E9 KHMER DIGIT NINE 3 KHMER DIGIT NINE |
|
9
U+0039
blocked
ASCII digit variant
|
Variants
Code points grouped into sets of mutual variants. Every member of a set produces the same set of variant labels, so a registration of one has implications for all the others. Sets of a single member are omitted, as are the identity mappings RFC 7940 requires each member to declare.
-
្ដ្ត
Source Direction Target Disposition Ref Comment ្ដ U+17D2 + U+178A ↔ ្ត U+17D2 + U+178F blocked Khmer subscript form homoglyph ↔ declared both ways ⇆ both ways, different disposition each way → one direction only
Character classes
Named sets of code points that the rules below refer to.
| Name | Definition |
|---|---|
consonant |
{tag consonant}
Any Khmer consonant
|
consonant-but-not-base-only |
({consonant} ∖ {tag base-only})
Any Khmer consonant that is not base-only
|
dependent-vowel-1 |
{tag dependent-vowel-1}
Dependent Khmer vowels used with NIKAHIT
|
dependent-vowel-2 |
{tag dependent-vowel-2}
Dependent Khmer vowels used with REAHMUK
|
dependent-vowel-3 |
{tag dependent-vowel-3}
Dependent Khmer vowel used with TOANDAKHIAT
|
robat |
{tag robat}
Khmer ROBAT
|
series-one |
{tag series-one}
Khmer consonants used with MUUSIKATOAN
|
series-three |
{tag series-three}
Khmer consonants used with BANTOC
|
series-two |
{tag series-two}
Khmer consonants used with TRIISAP
|
shifter |
{tag shifter}
Any Khmer shifter (MUUSIKATOAN or TRIISAP)
|
common-digits |
{tag Common-digit}
Digits from the ASCII range MSR default
|
khmer-digits |
{tag Khmer-digit}
Khmer digits
|
Rules
Conditions evaluated against a whole label, or against the context around a
single code point. The notation borrows from regular expressions:
^ and $ anchor to the start and end of a label,
. matches any code point, (?= ) and
(?<= ) look ahead and behind, and * and
+ repeat. Two symbols are specific to rulesets:
◆ is the code point being tested, and
⟨name⟩ refers to another rule.
leading-combining-mark MSR default 150
RFC 5891 restrictions on placement of combining marks
^ ({gc:Mn} ∪ {gc:Mc})
Structure
-
^start -
({gc:Mn} ∪ {gc:Mc})union-
{gc:Mn}class -
{gc:Mc}class
-
Referenced by 1 definition
- action 1 (invalid)
hyphen-minus-disallowed MSR default 150
RFC 5891 restrictions on placement of U+002D HYPHEN-MINUS
( ( (?<= ^ ) ◆ ) │ ( ◆ (?= $ ) ) │ ( (?<= ^ . . U+002D ) ◆ ) )
Structure
-
( ( (?<= ^ ) ◆ ) │ ( ◆ (?= $ ) ) │ ( (?<= ^ . . U+002D ) ◆ ) )choice-
(?<= ^ ) ◆rule-
(?<= ^ )look-behind-
^start
-
-
◆anchor
-
-
◆ (?= $ )rule-
◆anchor -
(?= $ )look-ahead-
$end
-
-
-
(?<= ^ . . U+002D ) ◆rule-
(?<= ^ . . U+002D )look-behind-
^start -
.any -
.any -
U+002Dchar
-
-
◆anchor
-
-
Referenced by 1 definition
- negative context of U+002D
subscript-consonant
WLE Rule 2: allowable subscript consonant sequence
U+17D2 {consonant-but-not-base-only}
Referenced by 1 definition
- rule subscript-consonant-limit
subscript-consonant-limit
WLE Rule 3: more than two subscript consonants
⟨subscript-consonant⟩{3}
Referenced by 1 definition
- action 4 (invalid)
coeng-after-subscript-ro
subscript RO must be last in a syllable
U+17D2 U+179A U+17D2
Referenced by 1 definition
- action 5 (invalid)
coeng-context
WLE Rule 4: checks for U+17D2 and its surrounding code points
(?<= {consonant} ) ◆ (?= {consonant-but-not-base-only} )
Structure
-
(?<= {consonant} )look-behind-
{consonant}class
-
-
◆anchor -
(?= {consonant-but-not-base-only} )look-ahead-
{consonant-but-not-base-only}class
-
Referenced by 1 definition
- context of U+17D2
follows-consonant-robat-shifter
WLE Rule 5: makes sure that dependent vowel follows a consonant or a shifter or a robat
(?<= ( {shifter} │ {consonant} │ {robat} ) ) ◆
Structure
-
(?<= ( {shifter} │ {consonant} │ {robat} ) )look-behind-
( {shifter} │ {consonant} │ {robat} )choice-
{shifter}class -
{consonant}class -
{robat}class
-
-
-
◆anchor
Referenced by 16 definitions
- context of U+17B6
- context of U+17B7
- context of U+17B8
- context of U+17B9
- context of U+17BA
- context of U+17BB
- context of U+17BC
- context of U+17BD
- context of U+17BE
- context of U+17BF
- context of U+17C0
- context of U+17C1
follows-series-two
WLE Rule 6: checks sequence for shifter U+17C9 MUUSIKATOAN
(?<= {series-two} ) ◆
Structure
-
(?<= {series-two} )look-behind-
{series-two}class
-
-
◆anchor
Referenced by 1 definition
- context of U+17C9
follows-series-one
WLE Rule 7: checks sequence for shifter U+17CA TRIISAP
(?<= {series-one} ) ◆
Structure
-
(?<= {series-one} )look-behind-
{series-one}class
-
-
◆anchor
Referenced by 1 definition
- context of U+17CA
follows-consonant
WLE Rule 8: checks if sign code point or subscript consonant follows a consonant
(?<= {consonant} ) ◆
Structure
-
(?<= {consonant} )look-behind-
{consonant}class
-
-
◆anchor
Referenced by 4 definitions
- context of U+17C8
- context of U+17CC
- context of U+17D2 U+178A
- context of U+17D2 U+178F
follows-consonant-shifter
WLE Rule 9: checks if U+17D0 KHMER SIGN SAMYOKSANNYA follows a consonant or a shifter
(?<= ( {consonant} │ {shifter} ) ) ◆
Structure
-
(?<= ( {consonant} │ {shifter} ) )look-behind-
( {consonant} │ {shifter} )choice-
{consonant}class -
{shifter}class
-
-
-
◆anchor
Referenced by 1 definition
- context of U+17D0
follows-consonant-depvowel-1-shifter
WLE Rule 10: checks if U+17C6 KHMER SIGN NIKAHIT follows a consonant or a dependent vowel-1 or a shifter
(?<= ( {consonant} │ {dependent-vowel-1} │ {shifter} ) ) ◆
Structure
-
(?<= ( {consonant} │ {dependent-vowel-1} │ {shifter} ) )look-behind-
( {consonant} │ {dependent-vowel-1} │ {shifter} )choice-
{consonant}class -
{dependent-vowel-1}class -
{shifter}class
-
-
-
◆anchor
Referenced by 1 definition
- context of U+17C6
follows-consonant-depvowel-2-shifter
WLE Rule 11: checks if U+17C7 KHMER SIGN REAHMUK follows a consonant or a dependent vowel-2 or a shifter
(?<= ( {consonant} │ {dependent-vowel-2} │ {shifter} ) ) ◆
Structure
-
(?<= ( {consonant} │ {dependent-vowel-2} │ {shifter} ) )look-behind-
( {consonant} │ {dependent-vowel-2} │ {shifter} )choice-
{consonant}class -
{dependent-vowel-2}class -
{shifter}class
-
-
-
◆anchor
Referenced by 1 definition
- context of U+17C7
follows-series-three
WLE Rule 12: checks if U+17CB KHMER SIGN BANTOC code point follows a series-three consonant
(?<= {series-three} ) ◆
Structure
-
(?<= {series-three} )look-behind-
{series-three}class
-
-
◆anchor
Referenced by 1 definition
- context of U+17CB
follows-consonant-or-vowel-i
WLE Rule 13: checks if U+17CD KHMER SIGN TOANDAKHIAT follows a consonant or U+17B7 KHMER VOWEL SIGN I (Dependent-vowel-3)
(?<= {consonant} {dependent-vowel-3}{0:1} ) ◆
Structure
-
(?<= {consonant} {dependent-vowel-3}{0:1} )look-behind-
{consonant}class -
{dependent-vowel-3}{0:1}class
-
-
◆anchor
Referenced by 1 definition
- context of U+17CD
digit-mixing
restrictions on mixing digits
( ( {common-digits} .* {khmer-digits} ) │ ( {khmer-digits} .* {common-digits} ) )
Structure
-
( ( {common-digits} .* {khmer-digits} ) │ ( {khmer-digits} .* {common-digits} ) )choice-
{common-digits} .* {khmer-digits}rule-
{common-digits}class -
.*any -
{khmer-digits}class
-
-
{khmer-digits} .* {common-digits}rule-
{khmer-digits}class -
.*any -
{common-digits}class
-
-
Referenced by 1 definition
- action 2 (invalid)
Actions
Actions are evaluated in the order shown. The first action whose conditions match determines the disposition of the label.
| # | Disposition | Conditions |
|---|---|---|
| 1 |
invalid
|
label matches leading-combining-mark 150 labels with leading combining marks are invalid MSR default |
| 2 |
invalid
|
label matches digit-mixing a label violating the restriction on digit mixing is invalid |
| 3 |
invalid
|
any variant is out-of-repertoire-var any variant label with a code point out of repertoire is invalid MSR default |
| 4 |
invalid
|
label matches subscript-consonant-limit any label with more than two subscript consonants in a row is invalid |
| 5 |
invalid
|
label matches coeng-after-subscript-ro subscript RO must be last in syllable |
| 6 |
blocked
|
any variant is blocked any variant label containing blocked variants is blocked MSR default |
| 7 |
allocatable
|
all variants are allocatable variant labels with all variants allocatable are allocatable MSR default |
| 8 |
valid
|
any label default catch all (default action) MSR default |
References
| Ref | Source |
|---|---|
| 0 | The Unicode Standard, Version 1.1 |
| 3 | The Unicode Standard, Version 3.1 |
| 100 | The Unicode Consortium. The Unicode Standard, Version 8.0.0, (Mountain View, CA: The Unicode Consortium, 2015. ISBN 978-1-936213-10-8), Chapter 16: Southeast Asia, Section 16.4: Khmer, https://www.unicode.org/versions/Unicode8.0.0/ch16.pdf |
| 203 | PRIMARY SCHOOL GRADE 1, MOEYS, ISBN 9-789-995-001-674, Publication 2015, Figure 1 |
| 204 | PRIMARY SCHOOL GRADE 1, MOEYS, ISBN 9-789-995-001-674, Publication 2015, Figure 2 |
| 205 | Dr. Prum Mol (Khmer Linguist), Grammar of Modern Khmer Language, Linguist of National Institute of Language, Royal Academy of Cambodia, 2006, page 37 Bantoc sign section starts towards the bottom of the page, page 38 list the context of the Bantoc sign |
| 206 | PRIMARY SCHOOL GRADE 1, MOEYS, ISBN 9-789-995-001-674, Publication 2015, Figure 6 |
| 207 | PRIMARY SCHOOL GRADE 1, MOEYS, ISBN 9-789-995-001-674, Publication 2015, Figure 7 |
| 208 | PRIMARY SCHOOL GRADE 1, MOEYS, ISBN 9-789-995-001-674, Publication 2015, Figure 8 |
| 209 | PRIMARY SCHOOL GRADE 1, MOEYS, ISBN 9-789-995-001-674, Publication 2015, Figure 9 |
| 210 | Franklin E. Huffman, Cambodian System of Writing and Beginning Reader, Yale University, 1970, reprinted 1987 |
| 150 | RFC 5891, Internationalized Domain Names in Applications (IDNA): Protocol https://tools.ietf.org/html/rfc5891 |