Add fake codesets 3 & 4

Submitted by: junker@jazz.snu.ac.kr
This commit is contained in:
ache 1997-03-25 16:03:16 +00:00
parent c599221790
commit 87128e316a
3 changed files with 69 additions and 45 deletions

View File

@ -1,9 +1,10 @@
/*
* Korean LOCALE_CTYPE definitions using EUC-KR character sets
* 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.
* Mar 11 1997
* Last Updated on Mar 24 1997
*
* It is based on manpage mklocale(1), euc(4), ja_JP.EUC.src.
*
@ -11,14 +12,16 @@
ENCODING "EUC"
/* EUC-KR
/* EUC-KR(KS C 5601.1992)
* 0xa1a1-0xfefe
* byte 1: 0xa1-0xfe
* byte 2: 0xa1-0xfe
*/
/* we have codeset 1 and 2 */
VARIABLE 1 0x0000 2 0x8080 0x8080
/* 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
@ -70,13 +73,13 @@ LOWER 0xacd1 - 0xacf1 /* Cyrillic */
MAPLOWER < 0xaca1 - 0xacc1 : 0xacd1 > < 0xacd1 - 0xacf1 : 0xacd1 >
MAPUPPER < 0xaca1 - 0xacc1 : 0xaca1 > < 0xacd1 - 0xacf1 : 0xaca1 >
DIGIT 0xa5a1 - 0xa5aa 0xa5b0 - 0xa5b9 /* greek digit */
SPECIAL 0xa6a1 - 0xa6e4 0xa7a1 - 0xa7ef /* symbols */
SPECIAL 0xa8a1 - 0xa8fe 0xa9a1 - 0xa9fe /* circle symbols */
DIGIT 0xa5a1 - 0xa5aa 0xa5b0 - 0xa5b9 /* Greek Digit */
SPECIAL 0xa6a1 - 0xa6e4 0xa7a1 - 0xa7ef /* 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 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
@ -86,7 +89,7 @@ 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 */
PHONOGRAM 0xc8a1 - 0xc8fe /* Hangul composed */
IDEOGRAM 0xcaa1 - 0xcafe 0xcba1 - 0xcbfe 0xcca1 - 0xccfe
IDEOGRAM 0xcda1 - 0xcdfe 0xcea1 - 0xcefe 0xcfa1 - 0xcffe
@ -105,7 +108,12 @@ IDEOGRAM 0xf1a1 - 0xf1fe 0xf2a1 - 0xf2fe 0xf3a1 - 0xf3fe
IDEOGRAM 0xf4a1 - 0xf4fe 0xf5a1 - 0xf5fe 0xf6a1 - 0xf6fe
IDEOGRAM 0xf7a1 - 0xf7fe 0xf8a1 - 0xf8fe 0xf9a1 - 0xf9fe
IDEOGRAM 0xfaa1 - 0xfafe 0xfba1 - 0xfbfe 0xfca1 - 0xfcfe
IDEOGRAM 0xfda1 - 0xfdfe /* hanja */
IDEOGRAM 0xfda1 - 0xfdfe /* Hanja */
/* we don't have codeset 3 and 4 */
/* end of LC_CTYPE definition */
/* We don't have codeset 3 and 4.
So codeset 3 is only dummy definition
*/
PRINT 0xa1 - 0xfe
SPECIAL 0xa1 - 0xfe
/* End of LC_CTYPE definition */

View File

