87128e316a
Submitted by: junker@jazz.snu.ac.kr
120 lines
4.4 KiB
Plaintext
120 lines
4.4 KiB
Plaintext
/*
|
|
* Korean LC_CTYPE definitions using EUC-KR character sets
|
|
* (ko_KR.EUC.src)
|
|
*
|
|
* Choi Jun Ho, junker@jazz.snu.ac.kr
|
|
* NARAE, Seoul National Univ., CS Dept.
|
|
* Last Updated on Mar 24 1997
|
|
*
|
|
* It is based on manpage mklocale(1), euc(4), ja_JP.EUC.src.
|
|
*
|
|
*/
|
|
|
|
ENCODING "EUC"
|
|
|
|
/* EUC-KR(KS C 5601.1992)
|
|
* 0xa1a1-0xfefe
|
|
* byte 1: 0xa1-0xfe
|
|
* byte 2: 0xa1-0xfe
|
|
*/
|
|
|
|
/* We have only codeset 1 and 2, so others are dummy.
|
|
But it must be defined to work in 2.2 xpg4 locale routine...
|
|
*/
|
|
VARIABLE 1 0x0000 2 0x8080 2 0x0080 3 0x8000 0x8080
|
|
|
|
/*
|
|
* Code Set 1, US-ASCII equivalent
|
|
*/
|
|
ALPHA 'A' - 'Z' 'a' - 'z'
|
|
CONTROL 0x00 - 0x1f 0x7f
|
|
DIGIT '0' - '9'
|
|
GRAPH 0x21 - 0x7e
|
|
LOWER 'a' - 'z'
|
|
PUNCT 0x21 - 0x2f 0x3a - 0x40 0x5b - 0x60 0x7b - 0x7e
|
|
SPACE 0x09 - 0x0d 0x20
|
|
UPPER 'A' - 'Z'
|
|
XDIGIT '0' - '9' 'a' - 'f' 'A' - 'F'
|
|
BLANK ' ' '\t'
|
|
PRINT 0x20 - 0x7e
|
|
|
|
MAPLOWER < 'A' - 'Z' : 'a' > < 'a' - 'z' : 'a' >
|
|
MAPUPPER < 'A' - 'Z' : 'A' > < 'a' - 'z' : 'A' >
|
|
TODIGIT < '0' - '9' : 0 >
|
|
TODIGIT < 'A' - 'F' : 10 > < 'a' - 'f' : 10 >
|
|
|
|
/*
|
|
* Code Set 2, EUC-KR
|
|
*/
|
|
ALPHA 0xa3c1 - 0xa3da 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a7ef /* Symbols */
|
|
SPECIAL 0xa8a1 - 0xa8fe 0xa9a1 - 0xa9fe /* Circle Symbols */
|
|
|
|
PHONOGRAM 0xa4a1 - 0xa4fe /* Full-width Hangul glyph */
|
|
PHONOGRAM 0xaaa1 - 0xaaf3 /* Full-width Hirakana */
|
|
PHONOGRAM 0xaba1 - 0xabf6 /* Full-width Katakana */
|
|
|
|
PHONOGRAM 0xb0a1 - 0xb0fe 0xb1a1 - 0xb1fe 0xb2a1 - 0xb2fe
|
|
PHONOGRAM 0xb3a1 - 0xb3fe 0xb4a1 - 0xb4fe 0xb5a1 - 0xb5fe
|
|
PHONOGRAM 0xb6a1 - 0xb6fe 0xb7a1 - 0xb7fe 0xb8a1 - 0xb8fe
|
|
PHONOGRAM 0xb9a1 - 0xb9fe 0xbaa1 - 0xbafe 0xbba1 - 0xbbfe
|
|
PHONOGRAM 0xbca1 - 0xbcfe 0xbda1 - 0xbdfe 0xbea1 - 0xbefe
|
|
PHONOGRAM 0xbfa1 - 0xbffe 0xc0a1 - 0xc0fe 0xc1a1 - 0xc1fe
|
|
PHONOGRAM 0xc2a1 - 0xc2fe 0xc3a1 - 0xc3fe 0xc4a1 - 0xc4fe
|
|
PHONOGRAM 0xc5a1 - 0xc5fe 0xc6a1 - 0xc6fe 0xc7a1 - 0xc7fe
|
|
PHONOGRAM 0xc8a1 - 0xc8fe /* Hangul composed */
|
|
|
|
IDEOGRAM 0xcaa1 - 0xcafe 0xcba1 - 0xcbfe 0xcca1 - 0xccfe
|
|
IDEOGRAM 0xcda1 - 0xcdfe 0xcea1 - 0xcefe 0xcfa1 - 0xcffe
|
|
IDEOGRAM 0xd0a1 - 0xd0fe 0xd1a1 - 0xd1fe 0xd2a1 - 0xd2fe
|
|
IDEOGRAM 0xd3a1 - 0xd3fe 0xd4a1 - 0xd4fe 0xd5a1 - 0xd5fe
|
|
IDEOGRAM 0xd6a1 - 0xd6fe 0xd7a1 - 0xd7fe 0xd8a1 - 0xd8fe
|
|
IDE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