KS X 1001
This article includes a list of references, related reading, or external links, but its sources remain unclear because it lacks inline citations. (November 2017) |
MIME / IANA | ks_c_5601-1987 |
---|---|
Alias(es) | KS C 5601 |
Language(s) | Korean, English, Russian Partial support: Greek, Japanese |
Standard | KS X 1001 |
Classification | ISO-2022-compatible DBCS, CJK encoding |
Encoding formats | EUC-KR, ISO 2022, UHC, Johab |
Preceded by | N-byte Hangul code (KS C 5601-1974) |
Other related encoding(s) | KPS 9566, JIS X 0208, GB 2312 |
KS X 1001, "Code for Information Interchange (Hangul and Hanja)",[a][1] formerly called KS C 5601, is a South Korean coded character set standard to represent hangul and hanja characters on a computer.
KS X 1001 is encoded by the most common legacy (pre-Unicode) character encodings for Korean, including EUC-KR and Microsoft's Unified Hangul Code (UHC). It contains Korean Hangul syllables, CJK ideographs (Hanja), Greek, Cyrillic, Japanese (Hiragana and Katakana) and some other characters.
KS X 1001 is arranged as a 94×94 table, following the structure of 2-byte code words in ISO 2022 and EUC. Therefore, its code points are pairs of integers 1–94. However, some encodings (UHC and Johab), in addition to providing codes for every code point, provide additional codes for characters otherwise representable only as code point sequences.
History
This standard was previously known as KS C 5601. There have been several revisions of this standard. For example, there were revisions in 1987, 1992, 1998 and 2002.
The present, double-byte, Wansung (완성, Wanseong, 'precomposing')[1] character set was standardised by the third edition of KS C 5601,[2] which was published in 1986.[3] It is an ISO 2022 compatible encoding, typically used in EUC form, which assigns double-byte codes for non-Hangul, Hangul jamo, and the most common Hangul syllables, in contrast to Johab (조합, Johap, 'combining')[1] which assigns double-byte codes to all Hangul syllables using modern jamo. Wansung is technically a variable-length encoding, allowing other syllables to be represented with eight-byte sequences (using the jamo and Hangul Filler character), but this feature is not always implemented.[4]
The earliest edition of KS C 5601, published in 1974,[2] defined a variable-length[2] 7-bit character set which assigned single-byte code points to 51[3] basic Hangul jamo, somewhat analogously to JIS C 6220, in an encoding known as "N-byte Hangul".[5] The second edition, published in 1982, retained the main character set from the 1974 edition but defined two supplementary sets, including Johab. Neither edition was adopted as widely as intended.[2]
Wansung was kept unchanged in the 1987 and 1992 editions. In the 1992 edition, additional annex material was added,[3] including the definition of the Johab encoding[6] in annex 3, and the older N-byte Hangul encoding in annex 4.[1][5] It was published in response to industry use of Johab as a competing encoding to Wansung, being used at the time by Hangul Word Processor. Following the introduction of Unified Hangul Code by Microsoft in Windows 95, and Hangul Word Processor abandoning Johab in favour of Unicode in 2000, Johab ceased to be commonly used.[2]
Encodings
Encoding schemes of KS X 1001 include EUC-KR (in both ASCII and ISO 646-KR based variants, the latter of which includes a won currency sign (₩) at byte 0x5C rather than a backslash) and ISO-2022-KR,[7] as well as ISO-2022-JP-2 (which also encodes JIS X 0208 and JIS X 0212). These all have the drawback that they only assign codes for the 2350 precomposed Hangul syllables which have their own KS X 1001 codepoints (out of 11172 in total, not counting those using obsolete jamo), and require others to use eight-byte composition sequences, which are not supported by some partial implementations of the standard.[4]
The Johab encoding (stipulated in annex 3 of the 1992 version of the standard) and the EUC-KR superset known as Unified Hangul Code (UHC, also called Windows-949) provide single codes for all 11172 Hangul syllables.[7][6] ISO-2022-KR and Johab are rarely used. Some operating systems extend this standard in other non-uniform ways, e.g. the EUC-KR extensions MacKorean on the classic Mac OS, and IBM-949 by IBM.
Hangul Filler
The Hangul Filler character is used to introduce eight-byte Hangul composition sequences[8][9] and to stand in for an absent element (usually an empty final) in such a sequence.[9]
Unicode includes the Wansung code Hangul Filler in the Hangul Compatibility Jamo block for round-trip compatibility, but uses its own system (with its own, differently used, filler characters) for composing Hangul. The KS X 1001 Hangul composition system is not used in Unicode, and the filler renders merely as an empty space; KS X 1001 composition sequences using modern jamo may be mapped to precomposed characters in Unicode.[9] This is not usually done with Unified Hangul Code.
For round-trip compatibility, Unicode also includes the N-byte Hangul code Hangul Filler separately in the Halfwidth and Fullwidth Forms block, named the "Halfwidth Hangul Filler".
N-byte Hangul code
This is the N-byte Hangul code,[5] as specified by KS C 5601-1974 and by annex 4 of KS C 5601-1992. The second half of IBM's Code page 1040[10] is a superset of this, assigning the characters ¢¬\~
(although not £
) to the same locations as in Code page 1041. Character 0x40/0xC0 is a Hangul Filler (see above), used in combining sequences.
Similarly to its Japanese counterpart JIS C 6220 (JIS X 0201), N-byte Hangul code could be used as a 7-bit encoding, with character allocations over the range 0x40 through 0x7C.[5] The chart below shows the code in an 8-bit environment with the high bit set (i.e. over 0xC0 through 0xFC), as it is used in e.g. code page 1040.
Wansung code charts
Following are the code charts for KS X 1001 in Wansung layout. Where a pair of hexadecimal numbers is given, the smaller is used when encoded over GL (0x21-0x7E), as in ISO-2022-KR when the Korean set has been shifted to, and the larger is used in the more typical case of it being encoded over GR (0xA1-0xFE), as in EUC-KR or UHC. Johab changes the arrangement to encode all 11172 Hangul clusters separately and in order.
Non-Hanja non-precomposed sets
Character set 0x21 / 0xA1 (row number 1, special characters)
This set contains punctuation and other symbols, excluding punctuation present in KS X 1003 (which is included in row 3). Encodings which combine KS X 1001 with single-byte ASCII may use alternative Unicode mapping to the Halfwidth and Fullwidth Forms block for the backslash. Unicode mapping of the wave dash (tilde dash) also differs between vendors, and may be U+301C (favoured by IBM and Apple)[12][13][14] or U+223C (favoured by Microsoft).[15][16] Compare the similar but not identical handling of the JIS wave dash, and the handling of the tilde in the next row.
Except for the backslash, if two mappings are shown below, the first is used by Apple and the second is used by Microsoft.[14][16]
Letter Number Punctuation Symbol Other Undefined
Character set 0x22 / 0xA2 (row number 2, special characters)
This set contains additional punctuation and symbols. Similarly to the tilde character in the previous row, different mappings are used by Apple and Microsoft for the tilde character in this row (U+02DC by Apple, FF5E by Microsoft),[14][16] which is intended to be shown as a raised tilde, whereas the tilde in the previous row is intended to be shown in-line at dash height.[17] Mapping of the circled dot also differs.[14][16]
The euro and registered trademark sign were added in 1998, while the postal mark (㉾) was added in 2002.[1]
Character set 0x23 / 0xA3 (row number 3, basic Latin / ISO 646-KR)
This set corresponds to KS X 1003 (the ISO 646 variant for Korean, a similar set to ASCII), but as two-byte codes preceded by 0x23 (or 0xA3 in GR-delegated (EUC) form). It includes the English alphabet / Basic Latin alphabet, western Arabic numerals and punctuation.
Compare the Roman set of JIS X 0201, which differs by including a Yen sign rather than a Won sign. Contrast the third rows of KPS 9566 and of JIS X 0208, which follow the ISO 646 layout but only include letters and digits.
Encodings such as EUC-KR and UHC combine KS X 1001 with single-byte ASCII or KS X 1003, and hence use alternative Unicode mappings to the Halfwidth and Fullwidth Forms block for the double-byte representations of these characters.
Character set 0x24 / 0xA4 (row number 4, Hangul jamo)
This set includes modern Hangul consonants, followed by vowels, both ordered by South Korean collation customs, followed by obsolete consonants. When used individually, these characters map to the Unicode Hangul Compatibility Jamo block, and do not have a one-to-one mapping with the position-specific characters in the Hangul Jamo block. Compare with row 4 of the North Korean KPS 9566. Character 04-52 is a Hangul Filler (see above), used in combining sequences.
Character set 0x25 / 0xA5 (row number 5, Roman numerals and Greek)
This set contains Roman numerals and basic support for the Greek alphabet, without diacritics or the final sigma.
Contrast row 6 of KPS 9566, which includes the same characters but in a different layout.
Character set 0x26 / 0xA6 (row number 6, box drawing)
Character set 0x27 / 0xA7 (row number 7, unit symbols)
Character set 0x28 / 0xA8 (row number 8, extended Latin, encircled, fractions)
Character set 0x29 / 0xA9 (row number 9, extended Latin, encircled, superscript and subscript)
Character set 0x2A / 0xAA (row number 10, Hiragana)
This set contains Hiragana for writing the Japanese language.
Compare row 10 of KPS 9566, which uses the same layout. Compare and contrast row 4 of JIS X 0208, which also uses the same layout, but in a different row.
Character set 0x2B / 0xAB (row number 11, Katakana)
This set contains Katakana for writing the Japanese language.
Compare row 11 of KPS 9566, which uses the same layout. Compare and contrast row 5 of JIS X 0208, which also uses the same layout, but in a different row.
Character set 0x2C / 0xAC (row number 12, Cyrillic)
This set contains the modern Russian alphabet, and is not necessarily sufficient to represent other forms of the Cyrillic script.
Compare row 5 of KPS 9566 and row 7 of JIS X 0208, which use the same layout (but in a different row).
Pre-composed Hangul sets (rows number 16 through 40)
Code points for pre-composed Hangul are included in a continuous sorted block between code points 16-01 and 40-94 inclusive. Not all possible syllable clusters are included in this range; the chart below indicates, for each initial+vowel pair, which initial+vowel+final syllable clusters are assigned code points. Vowels, initials and finals are displayed in KS sorting order. The "ø" character is used here to denote the empty final. Compare the different ordering and availability in KPS 9566.
Those which are not listed here may be represented using eight-byte composition sequences. All other modern-jamo clusters are assigned codes elsewhere by UHC. All possible modern-jamo clusters are assigned codes by Johab.
Initials | Vowels | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ㅏ | ㅐ | ㅑ | ㅒ | ㅓ | ㅔ | ㅕ | ㅖ | ㅗ | ㅘ | ㅙ | ㅚ | ㅛ | ㅜ | ㅝ | ㅞ | ㅟ | ㅠ | ㅡ | ㅢ | ㅣ | |
ㄱ | ø, ㄱ, ㄴ, ㄷ, ㄹ, ㄺ, ㄻ, ㅁ, ㅂ, ㅄ, ㅅ, ㅆ, ㅇ, ㅈ, ㅊ, ㅌ, ㅍ, ㅎ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅅ, ㅇ | ø, ㄴ, ㄹ | ø, ㄱ, ㄴ, ㄷ, ㄹ, ㄻ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ, ㅈ, ㅌ, ㅍ, ㅎ | ø, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ | ø, ㄱ, ㄲ, ㄴ, ㄷ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ, ㅌ | ø, ㄴ, ㄹ, ㅂ, ㅅ | ø, ㄱ, ㄴ, ㄷ, ㄹ, ㄻ, ㄽ, ㅀ, ㅁ, ㅂ, ㅅ, ㅇ, ㅈ | ø, ㄱ, ㄴ, ㄹ, ㄻ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㄴ, ㄹ, ㅂ, ㅆ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㄴ, ㄹ, ㅂ, ㅅ | ø, ㄱ, ㄴ, ㄷ, ㄹ, ㄺ, ㄻ, ㅀ, ㅁ, ㅂ, ㅅ, ㅇ, ㅈ | ø, ㄱ, ㄴ, ㄹ, ㅆ, ㅇ | ø, ㅅ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ | ø, ㄴ, ㄹ | ø, ㄱ, ㄴ, ㄷ, ㄹ, ㄺ, ㅁ, ㅂ, ㅅ, ㅇ | ø | ø, ㄱ, ㄴ, ㄷ, ㄹ, ㄻ, ㅁ, ㅂ, ㅅ, ㅇ, ㅈ, ㅍ |
ㄲ | ø, ㄱ, ㄲ, ㄴ, ㄹ, ㄻ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ, ㅌ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ | ø, ㄱ, ㄹ | ø, ㄱ, ㄲ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ | ø, ㄱ, ㄴ, ㅁ, ㅅ, ㅇ | ø, ㄴ, ㄹ, ㅅ, ㅆ, ㅌ | ø | ø, ㄱ, ㄴ, ㄶ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ, ㅈ, ㅊ | ø, ㄱ, ㄹ, ㅆ, ㅇ | ø, ㄱ, ㅇ | ø, ㄴ, ㄹ, ㅁ, ㅂ, ㅇ | ø | ø, ㄱ, ㄴ, ㄹ, ㅀ, ㅁ, ㅂ, ㅅ, ㅇ, ㅈ | ø, ㄹ, ㅆ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅆ | ø, ㄴ, ㄹ, ㅁ, ㅂ | ø | ø, ㄱ, ㄴ, ㄶ, ㄹ, ㄻ, ㅀ, ㅁ, ㅂ, ㅅ, ㅇ, ㅌ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ||
ㄴ | ø, ㄱ, ㄲ, ㄴ, ㄷ, ㄹ, ㄺ, ㄻ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ, ㅈ, ㅊ, ㅌ, ㅎ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅇ | ø, ㄱ, ㄳ, ㄴ, ㄹ, ㄻ, ㄼ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ, ㅎ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅆ, ㅇ, ㅋ | ø, ㄴ | ø, ㄱ, ㄴ, ㄹ, ㄻ, ㅁ, ㅂ, ㅅ, ㅇ, ㅍ, ㅎ | ø, ㄴ, ㄹ, ㅆ | ø, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ | ø, ㄱ, ㄴ, ㄹ, ㅂ, ㅅ, ㅇ | ø, ㄱ, ㄴ, ㄷ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㅆ | ø | ø, ㄴ, ㄹ, ㅁ, ㅂ | ø, ㄱ, ㄹ, ㅁ, ㅂ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㄺ, ㄻ, ㅁ, ㅂ, ㅅ, ㅇ, ㅈ, ㅍ | ø, ㄴ, ㄹ | ø, ㄱ, ㄴ, ㄹ, ㄻ, ㅁ, ㅂ, ㅅ, ㅇ, ㅍ | ||
ㄷ | ø, ㄱ, ㄲ, ㄴ, ㄷ, ㄹ, ㄺ, ㄻ, ㄼ, ㅀ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ, ㅈ, ㅊ, ㅎ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ | ø | ø, ㄱ, ㄲ, ㄴ, ㄷ, ㄹ, ㄻ, ㄼ, ㅁ, ㅂ, ㅅ, ㅇ, ㅊ, ㅍ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ | ø, ㄴ, ㄹ, ㅆ, ㅇ | ø, ㄴ | ø, ㄱ, ㄴ, ㄷ, ㄹ, ㄻ, ㄽ, ㅁ, ㅂ, ㅅ, ㅇ, ㅊ, ㅌ | ø, ㄴ, ㄹ | ø, ㅆ | ø, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ | ø | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㅆ | ø, ㅇ | ø, ㄴ, ㄹ, ㅂ, ㅅ, ㅇ | ø, ㄴ, ㄹ, ㅁ, ㅇ | ø, ㄱ, ㄴ, ㄷ, ㄹ, ㄻ, ㅁ, ㅂ, ㅅ, ㅇ | ø | ø, ㄱ, ㄴ, ㄷ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ, ㅈ | |
ㄸ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ, ㅎ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㄻ, ㄼ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ, ㅎ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ | ø, ㅆ | ø, ㄱ, ㄴ, ㄹ, ㅇ | ø, ㄹ | ø | ø, ㄴ | ø, ㄱ, ㄴ, ㄹ, ㅀ, ㅁ, ㅇ | ø | ø, ㄴ, ㄹ, ㅁ, ㅂ, ㅇ | ø, ㄱ, ㄴ, ㄷ, ㄹ, ㅁ, ㅂ, ㅅ | ø, ㄴ, ㄹ, ㅁ, ㅂ | ø, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ||||||
ㄹ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ, ㅈ, ㅍ, ㅎ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ | ø, ㄱ, ㄴ, ㅅ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ, ㅎ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ | ø, ㄴ, ㅂ, ㅅ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㄴ, ㅇ | ㅆ | ø, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㄴ, ㄹ, ㅂ, ㅅ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㅆ | ø | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅅ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ, ㅈ, ㅌ, ㅍ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ||
ㅁ | ø, ㄱ, ㄴ, ㄶ, ㄷ, ㄹ, ㄺ, ㄻ, ㅁ, ㅂ, ㅅ, ㅇ, ㅈ, ㅌ, ㅎ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ, ㅈ | ø, ㄱ, ㄹ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㄻ, ㅁ, ㅂ, ㅅ, ㅇ, ㅈ, ㅎ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅅ, ㅆ, ㅇ, ㅊ | ø | ø, ㄱ, ㄳ, ㄴ, ㄹ, ㄻ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㄴ, ㅆ, ㅇ | ø, ㄴ, ㄹ, ㅂ, ㅅ, ㅇ | ø, ㄴ, ㄹ, ㅂ, ㅅ | ø, ㄱ, ㄲ, ㄴ, ㄷ, ㄹ, ㄺ, ㄻ, ㅁ, ㅂ, ㅅ, ㅇ, ㅌ, ㅎ | ø, ㄴ, ㄹ, ㅂ, ㅅ | ø | ø, ㄴ, ㄹ | ø, ㄴ, ㄹ, ㅁ, ㅅ | ø, ㄴ, ㄹ, ㅁ, ㅅ | ø, ㄱ, ㄴ, ㄷ, ㄹ, ㄻ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ, ㅊ, ㅌ | |||
ㅂ | ø, ㄱ, ㄲ, ㄳ, ㄴ, ㄷ, ㄹ, ㄺ, ㄻ, ㄼ, ㅁ, ㅂ, ㅅ, ㅇ, ㅌ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ, ㅌ | ø, ㄱ, ㄴ, ㅂ | ø, ㄱ, ㄴ, ㄷ, ㄹ, ㄻ, ㅁ, ㅂ, ㅅ, ㅇ, ㅈ | ø, ㄱ, ㄴ, ㄷ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅂ, ㅅ, ㅆ, ㅇ, ㅌ | ø, ㄴ | ø, ㄱ, ㄲ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㄴ, ㅆ | ø, ㅆ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ | ø, ㄴ | ø, ㄱ, ㄴ, ㄷ, ㄹ, ㄺ, ㄻ, ㅁ, ㅂ, ㅅ, ㅇ, ㅌ, ㅍ | ø, ㄹ, ㅆ | ø | ø, ㄱ, ㄴ, ㄹ, ㅇ | ø, ㄴ, ㄹ, ㅁ, ㅅ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ | ø, ㄱ, ㄴ, ㄹ, ㄻ, ㅁ, ㅂ, ㅅ, ㅇ, ㅈ, ㅊ | ||
ㅃ | ø, ㄱ, ㄴ, ㄹ, ㄻ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ, ㅎ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ | ø, ㄱ, ㅁ | ø, ㄱ, ㄴ, ㄷ, ㄹ, ㅁ, ㅅ, ㅆ, ㅇ | ø, ㅇ | ø, ㄱ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅇ | ø | ø, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅅ, ㅇ | ø, ㅇ | ø, ㄴ, ㄹ, ㅁ, ㅂ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ||||||||
ㅅ | ø, ㄱ, ㄳ, ㄴ, ㄷ, ㄹ, ㄺ, ㄻ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ, ㅌ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㄴ, ㄹ, ㅁ, ㅇ | ø, ㄱ, ㄲ, ㄳ, ㄴ, ㄷ, ㄹ, ㄻ, ㄼ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ, ㅍ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ | ø, ㄴ, ㄹ, ㅇ | ø, ㄱ, ㄲ, ㄴ, ㄹ, ㄻ, ㅁ, ㅂ, ㅅ, ㅇ, ㅌ | ø, ㄱ, ㄴ, ㄹ, ㅇ | ø, ㄴ, ㄹ, ㅁ, ㅅ, ㅆ | ø, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㄱ, ㄴ, ㄷ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ, ㅊ, ㅌ, ㅍ | ø, ㅆ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㄱ, ㄹ, ㅁ, ㅅ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㄺ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㄱ, ㄴ, ㄷ, ㄹ, ㅀ, ㅁ, ㅂ, ㅅ, ㅇ, ㅍ | |
ㅆ | ø, ㄱ, ㄳ, ㄴ, ㄹ, ㅁ, ㅂ, ㅆ, ㅇ, ㅎ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅆ, ㅇ | ㅇ | ø, ㄱ, ㄴ, ㄹ, ㄻ, ㅁ, ㅂ, ㅆ, ㅇ | ø, ㄴ, ㄹ | ㄴ | ø, ㄱ, ㄴ, ㄷ, ㄹ, ㄻ, ㅁ, ㅂ, ㅇ | ø, ㄱ, ㄴ, ㅆ | ø, ㅆ | ø, ㄴ, ㄹ, ㅁ, ㅂ | ø | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅇ | ø, ㅆ | ø | ø, ㄴ | ㅇ | ø, ㄱ, ㄴ, ㄹ, ㄻ, ㅀ, ㅁ, ㅂ | ø, ㄴ, ㄹ, ㅁ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ||
ㅇ | ø, ㄱ, ㄴ, ㄵ, ㄶ, ㄹ, ㄺ, ㄻ, ㅀ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ, ㅌ, ㅍ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㄼ, ㅁ, ㅂ, ㅅ, ㅇ, ㅌ, ㅎ | ø, ㄴ, ㄹ, ㅂ | ø, ㄱ, ㄴ, ㄵ, ㄷ, ㄹ, ㄺ, ㄻ, ㅁ, ㅂ, ㅄ, ㅅ, ㅆ, ㅇ, ㅈ, ㅋ, ㅍ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㄱ, ㄲ, ㄴ, ㄹ, ㄻ, ㄼ, ㅁ, ㅂ, ㅄ, ㅅ, ㅆ, ㅇ, ㅌ, ㅍ, ㅎ | ø, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ | ø, ㄱ, ㄴ, ㄹ, ㄺ, ㄻ, ㄽ, ㅀ, ㅁ, ㅂ, ㅅ, ㅇ, ㅊ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ | ø, ㄱ, ㄴ, ㅁ, ㅅ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㄺ, ㄻ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅆ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ, ㅊ | ø, ㄱ, ㄴ, ㄹ, ㄿ, ㅁ, ㅂ, ㅅ, ㅇ, ㅈ, ㅊ, ㅋ, ㅌ, ㅍ, ㅎ | ø, ㄴ, ㄹ, ㅁ, ㅅ | ø, ㄱ, ㄴ, ㄹ, ㄺ, ㄻ, ㅀ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ, ㅈ, ㅍ |
ㅈ | ø, ㄱ, ㄴ, ㄶ, ㄷ, ㄹ, ㄻ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ, ㅈ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ | ø, ㄱ, ㄴ, ㄶ, ㄹ, ㅁ, ㅇ | ø, ㄴ, ㄹ | ø, ㄱ, ㄴ, ㄹ, ㄻ, ㅁ, ㅂ, ㅅ, ㅇ, ㅈ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㄴ, ㄹ, ㅁ, ㅂ, ㅆ, ㅇ | ø | ø, ㄱ, ㄴ, ㄹ, ㄻ, ㅁ, ㅂ, ㅅ, ㅇ, ㅈ, ㅊ, ㅎ | ø, ㄱ, ㄹ, ㅂ, ㅅ, ㅇ | ø, ㅆ, ㅇ | ø, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㄱ, ㄴ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㄺ, ㄻ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㅆ | ø | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ | ø, ㄴ, ㄹ, ㅁ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㄱ, ㄴ, ㄷ, ㄹ, ㄻ, ㅁ, ㅂ, ㅅ, ㅇ, ㅈ, ㅌ, ㅍ | |
ㅉ | ø, ㄱ, ㄴ, ㄶ, ㄹ, ㄼ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ | ø, ㄴ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ | ø, ㅇ | ø, ㅆ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ, ㅊ | ø, ㄱ, ㄹ, ㅆ | ø, ㅆ | ø, ㄴ, ㄹ, ㅁ, ㅂ | ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅇ | ø, ㅆ, ㅇ | ø | ø | ø, ㅁ, ㅅ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅇ, ㅈ, ㅎ | ||||
ㅊ | ø, ㄱ, ㄴ, ㄶ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ, ㅈ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ | ø, ㄴ, ㄶ, ㄹ, ㅁ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㄴ, ㅆ | ø, ㄴ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㄴ, ㄹ, ㅇ | ø, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㅁ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㅆ | ø, ㄴ | ø, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㄴ, ㄹ, ㅁ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㄱ, ㄴ, ㄷ, ㄹ, ㄺ, ㅁ, ㅂ, ㅅ, ㅇ | |||
ㅋ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ | ø, ㄱ, ㅇ | ø, ㄱ, ㄴ, ㄷ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ | ø | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅇ | ø, ㅇ | ø, ㄹ | ø | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㄴ, ㄹ, ㅇ | ø, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㄴ, ㄹ, ㅁ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ||
ㅌ | ø, ㄱ, ㄴ, ㄹ, ㄺ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ | ø, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㄻ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㄴ, ㅆ | ø, ㄴ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ, ㅍ | ø, ㄴ | ø | ø, ㄴ, ㅅ, ㅇ | ø | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㅆ | ø | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅇ | ø, ㄴ, ㄹ, ㅁ, ㅇ | ø, ㄱ, ㄴ, ㄷ, ㄹ, ㄻ, ㅁ, ㅂ, ㅅ | ø, ㄴ, ㄹ, ㅁ, ㅂ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | |
ㅍ | ø, ㄱ, ㄲ, ㄴ, ㄹ, ㄻ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ, ㅌ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ | ø, ㄱ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㄴ, ㄹ, ㅁ, ㅂ, ㅆ, ㅇ | ø, ㄹ, ㅂ, ㅅ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㅇ | ø, ㄴ | ø, ㄴ, ㄹ, ㅂ, ㅅ | ø, ㄱ, ㄴ, ㄷ, ㄹ, ㄻ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㅇ | ø, ㄴ, ㄹ, ㅁ, ㅅ | ø, ㄴ, ㄹ, ㅁ, ㅅ, ㅇ | ø, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ||||
ㅎ | ø, ㄱ, ㄴ, ㄹ, ㄾ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ | ø, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㄻ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅆ, ㅇ | ø, ㄴ, ㄹ, ㅂ | ø, ㄱ, ㄴ, ㄹ, ㄾ, ㅁ, ㅂ, ㅅ, ㅇ, ㅌ | ø, ㄱ, ㄴ, ㄹ, ㅅ, ㅇ | ø, ㄱ, ㄴ, ㅅ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅂ, ㅅ, ㅇ | ø, ㄴ, ㄹ, ㅂ, ㅅ | ø, ㄱ, ㄴ, ㄹ, ㄾ, ㅁ, ㅅ, ㅇ | ø, ㄴ, ㄹ, ㅁ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅅ, ㅇ | ø, ㄱ, ㄴ, ㄶ, ㄷ, ㄹ, ㄺ, ㅁ, ㅂ, ㅅ, ㅇ, ㅌ | ø, ㄴ, ㄹ, ㅁ, ㅂ, ㅇ | ø, ㄱ, ㄴ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ | |
Initials | ㅏ | ㅐ | ㅑ | ㅒ | ㅓ | ㅔ | ㅕ | ㅖ | ㅗ | ㅘ | ㅙ | ㅚ | ㅛ | ㅜ | ㅝ | ㅞ | ㅟ | ㅠ | ㅡ | ㅢ | ㅣ |
Vowels |
Hanja sets
Johab encoding
KS X 1001, since 1992, also defines an alternative encoding known as Johab. This represents a hangul syllable as the sequence of three five-bit values, split across two 8-bit bytes, most significant bit first. The most significant bit of the lead byte is always set (allowing combination with single-byte ASCII or KS X 1003). This encoding is also used for the modern jamo from row 4 of KS X 1001, by using the filler values for the other components. The Johab encoding for hangul is shown in the table below.[18]
Johab encodes the remainder of KS X 1001 using lead bytes which do not correspond to an initial jamo (0xE0–0xF9 for hanja and 0xD9–0xDE[19] for non-hanja, excluding hangul syllables and modern jamo), with trail bytes in the ranges 0x31–0x7E and 0x91–0xFE.[18] These codes are algorithmically mapped from the characters' KS X 1001 code points,[19] with two KS X 1001 rows per lead byte (compare and contrast Shift JIS).
Five-bit sequence | As initial | As vowel | As final |
---|---|---|---|
00000 | Not used | Not used[b] | Not used |
00001 | Filler | Not used[c] | Filler (empty final) |
00010 | ㄱ | Filler | ㄱ |
00011 | ㄲ | ㅏ | ㄲ |
00100 | ㄴ | ㅐ | ㄳ |
00101 | ㄷ | ㅑ | ㄴ |
00110 | ㄸ | ㅒ | ㄵ |
00111 | ㄹ | ㅓ | ㄶ |
01000 | ㅁ | Not used[b] | ㄷ |
01001 | ㅂ | Not used[c] | ㄹ |
01010 | ㅃ | ㅔ | ㄺ |
01011 | ㅅ | ㅕ | ㄻ |
01100 | ㅆ | ㅖ | ㄼ |
01101 | ㅇ | ㅗ | ㄽ |
01110 | ㅈ | ㅘ | ㄾ |
01111 | ㅉ | ㅙ | ㄿ |
10000 | ㅊ | Not used[b] | ㅀ |
10001 | ㅋ | Not used[c] | ㅁ |
10010 | ㅌ | ㅚ | Not used |
10011 | ㅍ | ㅛ | ㅍ |
10100 | ㅎ | ㅜ | ㅄ |
10101 | Not used | ㅝ | ㅅ |
10110 | Non-Hangul lead bytes | ㅞ | ㅆ |
10111 | Non-Hangul lead bytes | ㅟ | ㅇ |
11000 | Non-Hangul lead bytes | Not used[b] | ㅈ |
11001 | Non-Hangul lead bytes | Not used[c] | ㅊ |
11010 | Non-Hangul lead bytes | ㅠ | ㅋ |
11011 | Non-Hangul lead bytes | ㅡ | ㅌ |
11100 | Non-Hangul lead bytes | ㅢ | ㅍ |
11101 | Non-Hangul lead bytes | ㅣ | ㅎ |
11110 | Non-Hangul lead bytes | Not used | Not used |
11111 | Not used | Not used | Not used |
Footnotes
- ^ Korean: 정보 교환용 부호계(한글 및 한자), romanized: Jeongbo Gyohwan'yong Buhogye (Hangeul mich Hanja)
- ^ a b c d Were this one used, it would result in a trail byte in the C0 control codes range.
- ^ a b c d Were this one used, it would result in trail bytes in the 0x2_ and 0x3_ rows of ASCII. Johab does not use the 0x2_ row for trail bytes, similarly to most common legacy CJK encodings (compare Shift JIS, GBK, Big5).
References
- ^ a b c d e Lunde, Ken (2009). "Chapter 3: Character Set Standards". CJKV Information Processing. p. 143-148. ISBN 0596514476.
- ^ a b c d e Hwang, Jinsang (2005). The Social Shaping of ICTs Standards: A Case of National Coded Character Set Standards Controversy in Korea (PDF). University of Edinburgh.
- ^ a b c Lunde, Ken (1995-12-18). "2.4.6: Obsolete Standards". CJK.INF Version 1.9.
- ^ a b Shin, Jungshik. "What are KS X 1001(KS C 5601) and other Hangul codes?". Hangul & Internet in Korea FAQ.
- ^ a b c d Lunde, Ken (1995-12-18). "3.3.6: N-byte Hangul". CJK.INF Version 1.9.
- ^ a b "INFO: Hangul (Korean) Character Sets", Microsoft Support, Microsoft
- ^ a b Zsigri, Gyula (2002-06-18). "KSC and UHC".
- ^ Chang, Hye-Shik. "cpython/Modules/cjkcodecs/_codecs_kr.c (revision d3faf43)". cPython source tree. Python Software Foundation.
- ^ a b c Chung, Jaemin (2017-03-30). Proposal to add an informative note to U+3164 HANGUL FILLER (PDF). Unicode Consortium. UTC L2/17-081.
- ^ "Code Page 01040" (PDF). IBM. Archived from the original (PDF) on 2015-07-08.
- ^ "KSRI-87-37-IR: 항을・한자 코드 표준화에 관한 예연구: A Study on Standardization of Hangul and Hanja Codes" (PDF) (in Korean). Ministry of Science and Technology. 1987. p. 68.
- ^ "ibm-1363_P110-1997 (lead byte A1)". ICU Demonstration - Converter Explorer. International Components for Unicode.
- ^ "euc-kr (lead byte A1)". ICU Demonstration - Converter Explorer. International Components for Unicode.
- ^ a b c d "Map (external version) from Mac OS Korean encoding to Unicode 3.2 and later". Apple.
- ^ "windows-949-2000 (lead byte A1)". ICU Demonstration - Converter Explorer. International Components for Unicode.
- ^ a b c d "Lead Byte A1-A2 (Code page 949)". MSDN. Microsoft.
- ^ Korea Bureau of Standards (1988-10-01). Korean Graphic Character Set for Information Interchange (PDF). ITSCJ/IPSJ. ISO-IR-149.
- ^ a b Lunde, Ken (2008). "Chapter 4: Encoding Methods (§ Johab Encoding—KS X 1001:2004)". CJKV Information Processing (2nd ed.). Sebastopol, California: O'Reilly Media. pp. 268–273. ISBN 978-0-596-51447-1.
- ^ a b Shin, Jungshik (2011-10-14) [1999-08-16]. Johab to Unicode table. Unicode Consortium.