Skip to content
Search

Unified Hangul Code

lastmod 2024-06-03created 2024-06-032 edits

Code page 949 (CP949) is a code page introduced by Microsoft. It was originally a code page representing the precomposed (wansung) Hangul of KS C 5601, but starting with Windows 95 it was extended under the name Extended Wansung or Unified Hangul Code to cover all modern Hangul. Microsoft uses this encoding under the name of its base character set, "ks_c_5601-1987". This code page is not registered with IANA[1], but it is specified as a standard under the name EUC-KR in the W3C and WHATWG encoding specifications.

The CP949 encoding is an extension of EUC-KR and is backward compatible with it.

  • KS X 1003 is assigned to bytes smaller than 128.
  • KS X 1001 is assigned to two bytes that are greater than or equal to 128. Each character is represented in 2 bytes using code values obtained by adding 128 to the row and column. Because row and column numbers start at 32, the first and second bytes of this character set actually fall in the range 161 to 254.
  • The remaining space is assigned the 8,822 modern Hangul syllables not in KS X 1001, in Korean alphabetical (ganada) order. In this case the first byte ranges from 129 to 198, and the second byte ranges from 65 to 90 (uppercase Latin letters), 97 to 122 (lowercase Latin letters), and 129 to 254. However, when the first byte is 161 or greater, the second byte cannot be 161 or greater, to avoid collisions with KS X 1001.
  • The code value of the Hangul filler character is A4D4.

See also

Favorite site

author Zer0 sitemap