ko_KR.eucKR.src revision 87106
1/*
2 * Korean LC_CTYPE definitions using EUC-KR character sets
3 * (ko_KR.EUC.src)
4 *
5 * Choi Jun Ho, junker@jazz.snu.ac.kr
6 * NARAE, Seoul National Univ., CS Dept.
7 * Last Updated on Mar 24 1997
8 *
9 * It is based on manpage mklocale(1), euc(4), ja_JP.EUC.src.
10 *
11 * $FreeBSD: head/share/mklocale/ko_KR.eucKR.src 87106 2001-11-30 01:22:01Z ache $
12 */
13
14ENCODING     "EUC"
15
16/* EUC-KR(KS C 5601.1992)
17 * 0xa1a1-0xfefe
18 * byte 1: 0xa1-0xfe
19 * byte 2: 0xa1-0xfe
20 */
21
22/* We have only codeset 1 and 2, so others are dummy.
23   But it must be defined to work in 2.2 xpg4 locale routine...
24 */
25VARIABLE     1 0x0000 2 0x8080 2 0x0080 3 0x8000 0x8080
26
27/*
28 * Code Set 1, US-ASCII equivalent
29 */
30ALPHA	     'A' - 'Z' 'a' - 'z'
31CONTROL	     0x00 - 0x1f 0x7f
32DIGIT	     '0' - '9'
33GRAPH	     0x21 - 0x7e
34LOWER	     'a' - 'z'
35PUNCT	     0x21 - 0x2f 0x3a - 0x40 0x5b - 0x60 0x7b - 0x7e
36SPACE	     0x09 - 0x0d 0x20
37UPPER	     'A' - 'Z'
38XDIGIT	     '0' - '9' 'a' - 'f' 'A' - 'F'
39BLANK	     ' ' '\t'
40PRINT	     0x20 - 0x7e
41
42MAPLOWER     < 'A' - 'Z' : 'a' > < 'a' - 'z' : 'a' >
43MAPUPPER     < 'A' - 'Z' : 'A' > < 'a' - 'z' : 'A' >
44TODIGIT	     < '0' - '9' : 0 >
45TODIGIT	     < 'A' - 'F' : 10 > < 'a' - 'f' : 10 >
46
47/*
48 * Code Set 2, EUC-KR
49 */
50ALPHA        0xa3c1 - 0xa3da 0xa3e1 - 0xa3fa
51/* ?DIGIT        0xa3b0 - 0xa3b9 */
52UPPER        0xa3c1 - 0xa3da
53LOWER        0xa3e1 - 0xa3fa
54PUNCT	     0xa3a1 - 0xa3af 0xa3ba - 0xa3c0 0xa3db - 0xa3e0 0xa3fb - 0xa3fe
55SPACE	     0xa1a1
56/* ?XDIGIT       0xa3b0 - 0xa3b9 0xa3c1 - 0xa3c6 0xa3e1 - 0xa3e6 */
57BLANK        0xa1a1
58PRINT        0xa1a1 - 0xfefe
59SPECIAL	     0xa1a2 - 0xa2e5
60
61MAPLOWER     < 0xa3c1 - 0xa3da : 0xa3e1 > < 0xa3e1 - 0xa3fa : 0xa3e1 >
62MAPUPPER     < 0xa3c1 - 0xa3da : 0xa3c1 > < 0xa3b0 - 0xa3b9 : 0xa3c1 >
63TODIGIT      < 0xa3b0 - 0xa3b9 : 0 >
64TODIGIT      < 0xa3c1 - 0xa3c6 : 10 > < 0xa3e1 - 0xa3e6 : 10 >
65
66
67UPPER	     0xa5c1 - 0xa5d8			     /* Greek */
68LOWER	     0xa5e1 - 0xa5f8			     /* Greek */
69MAPLOWER     < 0xa5c1 - 0xa5d8 : 0xa5e1 > < 0xa5e1 - 0xa5f8 : 0xa5e1 >
70MAPUPPER     < 0xa5c1 - 0xa5d8 : 0xa5c1 > < 0xa5e1 - 0xa5f8 : 0xa5c1 >
71
72UPPER	     0xaca1 - 0xacc1			     /* Cyrillic */
73LOWER	     0xacd1 - 0xacf1			     /* Cyrillic */
74MAPLOWER     < 0xaca1 - 0xacc1 : 0xacd1 > < 0xacd1 - 0xacf1 : 0xacd1 >
75MAPUPPER     < 0xaca1 - 0xacc1 : 0xaca1 > < 0xacd1 - 0xacf1 : 0xaca1 >
76
77/* ?DIGIT        0xa5a1 - 0xa5aa  0xa5b0 - 0xa5b9 */ /* Greek Digit */
78SPECIAL      0xa6a1 - 0xa6e4  0xa7a1 - 0xa7ef /* Symbols */
79SPECIAL      0xa8a1 - 0xa8fe  0xa9a1 - 0xa9fe /* Circle Symbols */
80
81PHONOGRAM    0xa4a1 - 0xa4fe  /* Full-width Hangul glyph */
82PHONOGRAM    0xaaa1 - 0xaaf3  /* Full-width Hirakana */
83PHONOGRAM    0xaba1 - 0xabf6  /* Full-width Katakana */
84
85PHONOGRAM    0xb0a1 - 0xb0fe  0xb1a1 - 0xb1fe  0xb2a1 - 0xb2fe
86PHONOGRAM    0xb3a1 - 0xb3fe  0xb4a1 - 0xb4fe  0xb5a1 - 0xb5fe
87PHONOGRAM    0xb6a1 - 0xb6fe  0xb7a1 - 0xb7fe  0xb8a1 - 0xb8fe
88PHONOGRAM    0xb9a1 - 0xb9fe  0xbaa1 - 0xbafe  0xbba1 - 0xbbfe
89PHONOGRAM    0xbca1 - 0xbcfe  0xbda1 - 0xbdfe  0xbea1 - 0xbefe
90PHONOGRAM    0xbfa1 - 0xbffe  0xc0a1 - 0xc0fe  0xc1a1 - 0xc1fe
91PHONOGRAM    0xc2a1 - 0xc2fe  0xc3a1 - 0xc3fe  0xc4a1 - 0xc4fe
92PHONOGRAM    0xc5a1 - 0xc5fe  0xc6a1 - 0xc6fe  0xc7a1 - 0xc7fe
93PHONOGRAM    0xc8a1 - 0xc8fe  /* Hangul composed */
94
95IDEOGRAM     0xcaa1 - 0xcafe  0xcba1 - 0xcbfe  0xcca1 - 0xccfe  
96IDEOGRAM     0xcda1 - 0xcdfe  0xcea1 - 0xcefe  0xcfa1 - 0xcffe  
97IDEOGRAM     0xd0a1 - 0xd0fe  0xd1a1 - 0xd1fe  0xd2a1 - 0xd2fe  
98IDEOGRAM     0xd3a1 - 0xd3fe  0xd4a1 - 0xd4fe  0xd5a1 - 0xd5fe  
99IDEOGRAM     0xd6a1 - 0xd6fe  0xd7a1 - 0xd7fe  0xd8a1 - 0xd8fe  
100IDEOGRAM     0xd9a1 - 0xd9fe  0xdaa1 - 0xdafe  0xdba1 - 0xdbfe  
101IDEOGRAM     0xdca1 - 0xdcfe  0xdda1 - 0xddfe  0xdea1 - 0xdefe  
102IDEOGRAM     0xdfa1 - 0xdffe  0xe0a1 - 0xe0fe  0xe1a1 - 0xe1fe  
103IDEOGRAM     0xe2a1 - 0xe2fe  0xe3a1 - 0xe3fe  0xe4a1 - 0xe4fe  
104IDEOGRAM     0xe5a1 - 0xe5fe  0xe6a1 - 0xe6fe  0xe7a1 - 0xe7fe  
105IDEOGRAM     0xe8a1 - 0xe8fe  0xe9a1 - 0xe9fe  0xeaa1 - 0xeafe  
106IDEOGRAM     0xeba1 - 0xebfe  0xeca1 - 0xecfe  0xeda1 - 0xedfe  
107IDEOGRAM     0xeea1 - 0xeefe  0xefa1 - 0xeffe  0xf0a1 - 0xf0fe  
108IDEOGRAM     0xf1a1 - 0xf1fe  0xf2a1 - 0xf2fe  0xf3a1 - 0xf3fe  
109IDEOGRAM     0xf4a1 - 0xf4fe  0xf5a1 - 0xf5fe  0xf6a1 - 0xf6fe  
110IDEOGRAM     0xf7a1 - 0xf7fe  0xf8a1 - 0xf8fe  0xf9a1 - 0xf9fe  
111IDEOGRAM     0xfaa1 - 0xfafe  0xfba1 - 0xfbfe  0xfca1 - 0xfcfe  
112IDEOGRAM     0xfda1 - 0xfdfe  /* Hanja */
113
114/* We don't have codeset 3 and 4.
115   So codeset 3 is only dummy definition 
116 */
117PRINT        0xa1 - 0xfe
118SPECIAL      0xa1 - 0xfe
119
120/* End of LC_CTYPE definition */
121