summaryrefslogtreecommitdiffstats
path: root/usr.bin/mklocale
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-02-22 22:50:57 +0000
committerache <ache@FreeBSD.org>1997-02-22 22:50:57 +0000
commit79e903221e7cfbe0f92aa5f3c02a00ea9d71b785 (patch)
tree7622814e7d42357d77d1b6c04654042d0835584a /usr.bin/mklocale
parentcfa5514937d1c66c3eccdc56c4cc07b2da86ab41 (diff)
downloadFreeBSD-src-79e903221e7cfbe0f92aa5f3c02a00ea9d71b785.zip
FreeBSD-src-79e903221e7cfbe0f92aa5f3c02a00ea9d71b785.tar.gz
Add Korean CTYPE locale
Submitted by: Choi Jun Ho <junker@jazz.snu.ac.kr>
Diffstat (limited to 'usr.bin/mklocale')
-rw-r--r--usr.bin/mklocale/data/Makefile5
-rw-r--r--usr.bin/mklocale/data/ko_KR.EUC.src114
2 files changed, 117 insertions, 2 deletions
diff --git a/usr.bin/mklocale/data/Makefile b/usr.bin/mklocale/data/Makefile
index 78a9806..59f5139 100644
--- a/usr.bin/mklocale/data/Makefile
+++ b/usr.bin/mklocale/data/Makefile
@@ -1,9 +1,10 @@
-# $Id$
+# $Id: Makefile,v 1.5 1997/02/22 19:56:11 peter Exp $
NOMAN=YES
CLEANFILES+= ${LOCALES:S/$/.out/g}
-LOCALES= ja_JP.EUC ru_SU.KOI8-R lt_LN.ASCII lt_LN.ISO_8859-1 ru_SU.CP866
+LOCALES= ja_JP.EUC ko_KR.EUC lt_LN.ASCII lt_LN.ISO_8859-1 \
+ ru_SU.KOI8-R ru_SU.CP866
LOCALEDIR= ${DESTDIR}/usr/share/locale
.if exists(${.OBJDIR}/..)
diff --git a/usr.bin/mklocale/data/ko_KR.EUC.src b/usr.bin/mklocale/data/ko_KR.EUC.src
new file mode 100644
index 0000000..48a2493
--- /dev/null
+++ b/usr.bin/mklocale/data/ko_KR.EUC.src
@@ -0,0 +1,114 @@
+/*
+ * Korean LOCALE_CTYPE definitions using EUC-KR character sets
+ *
+ * Choi Jun Ho, junker@vishnu.snu.ac.kr
+ * NARAE, Seoul National Univ., CS Dept.
+ * 96.12.3
+ *
+ * It is based on manpage mklocale(1), euc(4).
+ *
+ */
+
+ENCODING "EUC"
+
+/* EUC-KR
+ * 0xa1a1-0xfefe
+ * byte 1: 0xa1-0xfe
+ * byte 2: 0xa1-0xfe
+ */
+
+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 'a' - 'f' 'A' - 'F'
+BLANK ' '
+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 0xa3e1 - 0xa3fa
+DIGIT 0xa3b0 - 0xa3b9
+UPPER 0xa3c1 - 0xa3da
+LOWER 0xa3e1 - 0xa3fa
+PUNCT 0xa3a1 - 0xa3af 0xa3ba - 0xa3c0 0xa3db - 0xa3e0 0xa3fb - 0xa3fe
+SPACE 0xa1a1
+XDIGIT 0xa3c1 - 0xa3c6 0xa3e1 - 0xa3e6
+BLANK 0xa1a1
+PRINT 0xa1a1 - 0xfefe
+SPECIAL 0xa1a2 - 0xa2e5
+
+MAPLOWER < 0xa3c1 - 0xa3da : 0xa3e1 > < 0xa3e1 - 0xa3fa : 0xa3e1 >
+MAPUPPER < 0xa3c1 - 0xa3da : 0xa3c1 > < 0xa3b0 - 0xa3b9 : 0xa3c1 >
+TODIGIT < 0xa3b1 - 0xa3b9 : 0 >
+TODIGIT < 0xa3c1 - 0xa3c6 : 10 > < 0xa3e1 - 0xa3e6 : 10 >
+
+
+UPPER 0xa5c1 - 0xa5d8 /* Greek */
+LOWER 0xa5e1 - 0xa5f8 /* Greek */
+MAPLOWER < 0xa5c1 - 0xa5d8 : 0xa5e1 > < 0xa5e1 - 0xa5f8 : 0xa5e1 >
+MAPUPPER < 0xa5c1 - 0xa5d8 : 0xa5c1 > < 0xa5e1 - 0xa5f8 : 0xa5c1 >
+
+UPPER 0xaca1 - 0xacc1 /* Cyrillic */
+LOWER 0xacd1 - 0xacf1 /* Cyrillic */
+MAPLOWER < 0xaca1 - 0xacc1 : 0xacd1 > < 0xacd1 - 0xacf1 : 0xacd1 >
+MAPUPPER < 0xaca1 - 0xacc1 : 0xaca1 > < 0xacd1 - 0xacf1 : 0xaca1 >
+
+SPECIAL 0xa5a1 - 0xa5aa 0xa5b0 - 0xa5b9 /* greek digit */
+SPECIAL 0xa6a1 - 0xa6e4 0xa7a1 - 0xa7ef /* symbols */
+SPECIAL 0xa8a1 - 0xa8fe 0xa9a1 - 0xa9fe /* circle symbols */
+
+PHONOGRAM 0xa4a1 - 0xa4fe /* no combined hangul */
+PHONOGRAM 0xaaa1 - 0xaaf3 /* hirakana */
+PHONOGRAM 0xaba1 - 0xabf3 /* 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 - 0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