Reference LGR for language: Korean (ko-Hang+ko-Latn) | lgr-second-level-korean-hangul-language-18may21-en |
---|
This document is mechanically formatted from the above XML file for the LGR. It provides additional summary data and explanatory text. The XML file remains the sole normative specification of the LGR.
Date | 2021-05-18 |
---|---|
LGR Version | 2 (Second Level Reference LGR) |
Language | ko-Hang (Korean Language) |
Language | ko-Latn (Korean Language) |
Unicode Version | 6.3.0 |
This file specifies a reference set of Label Generation Rules for Korean using a limited repertoire as appropriate for a second level domain.
All references converge on the 26 basic ASCII Latin letters (a to z) and the 11,172 Hangul syllables contained in Unicode since version 2.0. These Hangul Syllables are sometimes called Johab, the name originating from the initial standard in which they were defined: KSC C 5601-1992 , and the encoding in which they were represented in that standard. One part of that standard also defines a subset (known as Wansung) which consists of 2,350 Hangul syllables. KSC C5601-1992 later became KS X 1001:2004.
The text in [700] recommends to only use the 2,350 Wansung code points, but given the large deployment of platforms supporting the full Johab repertoire, this recommendation is considered unnecessary in the context of this LGR.
There is no established practice of allowing Korean ideographs (Hanja) derived from China ideographs (Hanzi) in IDNA labels. Hanja characters are rarely used in Korea (North or South). Therefore it does not seem necessary to add them in a 2nd level reference LGR at this point.
Unlike many other non-Latin 2nd level reference LGRs, the Korean LGR includes the basic ASCII Latin set (a to z) because it is common practice in Korean text to mix Hangul and ASCII. Therefore it does not create confusability or additional security risks in the context of a second level LGR for the Korean language. It is also supported by current IDNA practice, see [700].
None.
None.
None.
This LGR defines no named character classes.
Default rules:
Hyphen Restrictions (no leading/ending hyphen and no hyphen in 3-4 position). These restrictions are
described in section 4.2.3.1 of RFC5891:
http://tools.ietf.org/html/rfc5891.
They are implemented here as context
rule on U+002D (-).
Leading Combining Marks (no leading combining mark). This rule is
described in section 4.2.3.2 of RFC5891:
http://tools.ietf.org/html/rfc5891.
Actions included are the default actions for LGRs as well as those needed to invalidate labels with misplaced combining marks.
This reference LGR for Korean for the 2nd Level has been developed by Michel Suignard and Asmus Freytag, verified in expert reviews by Lu Qin and Wil Tan, and based on multiple open public consultations.
Language tags have been updated.
General references for the language:
Wikipedia: "Korean language",
https://en.wikipedia.org/wiki/Korean_language
Omniglot: Korean
http://www.omniglot.com/writing/korean.htm
In the listing of the repertoire by code point, references starting from [0] refer to the version of the Unicode Standard in which the corresponding code point was initially encoded. Other references (starting from [100]) document usage of code points. For more details, see the Table of References below.
Number of elements in repertoire | 11209 | ||||||
---|---|---|---|---|---|---|---|
Number of code points for each script |
|
||||||
Longest code point sequence | 1 |
The following table lists the repertoire by code point (or code point sequence). The data in the Script and Name column are extracted from the Unicode character database. Where a comment in the original LGR is equal to the character name, it has been suppressed.
See also the legend provided below the table.
Code Point |
Glyph | Script | Name | Ref | Required Context | Comment |
---|---|---|---|---|---|---|
U+002D | - | Common | HYPHEN-MINUS | [0] | not: hyphen-minus-disallowed | |
U+0030 | 0 | Common | DIGIT ZERO | [0] | ||
U+0031 | 1 | Common | DIGIT ONE | [0] | ||
U+0032 | 2 | Common | DIGIT TWO | [0] | ||
U+0033 | 3 | Common | DIGIT THREE | [0] | ||
U+0034 | 4 | Common | DIGIT FOUR | [0] | ||
U+0035 | 5 | Common | DIGIT FIVE | [0] | ||
U+0036 | 6 | Common | DIGIT SIX | [0] | ||
U+0037 | 7 | Common | DIGIT SEVEN | [0] | ||
U+0038 | 8 | Common | DIGIT EIGHT | [0] | ||
U+0039 | 9 | Common | DIGIT NINE | [0] | ||
U+0061 | a | Latin | LATIN SMALL LETTER A | [0], [100], [700] | ||
U+0062 | b | Latin | LATIN SMALL LETTER B | [0], [100], [700] | ||
U+0063 | c | Latin | LATIN SMALL LETTER C | [0], [100], [700] | ||
U+0064 | d | Latin | LATIN SMALL LETTER D | [0], [100], [700] | ||
U+0065 | e | Latin | LATIN SMALL LETTER E | [0], [100], [700] | ||
U+0066 | f | Latin | LATIN SMALL LETTER F | [0], [100], [700] | ||
U+0067 | g | Latin | LATIN SMALL LETTER G | [0], [100], [700] | ||
U+0068 | h | Latin | LATIN SMALL LETTER H | [0], [100], [700] | ||
U+0069 | i | Latin | LATIN SMALL LETTER I | [0], [100], [700] | ||
U+006A | j | Latin | LATIN SMALL LETTER J | [0], [100], [700] | ||
U+006B | k | Latin | LATIN SMALL LETTER K | [0], [100], [700] | ||
U+006C | l | Latin | LATIN SMALL LETTER L | [0], [100], [700] | ||
U+006D | m | Latin | LATIN SMALL LETTER M | [0], [100], [700] | ||
U+006E | n | Latin | LATIN SMALL LETTER N | [0], [100], [700] | ||
U+006F | o | Latin | LATIN SMALL LETTER O | [0], [100], [700] | ||
U+0070 | p | Latin | LATIN SMALL LETTER P | [0], [100], [700] | ||
U+0071 | q | Latin | LATIN SMALL LETTER Q | [0], [100], [700] | ||
U+0072 | r | Latin | LATIN SMALL LETTER R | [0], [100], [700] | ||
U+0073 | s | Latin | LATIN SMALL LETTER S | [0], [100], [700] | ||
U+0074 | t | Latin | LATIN SMALL LETTER T | [0], [100], [700] | ||
U+0075 | u | Latin | LATIN SMALL LETTER U | [0], [100], [700] | ||
U+0076 | v | Latin | LATIN SMALL LETTER V | [0], [100], [700] | ||
U+0077 | w | Latin | LATIN SMALL LETTER W | [0], [100], [700] | ||
U+0078 | x | Latin | LATIN SMALL LETTER X | [0], [100], [700] | ||
U+0079 | y | Latin | LATIN SMALL LETTER Y | [0], [100], [700] | ||
U+007A | z | Latin | LATIN SMALL LETTER Z | [0], [100], [700] | ||
U+AC00..U+D7A3 [11172] | 가..힣 | Hangul | HANGUL SYLLABLE GA..HANGUL SYLLABLE HIH | [1], [100], [110], [401], [700] |
This LGR does not specify any variants.
The following table lists all named and implicit classes with their definition and a list of their members intersected with the current repertoire (for larger classes, this list is elided).
Name | Definition | Count | Members or Ranges | Ref | Comment |
---|---|---|---|---|---|
implicit | Tag=sc:Hang | 11172 | {AC00-D7A3} | Any character tagged as Hangul | |
implicit | Tag=sc:Latn | 26 | {0061-007A} | Any character tagged as Latin | |
implicit | Tag=sc:Zyyy | 11 | {002D 0030-0039} | Any character tagged as Common |
The following table lists all named rules defined in the LGR and indicates whether they are used as trigger in an action or as context (when or not-when) for a code point or variant.
Name | Regular Expression | Used as Trigger |
Anchor | Used as Context |
Ref | Comment |
---|---|---|---|---|---|---|
leading-combining-mark | (start)[∅=[[∅=\p{gc=Mn}] ∪ [∅=\p{gc=Mc}]]] |
✔ | [120] | RFC5891 restrictions on placement of combining marks | ||
hyphen-minus-disallowed | (((start))← ⚓︎)|(⚓︎ →((end)))|(((start)..\u002D)← ⚓︎) |
✔ | C | [120] | RFC5891 restrictions on placement of U+002D (-) | |
extended-cp | (start)(end) |
code points from the extended range |
Note: The following rules are defined but not used in this LGR: extended-cp.
The following table lists the actions that are used to assign dispositions to labels and variant labels based on the specified conditions. The order of actions defines their precedence: the first action triggered by a label is the one defining its disposition.
# | Condition | Rule / Variant Set | Disposition | Ref | Comment | |
---|---|---|---|---|---|---|
1 | if label matches | leading-combining-mark | → | invalid | by default, labels with leading combining marks are invalid | |
2 | if any label (catch-all) | → | valid | catch all (default action) |
The following lists the references cited for specific code points, variants, classes, rules or actions in this LGR.
[0] | The Unicode Consortium. The Unicode Standard, Version 6.3.0, (Mountain View, CA: The Unicode Consortium, 2013. ISBN 978-1-936213-08-5) Any code point cited was originally encoded in Unicode Version 1.1 |
[1] | The Unicode Consortium. The Unicode Standard, Version 6.3.0, (Mountain View, CA: The Unicode Consortium, 2013. ISBN 978-1-936213-08-5) Any code point cited was originally encoded in Unicode Version 2.0 |
[100] | Internetstiftelsen i Sverige (IIS), Korean https://github.com/dotse/IDN-ref-tables/blob/master/language-tables/korean-lang-ref-table.txt |
[110] | KS X 1001:2004, Code for Information Interchange (Hangueul and Hanja) |
[120] | RFC5891, Internationalized Domain Names in Applications (IDNA): Protocol http://tools.ietf.org/html/rfc5891 |
[401] | The Unicode Consortium, Common Locale Data Repository.- CLDR Version 28 (2015-09-16)- Locale Data Summary for Korean [ko]- http://www.unicode.org/cldr/charts/28/summary/ko.html Code points cited are from the set of Main Letters |
[700] | KRNIC (.kr cctld Korean Register) https://www.iana.org/domains/idn-tables/tables/kr_ko-kr_1.0.html |