@ -1,9 +1,10 @@
/*
* Korean LOCALE_CTYPE definitions using EUC-KR character sets
* 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.
* Mar 11 1997
* Last Updated on Mar 24 1997
*
* It is based on manpage mklocale(1), euc(4), ja_JP.EUC.src.
*
@ -11,14 +12,16 @@
ENCODING "EUC"
/* EUC-KR
/* EUC-KR(KS C 5601.1992)
* 0xa1a1-0xfefe
* byte 1: 0xa1-0xfe
* byte 2: 0xa1-0xfe
*/
/* we have codeset 1 and 2 */
VARIABLE 1 0x0000 2 0x8080 0x8080
/* 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
@ -70,13 +73,13 @@ LOWER 0xacd1 - 0xacf1 /* Cyrillic */
MAPLOWER < 0xaca1 - 0xacc1 : 0xacd1 > < 0xacd1 - 0xacf1 : 0xacd1 >
MAPUPPER < 0xaca1 - 0xacc1 : 0xaca1 > < 0xacd1 - 0xacf1 : 0xaca1 >
DIGIT 0xa5a1 - 0xa5aa 0xa5b0 - 0xa5b9 /* greek digit */
SPECIAL 0xa6a1 - 0xa6e4 0xa7a1 - 0xa7ef /* symbols */
SPECIAL 0xa8a1 - 0xa8fe 0xa9a1 - 0xa9fe /* circle symbols */
DIGIT 0xa5a1 - 0xa5aa 0xa5b0 - 0xa5b9 /* Greek Digit */
SPECIAL 0xa6a1 - 0xa6e4 0xa7a1 - 0xa7ef /* 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 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
@ -86,7 +89,7 @@ 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 */
PHONOGRAM 0xc8a1 - 0xc8fe /* Hangul composed */
IDEOGRAM 0xcaa1 - 0xcafe 0xcba1 - 0xcbfe 0xcca1 - 0xccfe
IDEOGRAM 0xcda1 - 0xcdfe 0xcea1 - 0xcefe 0xcfa1 - 0xcffe
@ -105,7 +108,12 @@ IDEOGRAM 0xf1a1 - 0xf1fe 0xf2a1 - 0xf2fe 0xf3a1 - 0xf3fe
IDEOGRAM 0xf4a1 - 0xf4fe 0xf5a1 - 0xf5fe 0xf6a1 - 0xf6fe
IDEOGRAM 0xf7a1 - 0xf7fe 0xf8a1 - 0xf8fe 0xf9a1 - 0xf9fe
IDEOGRAM 0xfaa1 - 0xfafe 0xfba1 - 0xfbfe 0xfca1 - 0xfcfe
IDEOGRAM 0xfda1 - 0xfdfe /* hanja */
IDEOGRAM 0xfda1 - 0xfdfe /* Hanja */
/* we don't have codeset 3 and 4 */
/* end of LC_CTYPE definition */
/* We don't have codeset 3 and 4.
So codeset 3 is only dummy definition
*/
PRINT 0xa1 - 0xfe
SPECIAL 0xa1 - 0xfe
/* End of LC_CTYPE definition */

View File

@ -1,9 +1,10 @@
/*
* Korean LOCALE_CTYPE definitions using EUC-KR character sets
* 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.
* Mar 11 1997
* Last Updated on Mar 24 1997
*
* It is based on manpage mklocale(1), euc(4), ja_JP.EUC.src.
*
@ -11,14 +12,16 @@
ENCODING "EUC"
/* EUC-KR
/* EUC-KR(KS C 5601.1992)
* 0xa1a1-0xfefe
* byte 1: 0xa1-0xfe
* byte 2: 0xa1-0xfe
*/
/* we have codeset 1 and 2 */
VARIABLE 1 0x0000 2 0x8080 0x8080
/* 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
@ -70,13 +73,13 @@ LOWER 0xacd1 - 0xacf1 /* Cyrillic */
MAPLOWER < 0xaca1 - 0xacc1 : 0xacd1 > < 0xacd1 - 0xacf1 : 0xacd1 >
MAPUPPER < 0xaca1 - 0xacc1 : 0xaca1 > < 0xacd1 - 0xacf1 : 0xaca1 >
DIGIT 0xa5a1 - 0xa5aa 0xa5b0 - 0xa5b9 /* greek digit */
SPECIAL 0xa6a1 - 0xa6e4 0xa7a1 - 0xa7ef /* symbols */
SPECIAL 0xa8a1 - 0xa8fe 0xa9a1 - 0xa9fe /* circle symbols */
DIGIT 0xa5a1 - 0xa5aa 0xa5b0 - 0xa5b9 /* Greek Digit */
SPECIAL 0xa6a1 - 0xa6e4 0xa7a1 - 0xa7ef /* 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 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
@ -86,7 +89,7 @@ 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 */
PHONOGRAM 0xc8a1 - 0xc8fe /* Hangul composed */
IDEOGRAM 0xcaa1 - 0xcafe 0xcba1 - 0xcbfe 0xcca1 - 0xccfe
IDEOGRAM 0xcda1 - 0xcdfe 0xcea1 - 0xcefe 0xcfa1 - 0xcffe
@ -105,7 +108,12 @@ IDEOGRAM 0xf1a1 - 0xf1fe 0xf2a1 - 0xf2fe 0xf3a1 - 0xf3fe
IDEOGRAM 0xf4a1 - 0xf4fe 0xf5a1 - 0xf5fe 0xf6a1 - 0xf6fe
IDEOGRAM 0xf7a1 - 0xf7fe 0xf8a1 - 0xf8fe 0xf9a1 - 0xf9fe
IDEOGRAM 0xfaa1 - 0xfafe 0xfba1 - 0xfbfe 0xfca1 - 0xfcfe
IDEOGRAM 0xfda1 - 0xfdfe /* hanja */
IDEOGRAM 0xfda1 - 0xfdfe /* Hanja */
/* we don't have codeset 3 and 4 */
/* end of LC_CTYPE definition */
/* We don't have codeset 3 and 4.
So codeset 3 is only dummy definition
*/
PRINT 0xa1 - 0xfe
SPECIAL 0xa1 - 0xfe
/* End of LC_CTYPE definition */