LC_CTYPE locale files for citrus xpg4 locale.

This commit is contained in:
itojun 2000-12-22 00:36:05 +00:00
parent ef86e1e3da
commit 3e567fe207
38 changed files with 3625 additions and 0 deletions

5
share/mklocale/Makefile Normal file
View File

@ -0,0 +1,5 @@
# $NetBSD: Makefile,v 1.2 2000/12/22 00:36:05 itojun Exp $
# cistrus Id: Makefile,v 1.3 2000/11/22 17:51:15 itojun Exp
LOCALEDIR= ${DESTDIR}/usr/share/locale
.include "Makefile.inc"

310
share/mklocale/Makefile.inc Normal file
View File

@ -0,0 +1,310 @@
# $NetBSD: Makefile.inc,v 1.2 2000/12/22 00:36:05 itojun Exp $
# $FreeBSD: src/usr.bin/mklocale/data/Makefile,v 1.17.2.3 1999/08/29 15:31:04 peter Exp $
NOMAN=YES
# XXX cross builds?
MKLOCALE_OBJDIR!=cd $(.CURDIR)/../../usr.bin/mklocale; ${MAKE} print-objdir
MKLOCALE_CMD= ${MKLOCALE_OBJDIR}/mklocale
MKLOCALE=LD_LIBRARY_PATH=${DESTDIR}/usr/lib ${MKLOCALE_CMD}
LOCALES += da_DK.ISO8859-1
LOCALESRC_da_DK.ISO8859-1 = la_LN.ISO_8859-1
ALIASES_da_DK.ISO8859-1+=
LOCALES += da_DK.ISO8859-15
LOCALESRC_da_DK.ISO8859-15 = la_LN.DIS_8859-15
ALIASES_da_DK.ISO8859-15+=
LOCALES += de_AT.ISO8859-1
LOCALESRC_de_AT.ISO8859-1 = la_LN.ISO_8859-1
ALIASES_de_AT.ISO8859-1+=
LOCALES += de_AT.ISO8859-15
LOCALESRC_de_AT.ISO8859-15 = la_LN.DIS_8859-15
ALIASES_de_AT.ISO8859-15+=
LOCALES += de_CH.ISO8859-1
LOCALESRC_de_CH.ISO8859-1 = la_LN.ISO_8859-1
ALIASES_de_CH.ISO8859-1+=
LOCALES += de_CH.ISO8859-15
LOCALESRC_de_CH.ISO8859-15 = la_LN.DIS_8859-15
ALIASES_de_CH.ISO8859-15+=
LOCALES += de_DE.ISO8859-1
LOCALESRC_de_DE.ISO8859-1 = la_LN.ISO_8859-1
ALIASES_de_DE.ISO8859-1+=
LOCALES += de_DE.ISO8859-15
LOCALESRC_de_DE.ISO8859-15 = la_LN.DIS_8859-15
ALIASES_de_DE.ISO8859-15+=
LOCALES += en_AU.ISO8859-1
LOCALESRC_en_AU.ISO8859-1 = la_LN.ISO_8859-1
ALIASES_en_AU.ISO8859-1+=
LOCALES += en_AU.ISO8859-15
LOCALESRC_en_AU.ISO8859-15 = la_LN.DIS_8859-15
ALIASES_en_AU.ISO8859-15+=
LOCALES += en_CA.ISO8859-1
LOCALESRC_en_CA.ISO8859-1 = la_LN.ISO_8859-1
ALIASES_en_CA.ISO8859-1+=
LOCALES += en_CA.ISO8859-15
LOCALESRC_en_CA.ISO8859-15 = la_LN.DIS_8859-15
ALIASES_en_CA.ISO8859-15+=
LOCALES += en_GB.ISO8859-1
LOCALESRC_en_GB.ISO8859-1 = la_LN.ISO_8859-1
ALIASES_en_GB.ISO8859-1+=
LOCALES += en_GB.ISO8859-15
LOCALESRC_en_GB.ISO8859-15 = la_LN.DIS_8859-15
ALIASES_en_GB.ISO8859-15+=
LOCALES += en_US.ISO8859-1
LOCALESRC_en_US.ISO8859-1 = la_LN.ISO_8859-1
ALIASES_en_US.ISO8859-1+=
LOCALES += en_US.ISO8859-15
LOCALESRC_en_US.ISO8859-15 = la_LN.DIS_8859-15
ALIASES_en_US.ISO8859-15+=
LOCALES += es_ES.ISO8859-1
LOCALESRC_es_ES.ISO8859-1 = la_LN.ISO_8859-1
ALIASES_es_ES.ISO8859-1+=
LOCALES += es_ES.ISO8859-15
LOCALESRC_es_ES.ISO8859-15 = la_LN.DIS_8859-15
ALIASES_es_ES.ISO8859-15+=
LOCALES += fi_FI.ISO8859-1
LOCALESRC_fi_FI.ISO8859-1 = la_LN.ISO_8859-1
ALIASES_fi_FI.ISO8859-1+=
LOCALES += fi_FI.ISO8859-15
LOCALESRC_fi_FI.ISO8859-15 = la_LN.DIS_8859-15
ALIASES_fi_FI.ISO8859-15+=
LOCALES += fr_BE.ISO8859-1
LOCALESRC_fr_BE.ISO8859-1 = la_LN.ISO_8859-1
ALIASES_fr_BE.ISO8859-1+=
LOCALES += fr_BE.ISO8859-15
LOCALESRC_fr_BE.ISO8859-15 = la_LN.DIS_8859-15
ALIASES_fr_BE.ISO8859-15+=
LOCALES += fr_CA.ISO8859-1
LOCALESRC_fr_CA.ISO8859-1 = la_LN.ISO_8859-1
ALIASES_fr_CA.ISO8859-1+=
LOCALES += fr_CA.ISO8859-15
LOCALESRC_fr_CA.ISO8859-15 = la_LN.DIS_8859-15
ALIASES_fr_CA.ISO8859-15+=
LOCALES += fr_CH.ISO8859-1
LOCALESRC_fr_CH.ISO8859-1 = la_LN.ISO_8859-1
ALIASES_fr_CH.ISO8859-1+=
LOCALES += fr_CH.ISO8859-15
LOCALESRC_fr_CH.ISO8859-15 = la_LN.DIS_8859-15
ALIASES_fr_CH.ISO8859-15+=
LOCALES += fr_FR.ISO8859-1
LOCALESRC_fr_FR.ISO8859-1 = la_LN.ISO_8859-1
ALIASES_fr_FR.ISO8859-1+=
LOCALES += fr_FR.ISO8859-15
LOCALESRC_fr_FR.ISO8859-15 = la_LN.DIS_8859-15
ALIASES_fr_FR.ISO8859-15+=
LOCALES += is_IS.ISO8859-1
LOCALESRC_is_IS.ISO8859-1 = la_LN.ISO_8859-1
ALIASES_is_IS.ISO8859-1+=
LOCALES += is_IS.ISO8859-15
LOCALESRC_is_IS.ISO8859-15 = la_LN.DIS_8859-15
ALIASES_is_IS.ISO8859-15+=
LOCALES += it_CH.ISO8859-1
LOCALESRC_it_CH.ISO8859-1 = la_LN.ISO_8859-1
ALIASES_it_CH.ISO8859-1+=
LOCALES += it_CH.ISO8859-15
LOCALESRC_it_CH.ISO8859-15 = la_LN.DIS_8859-15
ALIASES_it_CH.ISO8859-15+=
LOCALES += it_IT.ISO8859-1
LOCALESRC_it_IT.ISO8859-1 = la_LN.ISO_8859-1
ALIASES_it_IT.ISO8859-1+=
LOCALES += it_IT.ISO8859-15
LOCALESRC_it_IT.ISO8859-15 = la_LN.DIS_8859-15
ALIASES_it_IT.ISO8859-15+=
LOCALES += nl_BE.ISO8859-1
LOCALESRC_nl_BE.ISO8859-1 = la_LN.ISO_8859-1
ALIASES_nl_BE.ISO8859-1+=
LOCALES += nl_BE.ISO8859-15
LOCALESRC_nl_BE.ISO8859-15 = la_LN.DIS_8859-15
ALIASES_nl_BE.ISO8859-15+=
LOCALES += nl_NL.ISO8859-1
LOCALESRC_nl_NL.ISO8859-1 = la_LN.ISO_8859-1
ALIASES_nl_NL.ISO8859-1+=
LOCALES += nl_NL.ISO8859-15
LOCALESRC_nl_NL.ISO8859-15 = la_LN.DIS_8859-15
ALIASES_nl_NL.ISO8859-15+=
LOCALES += no_NO.ISO8859-1
LOCALESRC_no_NO.ISO8859-1 = la_LN.ISO_8859-1
ALIASES_no_NO.ISO8859-1+=
LOCALES += no_NO.ISO8859-15
LOCALESRC_no_NO.ISO8859-15 = la_LN.DIS_8859-15
ALIASES_no_NO.ISO8859-15+=
LOCALES += pt_PT.ISO8859-1
LOCALESRC_pt_PT.ISO8859-1 = la_LN.ISO_8859-1
ALIASES_pt_PT.ISO8859-1+=
LOCALES += pt_PT.ISO8859-15
LOCALESRC_pt_PT.ISO8859-15 = la_LN.DIS_8859-15
ALIASES_pt_PT.ISO8859-15+=
LOCALES += sv_SE.ISO8859-1
LOCALESRC_sv_SE.ISO8859-1 = la_LN.ISO_8859-1
ALIASES_sv_SE.ISO8859-1+=
LOCALES += sv_SE.ISO8859-15
LOCALESRC_sv_SE.ISO8859-15 = la_LN.DIS_8859-15
ALIASES_sv_SE.ISO8859-15+=
LOCALES += hr_HR.ISO8859-2
LOCALESRC_hr_HR.ISO8859-2 = la_LN.ISO_8859-2
ALIASES_hr_HR.ISO8859-2+=
LOCALES += hu_HU.ISO8859-2
LOCALESRC_hu_HU.ISO8859-2 = la_LN.ISO_8859-2
ALIASES_hu_HU.ISO8859-2+=
LOCALES += pl_PL.ISO8859-2
LOCALESRC_pl_PL.ISO8859-2 = la_LN.ISO_8859-2
ALIASES_pl_PL.ISO8859-2+=
LOCALES += sl_SI.ISO8859-2
LOCALESRC_sl_SI.ISO8859-2 = la_LN.ISO_8859-2
ALIASES_sl_SI.ISO8859-2+=
LOCALES += cs_CZ.ISO8859-2
LOCALESRC_cs_CZ.ISO8859-2 = la_LN.ISO_8859-2
ALIASES_cs_CZ.ISO8859-2+=
LOCALES += lt_LT.ISO8859-4
LOCALESRC_lt_LT.ISO8859-4 = la_LN.ISO_8859-4
ALIASES_lt_LT.ISO8859-4+=
LOCALES += en_US.UTF-8
LOCALESRC_en_US.UTF-8 = en_US.UTF-8
ALIASES_en_US.UTF-8+=
LOCALES += ja_JP.eucJP
LOCALESRC_ja_JP.eucJP = ja_JP.eucJP
ALIASES_ja_JP.eucJP+=
LOCALES += ko_KR.eucKR
LOCALESRC_ko_KR.eucKR = ko_KR.eucKR
ALIASES_ko_KR.eucKR+=
LOCALES += zh_CN.eucCN
LOCALESRC_zh_CN.eucCN = zh_CN.eucCN
ALIASES_zh_CN.eucCN+=
# XXX: EUC-TW is not EUC!
LOCALES += zh_TW.eucTW
LOCALESRC_zh_TW.eucTW = zh_TW.eucTW
ALIASES_zh_TW.eucTW+=
LOCALES += ja_JP.ISO2022-JP
LOCALESRC_ja_JP.ISO2022-JP = ja_JP.ISO-2022-JP
ALIASES_ja_JP.ISO2022-JP+=
LOCALES += ja_JP.ISO2022-JP2
LOCALESRC_ja_JP.ISO2022-JP2 = ja_JP.ISO-2022-JP-2
ALIASES_ja_JP.ISO2022-JP2+=
LOCALES += ja_JP.ct
LOCALESRC_ja_JP.ct = ja_JP.CTEXT
ALIASES_ja_JP.ct+=
LOCALES += ja_JP.SJIS
LOCALESRC_ja_JP.SJIS = ja_JP.SJIS
ALIASES_ja_JP.SJIS+=
LOCALES += zh_TW.Big5
LOCALESRC_zh_TW.Big5 = zh_TW.BIG5
ALIASES_zh_TW.Big5+= zh_TW.BIG5
LOCALES += ru_SU.CP866
LOCALESRC_ru_SU.CP866 = ru_SU.CP866
ALIASES_ru_SU.CP866+=
LOCALES += ru_SU.KOI8-R
LOCALESRC_ru_SU.KOI8-R = ru_SU.KOI8-R
ALIASES_ru_SU.KOI8-R+=
LOCALES += ru_SU.ISO8859-5
LOCALESRC_ru_SU.ISO8859-5 = ru_SU.ISO_8859-5
ALIASES_ru_SU.ISO8859-5+=
LOCALES += uk_UA.KOI8-U
LOCALESRC_uk_UA.KOI8-U = uk_UA.KOI8-U
ALIASES_uk_UA.KOI8-U+=
.if !defined(LOCALEDIR)
LOCALEDIR= ${DESTDIR}/usr/share/locale
.endif
.for locale in ${LOCALES}
LOCALESRCS += ${LOCALESRC_${locale}}
.endfor
CLEANFILES+= ${LOCALESRCS:S/$/.out/g}
.SUFFIXES: .src .out
.src.out:
cpp -I${.CURDIR} < ${.IMPSRC} | sed -e '/^#/d' | \
${MKLOCALE} -o ${.TARGET}
.if !defined(_BUILD_TOOLS)
all: ${LOCALESRCS:S/$/.out/g}
realall: ${LOCALESRCS:S/$/.out/g} # XXX for NetBSD-current XXX
.endif
.if !defined(_BUILD_TOOLS)
afterinstall:
if [ ! -e ${LOCALEDIR} ] ; then \
mkdir ${LOCALEDIR}; \
fi
.for locale in ${LOCALES}
if [ ! -e ${LOCALEDIR}/${locale} ] ; then \
mkdir ${LOCALEDIR}/${locale}; \
fi
${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} \
${LOCALESRC_${locale}}.out ${LOCALEDIR}/${locale}/LC_CTYPE
.for alias in ${ALIASES_${locale}}
if [ ! -e ${LOCALEDIR}/${alias} ] ; then \
ln -s ${locale} ${LOCALEDIR}/${alias}; \
fi
.endfor
.endfor
.endif
.include <bsd.prog.mk>

View File

@ -0,0 +1,27 @@
/* $NetBSD: ASCII,v 1.2 2000/12/22 00:36:07 itojun Exp $ */
/*
* ASCII Code Set (ESC ( B)
*/
CHARSET "(B"
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 ' ' '\t'
PRINT 0x20 - 0x7e
SWIDTH1 0x20 - 0x7e
MAPLOWER < 'A' - 'Z' : 'a' >
MAPLOWER < 'a' - 'z' : 'a' >
MAPUPPER < 'A' - 'Z' : 'A' >
MAPUPPER < 'a' - 'z' : 'A' >
TODIGIT < '0' - '9' : 0 >
TODIGIT < 'A' - 'F' : 10 >
TODIGIT < 'a' - 'f' : 10 >

View File

@ -0,0 +1,235 @@
/* $NetBSD: GB2312,v 1.1 2000/12/22 00:36:07 itojun Exp $ */
/*
* GB2312 (ESC $ ( A or ESC $ A)
*/
CHARSET "$(A"
/*-
* Copyright (c) 1998, Luoqi Chen
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $FreeBSD: src/usr.bin/mklocale/data/zh_CN.EUC.src,v 1.2.2.1 1999/08/29 15:31:06 peter Exp $
*/
SPACE 0x2121
BLANK 0x2121
PUNCT 0x2122 - 0x217e
SWIDTH2 0x2121 - 0x217e
DIGIT 0x2231 - 0x2262 0x2265 - 0x226e 0x2271 - 0x227c
SWIDTH2 0x2231 - 0x2262 0x2265 - 0x226e 0x2271 - 0x227c
TODIGIT < 0x2231 - 0x2244 : 0 >
TODIGIT < 0x2245 - 0x2258 : 0 >
TODIGIT < 0x2259 - 0x2262 : 0 >
TODIGIT < 0x2265 - 0x226e : 0 >
TODIGIT < 0x2271 - 0x227c : 0 >
ALPHA 0x2341 - 0x235a 0x2361 - 0x237a
SWIDTH2 0x2341 - 0x235a 0x2361 - 0x237a
DIGIT 0x2330 - 0x2339
SWIDTH2 0x2330 - 0x2339
UPPER 0x2341 - 0x235a
LOWER 0x2361 - 0x237a
PUNCT 0x2321 - 0x232f 0x233a - 0x2340 0x235b - 0x2360 0x237b - 0x237e
SWIDTH2 0x2321 - 0x232f 0x233a - 0x2340 0x235b - 0x2360 0x237b - 0x237e
XDIGIT 0x2330 - 0x2339 0x2341 - 0x2346 0x2361 - 0x2366
MAPLOWER < 0x2341 - 0x235a : 0x2361 > < 0x2361 - 0x237a : 0x2361 >
MAPUPPER < 0x2341 - 0x235a : 0x2341 > < 0x2330 - 0x2339 : 0x2341 >
TODIGIT < 0x2330 - 0x2339 : 0 >
TODIGIT < 0x2341 - 0x2346 : 10 > < 0x2361 - 0x2366 : 10 >
PHONOGRAM 0x2421 - 0x2473 /* Hiragana */
PHONOGRAM 0x2521 - 0x2576 /* Katakana */
SWIDTH2 0x2421 - 0x2473 /* Hiragana */
SWIDTH2 0x2521 - 0x2576 /* Katakana */
UPPER 0x2621 - 0x2638 /* Greek */
LOWER 0x2641 - 0x2658 /* Greek */
SWIDTH2 0x2621 - 0x2638 /* Greek */
SWIDTH2 0x2641 - 0x2658 /* Greek */
MAPLOWER < 0x2621 - 0x2638 : 0x2641 > < 0x2641 - 0x2658 : 0x2641 >
MAPUPPER < 0x2621 - 0x2638 : 0x2621 > < 0x2641 - 0x2658 : 0x2621 >
UPPER 0x2721 - 0x2741 /* Cyrillic */
LOWER 0x2751 - 0x2771 /* Cyrillic */
SWIDTH2 0x2721 - 0x2741 /* Cyrillic */
SWIDTH2 0x2751 - 0x2771 /* Cyrillic */
MAPLOWER < 0x2721 - 0x2741 : 0x2751 > < 0x2751 - 0x2771 : 0x2751 >
MAPUPPER < 0x2721 - 0x2741 : 0x2721 > < 0x2751 - 0x2771 : 0x2721 >
SPECIAL 0x2821 - 0x283a
SWIDTH2 0x2821 - 0x283a
PHONOGRAM 0x2845 - 0x2869 /* Pin yin */
SWIDTH2 0x2845 - 0x2869 /* Pin yin */
SPECIAL 0x2924 - 0x296f /* Box drawings */
SWIDTH2 0x2924 - 0x296f /* Box drawings */
IDEOGRAM 0x3021 - 0x307e
IDEOGRAM 0x3121 - 0x317e
IDEOGRAM 0x3221 - 0x327e
IDEOGRAM 0x3321 - 0x337e
IDEOGRAM 0x3421 - 0x347e
IDEOGRAM 0x3521 - 0x357e
IDEOGRAM 0x3621 - 0x367e
IDEOGRAM 0x3721 - 0x377e
IDEOGRAM 0x3821 - 0x387e
IDEOGRAM 0x3921 - 0x397e
IDEOGRAM 0x3a21 - 0x3a7e
IDEOGRAM 0x3b21 - 0x3b7e
IDEOGRAM 0x3c21 - 0x3c7e
IDEOGRAM 0x3d21 - 0x3d7e
IDEOGRAM 0x3e21 - 0x3e7e
IDEOGRAM 0x3f21 - 0x3f7e
IDEOGRAM 0x4021 - 0x407e
IDEOGRAM 0x4121 - 0x417e
IDEOGRAM 0x4221 - 0x427e
IDEOGRAM 0x4321 - 0x437e
IDEOGRAM 0x4421 - 0x447e
IDEOGRAM 0x4521 - 0x457e
IDEOGRAM 0x4621 - 0x467e
IDEOGRAM 0x4721 - 0x477e
IDEOGRAM 0x4821 - 0x487e
IDEOGRAM 0x4921 - 0x497e
IDEOGRAM 0x4a21 - 0x4a7e
IDEOGRAM 0x4b21 - 0x4b7e
IDEOGRAM 0x4c21 - 0x4c7e
IDEOGRAM 0x4d21 - 0x4d7e
IDEOGRAM 0x4e21 - 0x4e7e
IDEOGRAM 0x4f21 - 0x4f53
IDEOGRAM 0x5021 - 0x507e
IDEOGRAM 0x5121 - 0x517e
IDEOGRAM 0x5221 - 0x527e
IDEOGRAM 0x5321 - 0x537e
IDEOGRAM 0x5421 - 0x547e
IDEOGRAM 0x5521 - 0x557e
IDEOGRAM 0x5621 - 0x567e
IDEOGRAM 0x5721 - 0x577e
IDEOGRAM 0x5821 - 0x587e
IDEOGRAM 0x5921 - 0x597e
IDEOGRAM 0x5a21 - 0x5a7e
IDEOGRAM 0x5b21 - 0x5b7e
IDEOGRAM 0x5c21 - 0x5c7e
IDEOGRAM 0x5d21 - 0x5d7e
IDEOGRAM 0x5e21 - 0x5e7e
IDEOGRAM 0x5f21 - 0x5f7e
IDEOGRAM 0x6021 - 0x607e
IDEOGRAM 0x6121 - 0x617e
IDEOGRAM 0x6221 - 0x627e
IDEOGRAM 0x6321 - 0x637e
IDEOGRAM 0x6421 - 0x647e
IDEOGRAM 0x6521 - 0x657e
IDEOGRAM 0x6621 - 0x667e
IDEOGRAM 0x6721 - 0x677e
IDEOGRAM 0x6821 - 0x687e
IDEOGRAM 0x6921 - 0x697e
IDEOGRAM 0x6a21 - 0x6a7e
IDEOGRAM 0x6b21 - 0x6b7e
IDEOGRAM 0x6c21 - 0x6c7e
IDEOGRAM 0x6d21 - 0x6d7e
IDEOGRAM 0x6e21 - 0x6e7e
IDEOGRAM 0x6f21 - 0x6f7e
IDEOGRAM 0x7021 - 0x707e
IDEOGRAM 0x7121 - 0x717e
IDEOGRAM 0x7221 - 0x727e
IDEOGRAM 0x7321 - 0x737e
IDEOGRAM 0x7421 - 0x747e
IDEOGRAM 0x7521 - 0x757e
IDEOGRAM 0x7621 - 0x767e
IDEOGRAM 0x7721 - 0x777e
SWIDTH2 0x3021 - 0x307e
SWIDTH2 0x3121 - 0x317e
SWIDTH2 0x3221 - 0x327e
SWIDTH2 0x3321 - 0x337e
SWIDTH2 0x3421 - 0x347e
SWIDTH2 0x3521 - 0x357e
SWIDTH2 0x3621 - 0x367e
SWIDTH2 0x3721 - 0x377e
SWIDTH2 0x3821 - 0x387e
SWIDTH2 0x3921 - 0x397e
SWIDTH2 0x3a21 - 0x3a7e
SWIDTH2 0x3b21 - 0x3b7e
SWIDTH2 0x3c21 - 0x3c7e
SWIDTH2 0x3d21 - 0x3d7e
SWIDTH2 0x3e21 - 0x3e7e
SWIDTH2 0x3f21 - 0x3f7e
SWIDTH2 0x4021 - 0x407e
SWIDTH2 0x4121 - 0x417e
SWIDTH2 0x4221 - 0x427e
SWIDTH2 0x4321 - 0x437e
SWIDTH2 0x4421 - 0x447e
SWIDTH2 0x4521 - 0x457e
SWIDTH2 0x4621 - 0x467e
SWIDTH2 0x4721 - 0x477e
SWIDTH2 0x4821 - 0x487e
SWIDTH2 0x4921 - 0x497e
SWIDTH2 0x4a21 - 0x4a7e
SWIDTH2 0x4b21 - 0x4b7e
SWIDTH2 0x4c21 - 0x4c7e
SWIDTH2 0x4d21 - 0x4d7e
SWIDTH2 0x4e21 - 0x4e7e
SWIDTH2 0x4f21 - 0x4f53
SWIDTH2 0x5021 - 0x507e
SWIDTH2 0x5121 - 0x517e
SWIDTH2 0x5221 - 0x527e
SWIDTH2 0x5321 - 0x537e
SWIDTH2 0x5421 - 0x547e
SWIDTH2 0x5521 - 0x557e
SWIDTH2 0x5621 - 0x567e
SWIDTH2 0x5721 - 0x577e
SWIDTH2 0x5821 - 0x587e
SWIDTH2 0x5921 - 0x597e
SWIDTH2 0x5a21 - 0x5a7e
SWIDTH2 0x5b21 - 0x5b7e
SWIDTH2 0x5c21 - 0x5c7e
SWIDTH2 0x5d21 - 0x5d7e
SWIDTH2 0x5e21 - 0x5e7e
SWIDTH2 0x5f21 - 0x5f7e
SWIDTH2 0x6021 - 0x607e
SWIDTH2 0x6121 - 0x617e
SWIDTH2 0x6221 - 0x627e
SWIDTH2 0x6321 - 0x637e
SWIDTH2 0x6421 - 0x647e
SWIDTH2 0x6521 - 0x657e
SWIDTH2 0x6621 - 0x667e
SWIDTH2 0x6721 - 0x677e
SWIDTH2 0x6821 - 0x687e
SWIDTH2 0x6921 - 0x697e
SWIDTH2 0x6a21 - 0x6a7e
SWIDTH2 0x6b21 - 0x6b7e
SWIDTH2 0x6c21 - 0x6c7e
SWIDTH2 0x6d21 - 0x6d7e
SWIDTH2 0x6e21 - 0x6e7e
SWIDTH2 0x6f21 - 0x6f7e
SWIDTH2 0x7021 - 0x707e
SWIDTH2 0x7121 - 0x717e
SWIDTH2 0x7221 - 0x727e
SWIDTH2 0x7321 - 0x737e
SWIDTH2 0x7421 - 0x747e
SWIDTH2 0x7521 - 0x757e
SWIDTH2 0x7621 - 0x767e
SWIDTH2 0x7721 - 0x777e

View File

@ -0,0 +1,25 @@
/* $NetBSD: JISX0201-left,v 1.2 2000/12/22 00:36:07 itojun Exp $ */
/*
* JIS X0201 left Code Set (ESC ( J)
*/
CHARSET "(J"
ALPHA 0x0041 - 0x005a 0x0061 - 0x007a
DIGIT 0x0030 - 0x0039
GRAPH 0x0021 - 0x007e
LOWER 0x0061 - 0x007a
PUNCT 0x0021 - 0x002f 0x003a - 0x0040
PUNCT 0x005b - 0x0060 0x007b - 0x007e
UPPER 0x0041 - 0x005a
XDIGIT 0x0041 - 0x0046 0x0061 - 0x0066
PRINT 0x0021 - 0x007e
SWIDTH1 0x0021 - 0x007e
MAPLOWER < 0x0041 - 0x005a : 0x0061 >
MAPLOWER < 0x0061 - 0x007a : 0x0061 >
MAPUPPER < 0x0041 - 0x005a : 0x0041 >
MAPUPPER < 0x0061 - 0x007a : 0x0041 >
TODIGIT < 0x0030 - 0x0039 : 0 >
TODIGIT < 0x0041 - 0x0046 : 10 >
TODIGIT < 0x0061 - 0x0066 : 10 >

View File

@ -0,0 +1,12 @@
/* $NetBSD: JISX0201-right,v 1.2 2000/12/22 00:36:07 itojun Exp $ */
/*
* JIS X0201 right Code Set (ESC ( I)
*/
CHARSET "(I"
SPECIAL 0x0021 - 0x005f
PHONOGRAM 0x0021 - 0x005f
CONTROL 0x0004 - 0x0017 0x001b - 0x001f
CONTROL 0x0060 - 0x007e
SWIDTH1 0x0021 - 0x005f

View File

@ -0,0 +1,165 @@
/* $NetBSD: JISX0208-1978,v 1.2 2000/12/22 00:36:07 itojun Exp $ */
/*
* JIS X0208-1978 - (ESC $ ( @ or ESC $ @)
* very obsolete. we should not use this one...
*/
CHARSET "$(@"
SPACE 0x2121
PHONOGRAM 0x213c
SPECIAL 0x2122 - 0x217e
PUNCT 0x2122 - 0x2178 /* A few too many in here... */
SPECIAL 0x2221 - 0x222e 0x223a - 0x2241
SPECIAL 0x224a - 0x2250 0x225c - 0x226a
SPECIAL 0x2272 - 0x2279 0x227e
DIGIT 0x2330 - 0x2339
UPPER 0x2341 - 0x235a /* Romaji */
LOWER 0x2361 - 0x237a /* Romaji */
MAPLOWER < 0x2341 - 0x235a : 0x2361 > /* English */
MAPLOWER < 0x2361 - 0x237a : 0x2361 > /* English */
MAPUPPER < 0x2341 - 0x235a : 0x2341 >
MAPUPPER < 0x2361 - 0x237a : 0x2341 >
XDIGIT 0x2341 - 0x2346 0x2361 - 0x2366
TODIGIT < 0x2330 - 0x2339 : 0 >
TODIGIT < 0x2341 - 0x2346 : 10 >
TODIGIT < 0x2361 - 0x2366 : 10 >
PHONOGRAM 0x2421 - 0x2473
PHONOGRAM 0x2521 - 0x2576
UPPER 0x2621 - 0x2638 /* Greek */
LOWER 0x2641 - 0x2658 /* Greek */
MAPLOWER < 0x2621 - 0x2638 : 0x2641 >
MAPLOWER < 0x2641 - 0x2658 : 0x2641 >
MAPUPPER < 0x2621 - 0x2638 : 0x2621 >
MAPUPPER < 0x2641 - 0x2658 : 0x2621 >
UPPER 0x2721 - 0x2741 /* Cyrillic */
LOWER 0x2751 - 0x2771 /* Cyrillic */
MAPLOWER < 0x2721 - 0x2741 : 0x2751 >
MAPLOWER < 0x2751 - 0x2771 : 0x2751 >
MAPUPPER < 0x2721 - 0x2741 : 0x2721 >
MAPUPPER < 0x2751 - 0x2771 : 0x2721 >
SPECIAL 0x2821 - 0x2840
IDEOGRAM 0x3021 - 0x307e
IDEOGRAM 0x3121 - 0x317e
IDEOGRAM 0x3221 - 0x327e
IDEOGRAM 0x3321 - 0x337e
IDEOGRAM 0x3421 - 0x347e
IDEOGRAM 0x3521 - 0x357e
IDEOGRAM 0x3621 - 0x367e
IDEOGRAM 0x3721 - 0x377e
IDEOGRAM 0x3821 - 0x387e
IDEOGRAM 0x3921 - 0x397e
IDEOGRAM 0x3a21 - 0x3a7e
IDEOGRAM 0x3b21 - 0x3b7e
IDEOGRAM 0x3c21 - 0x3c7e
IDEOGRAM 0x3d21 - 0x3d7e
IDEOGRAM 0x3e21 - 0x3e7e
IDEOGRAM 0x3f21 - 0x3f7e
IDEOGRAM 0x4021 - 0x407e
IDEOGRAM 0x4121 - 0x417e
IDEOGRAM 0x4221 - 0x427e
IDEOGRAM 0x4321 - 0x437e
IDEOGRAM 0x4421 - 0x447e
IDEOGRAM 0x4521 - 0x457e
IDEOGRAM 0x4621 - 0x467e
IDEOGRAM 0x4721 - 0x477e
IDEOGRAM 0x4821 - 0x487e
IDEOGRAM 0x4921 - 0x497e
IDEOGRAM 0x4a21 - 0x4a7e
IDEOGRAM 0x4b21 - 0x4b7e
IDEOGRAM 0x4c21 - 0x4c7e
IDEOGRAM 0x4d21 - 0x4d7e
IDEOGRAM 0x4e21 - 0x4e7e
IDEOGRAM 0x4f21 - 0x4f53
IDEOGRAM 0x5021 - 0x507e
IDEOGRAM 0x5121 - 0x517e
IDEOGRAM 0x5221 - 0x527e
IDEOGRAM 0x5321 - 0x537e
IDEOGRAM 0x5421 - 0x547e
IDEOGRAM 0x5521 - 0x557e
IDEOGRAM 0x5621 - 0x567e
IDEOGRAM 0x5721 - 0x577e
IDEOGRAM 0x5821 - 0x587e
IDEOGRAM 0x5921 - 0x597e
IDEOGRAM 0x5a21 - 0x5a7e
IDEOGRAM 0x5b21 - 0x5b7e
IDEOGRAM 0x5c21 - 0x5c7e
IDEOGRAM 0x5d21 - 0x5d7e
IDEOGRAM 0x5e21 - 0x5e7e
IDEOGRAM 0x5f21 - 0x5f7e
IDEOGRAM 0x6021 - 0x607e
IDEOGRAM 0x6121 - 0x617e
IDEOGRAM 0x6221 - 0x627e
IDEOGRAM 0x6321 - 0x637e
IDEOGRAM 0x6421 - 0x647e
IDEOGRAM 0x6521 - 0x657e
IDEOGRAM 0x6621 - 0x667e
IDEOGRAM 0x6721 - 0x677e
IDEOGRAM 0x6821 - 0x687e
IDEOGRAM 0x6921 - 0x697e
IDEOGRAM 0x6a21 - 0x6a7e
IDEOGRAM 0x6b21 - 0x6b7e
IDEOGRAM 0x6c21 - 0x6c7e
IDEOGRAM 0x6d21 - 0x6d7e
IDEOGRAM 0x6e21 - 0x6e7e
IDEOGRAM 0x6f21 - 0x6f7e
IDEOGRAM 0x7021 - 0x707e
IDEOGRAM 0x7121 - 0x717e
IDEOGRAM 0x7221 - 0x727e
IDEOGRAM 0x7321 - 0x737e
IDEOGRAM 0x7421 - 0x7424
SWIDTH2 0x2121 - 0x217e
SWIDTH2 0x2221 - 0x222e 0x223a - 0x2241
SWIDTH2 0x224a - 0x2250 0x225c - 0x226a
SWIDTH2 0x2272 - 0x2279 0x227e
SWIDTH2 0x2330 - 0x2339
SWIDTH2 0x2341 - 0x235a 0x2361 - 0x237a /* Romaji */
SWIDTH2 0x2421 - 0x2473
SWIDTH2 0x2521 - 0x2576
SWIDTH2 0x2621 - 0x2638 0x2641 - 0x2658 /* Greek */
SWIDTH2 0x2721 - 0x2741 0x2751 - 0x2771 /* Cyrillic */
SWIDTH2 0x2821 - 0x2840 0x3021 - 0x307e
SWIDTH2 0x3121 - 0x317e 0x3221 - 0x327e
SWIDTH2 0x3321 - 0x337e 0x3421 - 0x347e
SWIDTH2 0x3521 - 0x357e 0x3621 - 0x367e
SWIDTH2 0x3721 - 0x377e 0x3821 - 0x387e
SWIDTH2 0x3921 - 0x397e 0x3a21 - 0x3a7e
SWIDTH2 0x3b21 - 0x3b7e 0x3c21 - 0x3c7e
SWIDTH2 0x3d21 - 0x3d7e 0x3e21 - 0x3e7e
SWIDTH2 0x3f21 - 0x3f7e 0x4021 - 0x407e
SWIDTH2 0x4121 - 0x417e 0x4221 - 0x427e
SWIDTH2 0x4321 - 0x437e 0x4421 - 0x447e
SWIDTH2 0x4521 - 0x457e 0x4621 - 0x467e
SWIDTH2 0x4721 - 0x477e 0x4821 - 0x487e
SWIDTH2 0x4921 - 0x497e 0x4a21 - 0x4a7e
SWIDTH2 0x4b21 - 0x4b7e 0x4c21 - 0x4c7e
SWIDTH2 0x4d21 - 0x4d7e 0x4e21 - 0x4e7e
SWIDTH2 0x4f21 - 0x4f53 0x5021 - 0x507e
SWIDTH2 0x5121 - 0x517e 0x5221 - 0x527e
SWIDTH2 0x5321 - 0x537e 0x5421 - 0x547e
SWIDTH2 0x5521 - 0x557e 0x5621 - 0x567e
SWIDTH2 0x5721 - 0x577e 0x5821 - 0x587e
SWIDTH2 0x5921 - 0x597e 0x5a21 - 0x5a7e
SWIDTH2 0x5b21 - 0x5b7e 0x5c21 - 0x5c7e
SWIDTH2 0x5d21 - 0x5d7e 0x5e21 - 0x5e7e
SWIDTH2 0x5f21 - 0x5f7e 0x6021 - 0x607e
SWIDTH2 0x6121 - 0x617e 0x6221 - 0x627e
SWIDTH2 0x6321 - 0x637e 0x6421 - 0x647e
SWIDTH2 0x6521 - 0x657e 0x6621 - 0x667e
SWIDTH2 0x6721 - 0x677e 0x6821 - 0x687e
SWIDTH2 0x6921 - 0x697e 0x6a21 - 0x6a7e
SWIDTH2 0x6b21 - 0x6b7e 0x6c21 - 0x6c7e
SWIDTH2 0x6d21 - 0x6d7e 0x6e21 - 0x6e7e
SWIDTH2 0x6f21 - 0x6f7e 0x7021 - 0x707e
SWIDTH2 0x7121 - 0x717e 0x7221 - 0x727e
SWIDTH2 0x7321 - 0x737e 0x7421 - 0x7424

View File

@ -0,0 +1,164 @@
/* $NetBSD: JISX0208-1983,v 1.2 2000/12/22 00:36:07 itojun Exp $ */
/*
* JIS X0208-1983 - (ESC $ ( B or ESC $ B)
*/
CHARSET "$(B"
SPACE 0x2121
PHONOGRAM 0x213c
SPECIAL 0x2122 - 0x217e
PUNCT 0x2122 - 0x2178 /* A few too many in here... */
SPECIAL 0x2221 - 0x222e 0x223a - 0x2241
SPECIAL 0x224a - 0x2250 0x225c - 0x226a
SPECIAL 0x2272 - 0x2279 0x227e
DIGIT 0x2330 - 0x2339
UPPER 0x2341 - 0x235a /* Romaji */
LOWER 0x2361 - 0x237a /* Romaji */
MAPLOWER < 0x2341 - 0x235a : 0x2361 > /* English */
MAPLOWER < 0x2361 - 0x237a : 0x2361 > /* English */
MAPUPPER < 0x2341 - 0x235a : 0x2341 >
MAPUPPER < 0x2361 - 0x237a : 0x2341 >
XDIGIT 0x2341 - 0x2346 0x2361 - 0x2366
TODIGIT < 0x2330 - 0x2339 : 0 >
TODIGIT < 0x2341 - 0x2346 : 10 >
TODIGIT < 0x2361 - 0x2366 : 10 >
PHONOGRAM 0x2421 - 0x2473
PHONOGRAM 0x2521 - 0x2576
UPPER 0x2621 - 0x2638 /* Greek */
LOWER 0x2641 - 0x2658 /* Greek */
MAPLOWER < 0x2621 - 0x2638 : 0x2641 >
MAPLOWER < 0x2641 - 0x2658 : 0x2641 >
MAPUPPER < 0x2621 - 0x2638 : 0x2621 >
MAPUPPER < 0x2641 - 0x2658 : 0x2621 >
UPPER 0x2721 - 0x2741 /* Cyrillic */
LOWER 0x2751 - 0x2771 /* Cyrillic */
MAPLOWER < 0x2721 - 0x2741 : 0x2751 >
MAPLOWER < 0x2751 - 0x2771 : 0x2751 >
MAPUPPER < 0x2721 - 0x2741 : 0x2721 >
MAPUPPER < 0x2751 - 0x2771 : 0x2721 >
SPECIAL 0x2821 - 0x2840
IDEOGRAM 0x3021 - 0x307e
IDEOGRAM 0x3121 - 0x317e
IDEOGRAM 0x3221 - 0x327e
IDEOGRAM 0x3321 - 0x337e
IDEOGRAM 0x3421 - 0x347e
IDEOGRAM 0x3521 - 0x357e
IDEOGRAM 0x3621 - 0x367e
IDEOGRAM 0x3721 - 0x377e
IDEOGRAM 0x3821 - 0x387e
IDEOGRAM 0x3921 - 0x397e
IDEOGRAM 0x3a21 - 0x3a7e
IDEOGRAM 0x3b21 - 0x3b7e
IDEOGRAM 0x3c21 - 0x3c7e
IDEOGRAM 0x3d21 - 0x3d7e
IDEOGRAM 0x3e21 - 0x3e7e
IDEOGRAM 0x3f21 - 0x3f7e
IDEOGRAM 0x4021 - 0x407e
IDEOGRAM 0x4121 - 0x417e
IDEOGRAM 0x4221 - 0x427e
IDEOGRAM 0x4321 - 0x437e
IDEOGRAM 0x4421 - 0x447e
IDEOGRAM 0x4521 - 0x457e
IDEOGRAM 0x4621 - 0x467e
IDEOGRAM 0x4721 - 0x477e
IDEOGRAM 0x4821 - 0x487e
IDEOGRAM 0x4921 - 0x497e
IDEOGRAM 0x4a21 - 0x4a7e
IDEOGRAM 0x4b21 - 0x4b7e
IDEOGRAM 0x4c21 - 0x4c7e
IDEOGRAM 0x4d21 - 0x4d7e
IDEOGRAM 0x4e21 - 0x4e7e
IDEOGRAM 0x4f21 - 0x4f53
IDEOGRAM 0x5021 - 0x507e
IDEOGRAM 0x5121 - 0x517e
IDEOGRAM 0x5221 - 0x527e
IDEOGRAM 0x5321 - 0x537e
IDEOGRAM 0x5421 - 0x547e
IDEOGRAM 0x5521 - 0x557e
IDEOGRAM 0x5621 - 0x567e
IDEOGRAM 0x5721 - 0x577e
IDEOGRAM 0x5821 - 0x587e
IDEOGRAM 0x5921 - 0x597e
IDEOGRAM 0x5a21 - 0x5a7e
IDEOGRAM 0x5b21 - 0x5b7e
IDEOGRAM 0x5c21 - 0x5c7e
IDEOGRAM 0x5d21 - 0x5d7e
IDEOGRAM 0x5e21 - 0x5e7e
IDEOGRAM 0x5f21 - 0x5f7e
IDEOGRAM 0x6021 - 0x607e
IDEOGRAM 0x6121 - 0x617e
IDEOGRAM 0x6221 - 0x627e
IDEOGRAM 0x6321 - 0x637e
IDEOGRAM 0x6421 - 0x647e
IDEOGRAM 0x6521 - 0x657e
IDEOGRAM 0x6621 - 0x667e
IDEOGRAM 0x6721 - 0x677e
IDEOGRAM 0x6821 - 0x687e
IDEOGRAM 0x6921 - 0x697e
IDEOGRAM 0x6a21 - 0x6a7e
IDEOGRAM 0x6b21 - 0x6b7e
IDEOGRAM 0x6c21 - 0x6c7e
IDEOGRAM 0x6d21 - 0x6d7e
IDEOGRAM 0x6e21 - 0x6e7e
IDEOGRAM 0x6f21 - 0x6f7e
IDEOGRAM 0x7021 - 0x707e
IDEOGRAM 0x7121 - 0x717e
IDEOGRAM 0x7221 - 0x727e
IDEOGRAM 0x7321 - 0x737e
IDEOGRAM 0x7421 - 0x7424
SWIDTH2 0x2121 - 0x217e
SWIDTH2 0x2221 - 0x222e 0x223a - 0x2241
SWIDTH2 0x224a - 0x2250 0x225c - 0x226a
SWIDTH2 0x2272 - 0x2279 0x227e
SWIDTH2 0x2330 - 0x2339
SWIDTH2 0x2341 - 0x235a 0x2361 - 0x237a /* Romaji */
SWIDTH2 0x2421 - 0x2473
SWIDTH2 0x2521 - 0x2576
SWIDTH2 0x2621 - 0x2638 0x2641 - 0x2658 /* Greek */
SWIDTH2 0x2721 - 0x2741 0x2751 - 0x2771 /* Cyrillic */
SWIDTH2 0x2821 - 0x2840 0x3021 - 0x307e
SWIDTH2 0x3121 - 0x317e 0x3221 - 0x327e
SWIDTH2 0x3321 - 0x337e 0x3421 - 0x347e
SWIDTH2 0x3521 - 0x357e 0x3621 - 0x367e
SWIDTH2 0x3721 - 0x377e 0x3821 - 0x387e
SWIDTH2 0x3921 - 0x397e 0x3a21 - 0x3a7e
SWIDTH2 0x3b21 - 0x3b7e 0x3c21 - 0x3c7e
SWIDTH2 0x3d21 - 0x3d7e 0x3e21 - 0x3e7e
SWIDTH2 0x3f21 - 0x3f7e 0x4021 - 0x407e
SWIDTH2 0x4121 - 0x417e 0x4221 - 0x427e
SWIDTH2 0x4321 - 0x437e 0x4421 - 0x447e
SWIDTH2 0x4521 - 0x457e 0x4621 - 0x467e
SWIDTH2 0x4721 - 0x477e 0x4821 - 0x487e
SWIDTH2 0x4921 - 0x497e 0x4a21 - 0x4a7e
SWIDTH2 0x4b21 - 0x4b7e 0x4c21 - 0x4c7e
SWIDTH2 0x4d21 - 0x4d7e 0x4e21 - 0x4e7e
SWIDTH2 0x4f21 - 0x4f53 0x5021 - 0x507e
SWIDTH2 0x5121 - 0x517e 0x5221 - 0x527e
SWIDTH2 0x5321 - 0x537e 0x5421 - 0x547e
SWIDTH2 0x5521 - 0x557e 0x5621 - 0x567e
SWIDTH2 0x5721 - 0x577e 0x5821 - 0x587e
SWIDTH2 0x5921 - 0x597e 0x5a21 - 0x5a7e
SWIDTH2 0x5b21 - 0x5b7e 0x5c21 - 0x5c7e
SWIDTH2 0x5d21 - 0x5d7e 0x5e21 - 0x5e7e
SWIDTH2 0x5f21 - 0x5f7e 0x6021 - 0x607e
SWIDTH2 0x6121 - 0x617e 0x6221 - 0x627e
SWIDTH2 0x6321 - 0x637e 0x6421 - 0x647e
SWIDTH2 0x6521 - 0x657e 0x6621 - 0x667e
SWIDTH2 0x6721 - 0x677e 0x6821 - 0x687e
SWIDTH2 0x6921 - 0x697e 0x6a21 - 0x6a7e
SWIDTH2 0x6b21 - 0x6b7e 0x6c21 - 0x6c7e
SWIDTH2 0x6d21 - 0x6d7e 0x6e21 - 0x6e7e
SWIDTH2 0x6f21 - 0x6f7e 0x7021 - 0x707e
SWIDTH2 0x7121 - 0x717e 0x7221 - 0x727e
SWIDTH2 0x7321 - 0x737e 0x7421 - 0x7424

View File

@ -0,0 +1,154 @@
/* $NetBSD: KSC5601,v 1.2 2000/12/22 00:36:07 itojun Exp $ */
/*
* KSC5601 (ESC $ ( C)
*/
CHARSET "$(C"
/*
* Derived from FreeBSD: /usr/src/usr.bin/mklocale/data/ko_KR.EUC.src:
* 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).
*/
ALPHA 0x2341 - 0x235a 0x2361 - 0x237a
DIGIT 0x2330 - 0x2339
UPPER 0x2341 - 0x235a
LOWER 0x2361 - 0x237a
PUNCT 0x2321 - 0x232f 0x233a - 0x2340
PUNCT 0x235b - 0x2360 0x237b - 0x237e
SPACE 0x2121
XDIGIT 0x2341 - 0x2346 0x2361 - 0x2366
BLANK 0x2121
SPECIAL 0x2122 - 0x2265
MAPLOWER < 0x2341 - 0x235a : 0x2361 >
MAPLOWER < 0x2361 - 0x237a : 0x2361 >
MAPUPPER < 0x2341 - 0x235a : 0x2341 >
MAPUPPER < 0x2330 - 0x2339 : 0x2341 >
TODIGIT < 0x2331 - 0x2339 : 0 >
TODIGIT < 0x2341 - 0x2346 : 10 >
TODIGIT < 0x2361 - 0x2366 : 10 >
/* Greek */
UPPER 0x2541 - 0x2558
LOWER 0x2561 - 0x2578
MAPLOWER < 0x2541 - 0x2558 : 0x2561 >
MAPLOWER < 0x2561 - 0x2578 : 0x2561 >
MAPUPPER < 0x2541 - 0x2558 : 0x2541 >
MAPUPPER < 0x2561 - 0x2578 : 0x2541 >
/* Cyrillic */
UPPER 0x2c21 - 0x2c41
LOWER 0x2c51 - 0x2c71
MAPLOWER < 0x2c21 - 0x2c41 : 0x2c51 >
MAPLOWER < 0x2c51 - 0x2c71 : 0x2c51 >
MAPUPPER < 0x2c21 - 0x2c41 : 0x2c21 >
MAPUPPER < 0x2c51 - 0x2c71 : 0x2c21 >
/* greek digit */
SPECIAL 0x2521 - 0x252a 0x2530 - 0x2539
/* symbols */
SPECIAL 0x2621 - 0x2664 0x2721 - 0x276f
/* circle symbols */
SPECIAL 0x2821 - 0x287e 0x2921 - 0x297e
PHONOGRAM 0x2421 - 0x247e /* no combined hangul */
PHONOGRAM 0x2a21 - 0x2a73 /* hirakana */
PHONOGRAM 0x2b21 - 0x2b73 /* katakana */
/* hangul composed */
PHONOGRAM 0x3021 - 0x307e 0x3121 - 0x317e
PHONOGRAM 0x3221 - 0x327e 0x3321 - 0x337e
PHONOGRAM 0x3421 - 0x347e 0x3521 - 0x357e
PHONOGRAM 0x3621 - 0x367e 0x3721 - 0x377e
PHONOGRAM 0x3821 - 0x387e 0x3921 - 0x397e
PHONOGRAM 0x3a21 - 0x3a7e 0x3b21 - 0x3b7e
PHONOGRAM 0x3c21 - 0x3c7e 0x3d21 - 0x3d7e
PHONOGRAM 0x3e21 - 0x3e7e 0x3f21 - 0x3f7e
PHONOGRAM 0x4021 - 0x407e 0x4121 - 0x417e
PHONOGRAM 0x4221 - 0x427e 0x4321 - 0x437e
PHONOGRAM 0x4421 - 0x447e 0x4521 - 0x457e
PHONOGRAM 0x4621 - 0x467e 0x4721 - 0x477e
PHONOGRAM 0x4821 - 0x487e
/* hanja */
IDEOGRAM 0x4a21 - 0x4a7e 0x4b21 - 0x4b7e
IDEOGRAM 0x4c21 - 0x4c7e 0x4d21 - 0x4d7e
IDEOGRAM 0x4e21 - 0x4e7e 0x4f21 - 0x4f7e
IDEOGRAM 0x5021 - 0x507e 0x5121 - 0x517e
IDEOGRAM 0x5221 - 0x527e 0x5321 - 0x537e
IDEOGRAM 0x5421 - 0x547e 0x5521 - 0x557e
IDEOGRAM 0x5621 - 0x567e 0x5721 - 0x577e
IDEOGRAM 0x5821 - 0x587e 0x5921 - 0x597e
IDEOGRAM 0x5a21 - 0x5a7e 0x5b21 - 0x5b7e
IDEOGRAM 0x5c21 - 0x5c7e 0x5d21 - 0x5d7e
IDEOGRAM 0x5e21 - 0x5e7e 0x5f21 - 0x5f7e
IDEOGRAM 0x6021 - 0x607e 0x6121 - 0x617e
IDEOGRAM 0x6221 - 0x627e 0x6321 - 0x637e
IDEOGRAM 0x6421 - 0x647e 0x6521 - 0x657e
IDEOGRAM 0x6621 - 0x667e 0x6721 - 0x677e
IDEOGRAM 0x6821 - 0x687e 0x6921 - 0x697e
IDEOGRAM 0x6a21 - 0x6a7e 0x6b21 - 0x6b7e
IDEOGRAM 0x6c21 - 0x6c7e 0x6d21 - 0x6d7e
IDEOGRAM 0x6e21 - 0x6e7e 0x6f21 - 0x6f7e
IDEOGRAM 0x7021 - 0x707e 0x7121 - 0x717e
IDEOGRAM 0x7221 - 0x727e 0x7321 - 0x737e
IDEOGRAM 0x7421 - 0x747e 0x7521 - 0x757e
IDEOGRAM 0x7621 - 0x767e 0x7721 - 0x777e
IDEOGRAM 0x7821 - 0x787e 0x7921 - 0x797e
IDEOGRAM 0x7a21 - 0x7a7e 0x7b21 - 0x7b7e
IDEOGRAM 0x7c21 - 0x7c7e 0x7d21 - 0x7d7e
SWIDTH2 0x2121 - 0x2265 0x2321 - 0x237e
SWIDTH2 0x2421 - 0x247e 0x2521 - 0x252a
SWIDTH2 0x2530 - 0x2539 0x2541 - 0x2558
SWIDTH2 0x2561 - 0x2578 0x2621 - 0x2664
SWIDTH2 0x2721 - 0x276f 0x2821 - 0x287e
SWIDTH2 0x2921 - 0x297e 0x2a21 - 0x2a73
SWIDTH2 0x2b21 - 0x2b73 0x2c21 - 0x2c41
SWIDTH2 0x2c51 - 0x2c71 0x3021 - 0x307e
SWIDTH2 0x3121 - 0x317e 0x3221 - 0x327e
SWIDTH2 0x3321 - 0x337e 0x3421 - 0x347e
SWIDTH2 0x3521 - 0x357e 0x3621 - 0x367e
SWIDTH2 0x3721 - 0x377e 0x3821 - 0x387e
SWIDTH2 0x3921 - 0x397e 0x3a21 - 0x3a7e
SWIDTH2 0x3b21 - 0x3b7e 0x3c21 - 0x3c7e
SWIDTH2 0x3d21 - 0x3d7e 0x3e21 - 0x3e7e
SWIDTH2 0x3f21 - 0x3f7e 0x4021 - 0x407e
SWIDTH2 0x4121 - 0x417e 0x4221 - 0x427e
SWIDTH2 0x4321 - 0x437e 0x4421 - 0x447e
SWIDTH2 0x4521 - 0x457e 0x4621 - 0x467e
SWIDTH2 0x4721 - 0x477e 0x4821 - 0x487e
SWIDTH2 0x4a21 - 0x4a7e 0x4b21 - 0x4b7e
SWIDTH2 0x4c21 - 0x4c7e 0x4d21 - 0x4d7e
SWIDTH2 0x4e21 - 0x4e7e 0x4f21 - 0x4f7e
SWIDTH2 0x5021 - 0x507e 0x5121 - 0x517e
SWIDTH2 0x5221 - 0x527e 0x5321 - 0x537e
SWIDTH2 0x5421 - 0x547e 0x5521 - 0x557e
SWIDTH2 0x5621 - 0x567e 0x5721 - 0x577e
SWIDTH2 0x5821 - 0x587e 0x5921 - 0x597e
SWIDTH2 0x5a21 - 0x5a7e 0x5b21 - 0x5b7e
SWIDTH2 0x5c21 - 0x5c7e 0x5d21 - 0x5d7e
SWIDTH2 0x5e21 - 0x5e7e 0x5f21 - 0x5f7e
SWIDTH2 0x6021 - 0x607e 0x6121 - 0x617e
SWIDTH2 0x6221 - 0x627e 0x6321 - 0x637e
SWIDTH2 0x6421 - 0x647e 0x6521 - 0x657e
SWIDTH2 0x6621 - 0x667e 0x6721 - 0x677e
SWIDTH2 0x6821 - 0x687e 0x6921 - 0x697e
SWIDTH2 0x6a21 - 0x6a7e 0x6b21 - 0x6b7e
SWIDTH2 0x6c21 - 0x6c7e 0x6d21 - 0x6d7e
SWIDTH2 0x6e21 - 0x6e7e 0x6f21 - 0x6f7e
SWIDTH2 0x7021 - 0x707e 0x7121 - 0x717e
SWIDTH2 0x7221 - 0x727e 0x7321 - 0x737e
SWIDTH2 0x7421 - 0x747e 0x7521 - 0x757e
SWIDTH2 0x7621 - 0x767e 0x7721 - 0x777e
SWIDTH2 0x7821 - 0x787e 0x7921 - 0x797e
SWIDTH2 0x7a21 - 0x7a7e 0x7b21 - 0x7b7e
SWIDTH2 0x7c21 - 0x7c7e 0x7d21 - 0x7d7e

View File

@ -0,0 +1,26 @@
/* $NetBSD: Latin-1,v 1.2 2000/12/22 00:36:07 itojun Exp $ */
/*
* iso-8859-1, known as Latin 1 (ESC , A)
*/
CHARSET ",A"
ALPHA 0x40 - 0x56 0x58 - 0x76 0x78 - 0x7f
GRAPH 0x21 - 0x7f
LOWER 0x60 - 0x76 0x78 - 0x7f
PUNCT 0x21 - 0x3f 0x57 0x77
SPACE 0x20
UPPER 0x40 - 0x56 0x58 - 0x5f
BLANK 0x20
PRINT 0x20 - 0x7f
SWIDTH1 0x20 - 0x7f
MAPLOWER < 0x40 - 0x56 : 0x60 >
MAPLOWER < 0x58 - 0x5f : 0x78 >
MAPLOWER < 0x60 - 0x76 : 0x60 >
MAPLOWER < 0x78 - 0x7f : 0x78 >
MAPUPPER < 0x40 - 0x56 : 0x40 >
MAPUPPER < 0x58 - 0x5f : 0x58 >
MAPUPPER < 0x60 - 0x76 : 0x40 >
MAPUPPER < 0x78 - 0x7f : 0x58 >

View File

@ -0,0 +1,55 @@
/* $NetBSD: Latin-2,v 1.2 2000/12/22 00:36:07 itojun Exp $ */
/*
* iso-8859-2, known as Latin 2 (ESC , B)
*
* XXX is it correct??
*/
CHARSET ",B"
ALPHA 0x21 0x23 0x25 - 0x26 0x29 - 0x2c 0x2e - 0x2f
ALPHA 0x31 0x33 0x35 - 0x36 0x39 - 0x3c 0x3e - 0x3f
ALPHA 0x40 - 0x56 0x58 - 0x5f
ALPHA 0x60 - 0x76 0x78 - 0x7e
GRAPH 0x21 - 0x7f
LOWER 0x31 0x33 0x35 - 0x36 0x39 - 0x3c 0x3e - 0x3f
LOWER 0x60 - 0x76 0x78 - 0x7e 0x5f
PUNCT 0x22 0x24 0x27 0x28 0x2d
PUNCT 0x30 0x32 0x34 0x37 0x38 0x3d
PUNCT 0x57 0x77 0x7f
SPACE 0x20
UPPER 0x21 0x23 0x25 - 0x26 0x29 - 0x2c 0x2e - 0x2f
UPPER 0x40 - 0x56 0x58 - 0x5e
BLANK 0x20
PRINT 0x20 - 0x7f
SWIDTH1 0x20 - 0x7f
MAPLOWER < 0x21 : 0x31 >
MAPLOWER < 0x23 : 0x33 >
MAPLOWER < 0x25 - 0x26 : 0x35 >
MAPLOWER < 0x29 - 0x2c : 0x39 >
MAPLOWER < 0x2e - 0x2f : 0x3e >
MAPLOWER < 0x31 : 0x31 >
MAPLOWER < 0x33 : 0x33 >
MAPLOWER < 0x35 - 0x36 : 0x35 >
MAPLOWER < 0x39 - 0x3c : 0x39 >
MAPLOWER < 0x3e - 0x3f : 0x3e >
MAPLOWER < 0x40 - 0x56 : 0x60 >
MAPLOWER < 0x58 - 0x5e : 0x78 >
MAPLOWER < 0x60 - 0x76 : 0x60 >
MAPLOWER < 0x78 - 0x7e : 0x78 >
MAPUPPER < 0x21 : 0x21 >
MAPUPPER < 0x23 : 0x23 >
MAPUPPER < 0x25 - 0x26 : 0x25 >
MAPUPPER < 0x29 - 0x2c : 0x29 >
MAPUPPER < 0x2e - 0x2f : 0x2e >
MAPUPPER < 0x31 : 0x21 >
MAPUPPER < 0x33 : 0x23 >
MAPUPPER < 0x35 - 0x36 : 0x25 >
MAPUPPER < 0x39 - 0x3c : 0x29 >
MAPUPPER < 0x3e - 0x3f : 0x2e >
MAPUPPER < 0x40 - 0x56 : 0x40 >
MAPUPPER < 0x58 - 0x5e : 0x58 >
MAPUPPER < 0x60 - 0x76 : 0x40 >
MAPUPPER < 0x78 - 0x7e : 0x58 >

View File

@ -0,0 +1,64 @@
/* $NetBSD: Latin-3,v 1.2 2000/12/22 00:36:07 itojun Exp $ */
/*
* iso-8859-3, known as Latin 3 (ESC , C)
*
* XXX is it correct?? I'm not sure...
* there are several undefined chars, which makes this definition file
* very complex.
*/
CHARSET ",C"
ALPHA 0x21 0x26 0x29 - 0x2c 0x2f
ALPHA 0x31 0x36 0x39 - 0x3c 0x3f
ALPHA 0x40 - 0x42 0x44 - 0x4f 0x51 - 0x56 0x58 - 0x5f
ALPHA 0x60 - 0x62 0x64 - 0x6f 0x71 - 0x76 0x78 - 0x7e
GRAPH 0x21 - 0x7f
LOWER 0x31 0x36 0x39 - 0x3c 0x3f
LOWER 0x60 - 0x76 0x78 - 0x7e 0x5f
PUNCT 0x22 - 0x24 0x27 - 0x28 0x2d
PUNCT 0x30 0x32 - 0x34 0x37 - 0x38 0x3d
PUNCT 0x57 0x77 0x7f
SPACE 0x20
UPPER 0x21 0x26 0x29 - 0x2c 0x2f
UPPER 0x40 - 0x56 0x58 - 0x5e
BLANK 0x20
PRINT 0x20 - 0x24 0x26 - 0x2d 0x2f
PRINT 0x30 - 0x3d 0x3f
PRINT 0x40 - 0x42 0x44 - 0x4f 0x51 - 0x5f
PRINT 0x60 - 0x62 0x64 - 0x6f 0x71 - 0x7f
SWIDTH1 0x20 - 0x7f
MAPLOWER < 0x21 : 0x31 >
MAPLOWER < 0x26 : 0x36 >
MAPLOWER < 0x29 - 0x2c : 0x39 >
MAPLOWER < 0x2f : 0x3f >
MAPLOWER < 0x31 : 0x31 >
MAPLOWER < 0x36 : 0x36 >
MAPLOWER < 0x39 - 0x3c : 0x39 >
MAPLOWER < 0x3f : 0x3f >
MAPLOWER < 0x40 - 0x42 : 0x60 >
MAPLOWER < 0x44 - 0x4f : 0x64 >
MAPLOWER < 0x51 - 0x56 : 0x71 >
MAPLOWER < 0x58 - 0x5e : 0x78 >
MAPLOWER < 0x60 - 0x62 : 0x60 >
MAPLOWER < 0x64 - 0x6f : 0x64 >
MAPLOWER < 0x71 - 0x76 : 0x71 >
MAPLOWER < 0x78 - 0x7e : 0x78 >
MAPUPPER < 0x21 : 0x21 >
MAPUPPER < 0x26 : 0x26 >
MAPUPPER < 0x29 - 0x2c : 0x29 >
MAPUPPER < 0x2f : 0x2f >
MAPUPPER < 0x31 : 0x21 >
MAPUPPER < 0x36 : 0x26 >
MAPUPPER < 0x39 - 0x3c : 0x29 >
MAPUPPER < 0x3f : 0x2f >
MAPUPPER < 0x40 - 0x42 : 0x40 >
MAPUPPER < 0x44 - 0x4f : 0x44 >
MAPUPPER < 0x51 - 0x56 : 0x51 >
MAPUPPER < 0x58 - 0x5e : 0x58 >
MAPUPPER < 0x60 - 0x62 : 0x40 >
MAPUPPER < 0x64 - 0x6f : 0x44 >
MAPUPPER < 0x71 - 0x76 : 0x51 >
MAPUPPER < 0x78 - 0x7e : 0x58 >

View File

@ -0,0 +1,58 @@
/* $NetBSD: Latin-4,v 1.2 2000/12/22 00:36:08 itojun Exp $ */
/*
* iso-8859-4, known as Latin 4 (ESC , D)
*
* XXX is it correct? i'm not sure.
*/
CHARSET ",D"
ALPHA 0x21 0x22 0x23 0x25 - 0x26 0x29 - 0x2c 0x2e
ALPHA 0x31 0x33 0x35 - 0x36 0x39 - 0x3c 0x3e
ALPHA 0x3d 0x3f
ALPHA 0x40 - 0x56 0x58 - 0x76 0x78 - 0x7f
GRAPH 0x21 - 0x7f
LOWER 0x31 0x33 0x35 - 0x36 0x39 - 0x3c 0x3e 0x3f 0x22
LOWER 0x60 - 0x76 0x78 - 0x7e 0x5f
PUNCT 0x24 0x27 - 0x28 0x2d 0x2f
PUNCT 0x30 0x32 0x34 0x37 - 0x38
SPACE 0x20
UPPER 0x21 0x23 0x25 - 0x26 0x29 - 0x2c 0x2e 0x3d
UPPER 0x40 - 0x56 0x58 - 0x5e
BLANK 0x20
PRINT 0x20 - 0x7f
SWIDTH1 0x20 - 0x7f
MAPLOWER < 0x21 : 0x31 >
MAPLOWER < 0x23 : 0x33 >
MAPLOWER < 0x25 - 0x26 : 0x35 >
MAPLOWER < 0x29 - 0x2c : 0x39 >
MAPLOWER < 0x2e : 0x3e >
MAPLOWER < 0x31 : 0x31 >
MAPLOWER < 0x33 : 0x33 >
MAPLOWER < 0x35 - 0x36 : 0x35 >
MAPLOWER < 0x39 - 0x3c : 0x39 >
MAPLOWER < 0x3e : 0x3e >
MAPLOWER < 0x3d : 0x3f >
MAPLOWER < 0x3f : 0x3f >
MAPLOWER < 0x40 - 0x56 : 0x60 >
MAPLOWER < 0x58 - 0x5e : 0x78 >
MAPLOWER < 0x60 - 0x76 : 0x60 >
MAPLOWER < 0x78 - 0x7e : 0x78 >
MAPUPPER < 0x21 : 0x21 >
MAPUPPER < 0x23 : 0x23 >
MAPUPPER < 0x25 - 0x26 : 0x25 >
MAPUPPER < 0x29 - 0x2c : 0x29 >
MAPUPPER < 0x2e : 0x2e >
MAPUPPER < 0x31 : 0x21 >
MAPUPPER < 0x33 : 0x23 >
MAPUPPER < 0x35 - 0x36 : 0x25 >
MAPUPPER < 0x39 - 0x3c : 0x29 >
MAPUPPER < 0x3e : 0x2e >
MAPUPPER < 0x3d : 0x3d >
MAPUPPER < 0x3f : 0x3d >
MAPUPPER < 0x40 - 0x56 : 0x40 >
MAPUPPER < 0x58 - 0x5e : 0x58 >
MAPUPPER < 0x60 - 0x76 : 0x40 >
MAPUPPER < 0x78 - 0x7e : 0x58 >

View File

@ -0,0 +1,29 @@
/* $NetBSD: Latin-5,v 1.2 2000/12/22 00:36:08 itojun Exp $ */
/*
* iso-8859-9, known as Latin-5 (ESC , M)
*
* XXX is it correct? i'm not sure.
*/
CHARSET ",M"
ALPHA 0x40 - 0x56 0x58 - 0x5f
ALPHA 0x60 - 0x76 0x78 - 0x7f
GRAPH 0x21 - 0x7f
LOWER 0x60 - 0x76 0x78 - 0x7f
PUNCT 0x21 - 0x3f 0x57 0x77
SPACE 0x20
UPPER 0x40 - 0x56 0x58 - 0x5f
BLANK 0x20
PRINT 0x20 - 0x7f
SWIDTH1 0x20 - 0x7f
MAPLOWER < 0x40 - 0x56 : 0x60 >
MAPLOWER < 0x58 - 0x5e : 0x78 >
MAPLOWER < 0x60 - 0x76 : 0x60 >
MAPLOWER < 0x78 - 0x7e : 0x78 >
MAPUPPER < 0x40 - 0x56 : 0x40 >
MAPUPPER < 0x58 - 0x5e : 0x58 >
MAPUPPER < 0x60 - 0x76 : 0x40 >
MAPUPPER < 0x78 - 0x7e : 0x58 >

View File

@ -0,0 +1,41 @@
/* $NetBSD: Latin-6,v 1.2 2000/12/22 00:36:08 itojun Exp $ */
/*
* iso-8859-10, known as Latin-6 (ESC , V)
*
* XXX is it correct? i'm not sure.
*/
CHARSET ",V"
ALPHA 0x21 - 0x26 0x28 - 0x2c 0x2e - 0x2f
ALPHA 0x31 - 0x36 0x38 - 0x3c 0x3e - 0x3f
ALPHA 0x40 - 0x5f
ALPHA 0x60 - 0x7f
GRAPH 0x21 - 0x7f
LOWER 0x31 - 0x36 0x38 - 0x3c 0x3e - 0x3f
LOWER 0x60 - 0x7f
PUNCT 0x27 0x2d 0x37 0x3d
SPACE 0x20
UPPER 0x21 - 0x26 0x28 - 0x2c 0x2e - 0x2f
UPPER 0x40 - 0x5f
BLANK 0x20
PRINT 0x20 - 0x7f
SWIDTH1 0x20 - 0x7f
MAPLOWER < 0x21 - 0x26 : 0x31 >
MAPLOWER < 0x28 - 0x2c : 0x38 >
MAPLOWER < 0x2e - 0x2f : 0x3e >
MAPLOWER < 0x31 - 0x36 : 0x31 >
MAPLOWER < 0x38 - 0x3c : 0x38 >
MAPLOWER < 0x3e - 0x3f : 0x3e >
MAPLOWER < 0x40 - 0x5f : 0x60 >
MAPLOWER < 0x60 - 0x7f : 0x60 >
MAPUPPER < 0x21 - 0x26 : 0x21 >
MAPUPPER < 0x28 - 0x2c : 0x28 >
MAPUPPER < 0x2e - 0x2f : 0x2e >
MAPUPPER < 0x31 - 0x36 : 0x21 >
MAPUPPER < 0x38 - 0x3c : 0x28 >
MAPUPPER < 0x3e - 0x3f : 0x2e >
MAPUPPER < 0x40 - 0x5f : 0x40 >
MAPUPPER < 0x60 - 0x7f : 0x40 >

View File

@ -0,0 +1,23 @@
/* $NetBSD: Latin-6+,v 1.2 2000/12/22 00:36:08 itojun Exp $ */
/*
* iso-8859-10 additions, known as Latin-6 (ESC , X)
*
* XXX is it correct? i'm not sure.
*/
CHARSET ",X"
ALPHA 0x40 - 0x4f 0x60 - 0x6f
GRAPH 0x20 0x30 0x40 - 0x4f 0x60 - 0x6f
LOWER 0x60 - 0x6f
PUNCT 0x20 0x30
UPPER 0x40 - 0x4f
BLANK 0x20
PRINT 0x20 0x30 0x40 - 0x4f 0x60 - 0x6f
SWIDTH1 0x20 - 0x7f
MAPLOWER < 0x40 - 0x4f : 0x60 >
MAPLOWER < 0x60 - 0x6f : 0x60 >
MAPUPPER < 0x40 - 0x4f : 0x40 >
MAPUPPER < 0x60 - 0x6f : 0x40 >

View File

@ -0,0 +1,35 @@
/* $NetBSD: Latin-Cyrillic,v 1.2 2000/12/22 00:36:08 itojun Exp $ */
/*
* iso-8859-5, known as Cyrillic (ESC , L)
*
* XXX is it correct? i'm not sure.
*/
CHARSET ",L"
ALPHA 0x30 - 0x4f
ALPHA 0x50 - 0x6f
ALPHA 0x21 - 0x2c 0x2e - 0x2f
ALPHA 0x71 - 0x7c 0x7e - 0x7f
GRAPH 0x21 - 0x7f
LOWER 0x50 - 0x6f 0x71 - 0x7c 0x7e - 0x7f
PUNCT 0x2d 0x70 0x7d
SPACE 0x20
UPPER 0x30 - 0x4f 0x21 - 0x2c 0x2e - 0x2f
BLANK 0x20
PRINT 0x20 - 0x7f
SWIDTH1 0x20 - 0x7f
MAPLOWER < 0x21 - 0x2c : 0x71 >
MAPLOWER < 0x2e - 0x2f : 0x7e >
MAPLOWER < 0x30 - 0x4f : 0x50 >
MAPLOWER < 0x50 - 0x6f : 0x50 >
MAPLOWER < 0x71 - 0x7c : 0x71 >
MAPLOWER < 0x7e - 0x7f : 0x7e >
MAPUPPER < 0x21 - 0x2c : 0x21 >
MAPUPPER < 0x2e - 0x2f : 0x2e >
MAPUPPER < 0x30 - 0x4f : 0x30 >
MAPUPPER < 0x50 - 0x6f : 0x30 >
MAPUPPER < 0x71 - 0x7c : 0x21 >
MAPUPPER < 0x7e - 0x7f : 0x2e >

View File

@ -0,0 +1,30 @@
/* $NetBSD: Latin-Greek,v 1.2 2000/12/22 00:36:08 itojun Exp $ */
/*
* iso-8859-7, known as Latin-Greek (ESC , F)
*
* XXX is it correct? i'm not sure.
*/
CHARSET ",F"
ALPHA 0x36 0x38 - 0x3a 0x3c 0x3e 0x3f
ALPHA 0x40 - 0x51 0x53 - 0x7e
GRAPH 0x21 - 0x23 0x26 - 0x29 0x2b - 0x2d 0x2f - 0x35 0x37 0x3b 0x3d
LOWER 0x61 - 0x71 0x73 - 0x7b 0x5c 0x5d - 0x5f 0x7c 0x7d - 0x7e
LOWER 0x72 0x40 0x60
PUNCT 0x21 - 0x23 0x25 - 0x29 0x2b - 0x2d 0x2f - 0x35 0x37 0x3b 0x3d
SPACE 0x20
UPPER 0x41 - 0x51 0x53 - 0x5b 0x36 0x38 - 0x3a 0x3c 0x3e - 0x3f
BLANK 0x20
PRINT 0x20 - 0x7f
SWIDTH1 0x20 - 0x7f
MAPLOWER < 0x40 - 0x56 : 0x60 >
MAPLOWER < 0x58 - 0x5e : 0x78 >
MAPLOWER < 0x60 - 0x76 : 0x60 >
MAPLOWER < 0x78 - 0x7e : 0x78 >
MAPUPPER < 0x40 - 0x56 : 0x40 >
MAPUPPER < 0x58 - 0x5e : 0x58 >
MAPUPPER < 0x60 - 0x76 : 0x40 >
MAPUPPER < 0x78 - 0x7e : 0x58 >

View File

@ -0,0 +1,16 @@
/* $NetBSD: Latin-Hebrew,v 1.2 2000/12/22 00:36:08 itojun Exp $ */
/*
* iso-8859-8, known as Latin-Hebrew (ESC , H)
*
* XXX is it correct? i'm not sure.
*/
CHARSET ",H"
ALPHA 0x60 - 0x7a
GRAPH 0x22 - 0x3e 0x5f 0x60 - 0x7a
PUNCT 0x22 - 0x3e
SPACE 0x20
BLANK 0x20
PRINT 0x20 0x22 - 0x3e 0x5f 0x60 - 0x7a
SWIDTH1 0x20 - 0x7f

View File

@ -0,0 +1,35 @@
/* $NetBSD: en_US.UTF-8.src,v 1.2 2000/12/22 00:36:05 itojun Exp $ */
/* @(#)POSIX 8.1 (Berkeley) 6/6/93 */
/*
* Standard LOCALE_CTYPE for the C Locale, using utf-8 encoding
*/
ENCODING "UTF8"
VARIABLE A comment line or data line. Only 1 allowed. Copied verbatim.
/*
* This is a comment
*/
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 ' ' '\t'
PRINT 0x20 - 0x7e
SWIDTH1 0x20 - 0x7e
/* IDEOGRAM */
/* SPECIAL */
/* PHONEGRAM */
MAPLOWER <'A' - 'Z' : 'a'>
MAPLOWER <'a' - 'z' : 'a'>
MAPUPPER <'A' - 'Z' : 'A'>
MAPUPPER <'a' - 'z' : 'A'>
TODIGIT <'0' - '9' : 0>
TODIGIT <'A' - 'F' : 10>
TODIGIT <'a' - 'f' : 10>

View File

@ -0,0 +1,21 @@
/* $NetBSD: ja_JP.CTEXT.src,v 1.2 2000/12/22 00:36:05 itojun Exp $ */
/* @(#)Japanese 8.1 (Berkeley) 6/6/93 */
/*
* LOCALE_CTYPE definitions for ctext encoding, Japanese chars
*/
ENCODING "ISO2022"
/*
* In specification, 94x94 can be designated to G1 too.
* We omit that case for simplicity.
* For mbtowc(), we can accept G1 designated to 94x94, so it is safe to do so.
*/
VARIABLE 8BIT MAX1 INIT0=94B INIT1=96A 0=94 1=96 1=94I 0=94$ 1=96$ NOOLD
#include "charset/ASCII"
#include "charset/Latin-1"
#include "charset/JISX0201-left"
#include "charset/JISX0201-right"
#include "charset/JISX0208-1983"

View File

@ -0,0 +1,15 @@
/* $NetBSD: ja_JP.ISO-2022-JP-2.src,v 1.2 2000/12/22 00:36:05 itojun Exp $ */
/* @(#)Japanese 8.1 (Berkeley) 6/6/93 */
/*
* LOCALE_CTYPE definitions using iso-2022-jp-2 (RFC1554)
*/
ENCODING "ISO2022"
VARIABLE MAX2 INIT0=94B 0=94 0=94$ 2=96 2=96$ SS2
#include "charset/ASCII"
#include "charset/Latin-1"
#include "charset/JISX0201-left"
#include "charset/JISX0208-1983"

View File

@ -0,0 +1,18 @@
/* $NetBSD: ja_JP.ISO-2022-JP.src,v 1.2 2000/12/22 00:36:05 itojun Exp $ */
/* @(#)Japanese 8.1 (Berkeley) 6/6/93 */
/*
* LOCALE_CTYPE definitions using iso-2022-jp (RFC1468)
*/
ENCODING "ISO2022"
VARIABLE INIT0=94B
#include "charset/ASCII"
#include "charset/JISX0201-left"
#if 1
/* obsolete, should not be used... */
#include "charset/JISX0208-1978"
#endif
#include "charset/JISX0208-1983"

View File

@ -0,0 +1,277 @@
/* $NetBSD: ja_JP.SJIS.src,v 1.2 2000/12/22 00:36:05 itojun Exp $ */
/*
* ja_JP.SJIS locale table for BSD4.4/rune
* version 1.0
* (C) Sin'ichiro MIYATANI / Phase One, Inc
* May 12, 1995
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by Phase One, Inc.
* 4. The name of Phase One, Inc. may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
ENCODING "MSKanji"
/*
* ASCII byte code
*/
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 ' ' '\t'
PRINT 0x20-0x7e
SWIDTH1 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>
/*
* JIS X201
*/
PUNCT 0xa1-0xa5
SPACE 0xa0
BLANK 0xa0
PRINT 0xa0-0xdf
SPECIAL 0xa1-0xdf
PHONOGRAM 0xa6-0xdf
SWIDTH1 0xa0-0xdf
/*
* JIS X208/SJIS
*/
/* 100 */
PUNCT 0x8141-0x8151 0x8159-0x815a 0x815c-0x817e 0x8180-0x819e
SPACE 0x8140
PHONOGRAM 0x8152-0x8158 0x815b
/* 200 */
PUNCT 0x819f-0x81ac 0x81b8-0x81bf 0x81c8-0x81ce 0x81da-0x81e8
PUNCT 0x81f0-0x81f7 0x81fc
/* 300 */
DIGIT 0x824f-0x8258
XDIGIT 0x8260-0x8265 0x8281-0x8286
ALPHA 0x8260-0x8279 0x8281-0x829a
UPPER 0x8260-0x8279
LOWER 0x8281-0x829a
MAPLOWER <0x8260-0x8279:0x8281>
MAPLOWER <0x8281-0x829a:0x8281>
MAPUPPER <0x8260-0x8279:0x8260>
MAPUPPER <0x8281-0x829a:0x8260>
TODIGIT <0x824f-0x8258:0>
TODIGIT <0x8260-0x8265:10>
TODIGIT <0x8281-0x8286:10>
/* 400 */
PHONOGRAM 0x829f-0x82f1
/* 500 */
PHONOGRAM 0x8340-0x837e
PHONOGRAM 0x8380-0x8396
/* 600 */
UPPER 0x839f-0x83b6
LOWER 0x83bf-0x83d6
MAPLOWER <0x839f-0x83b6:0x83bf>
MAPLOWER <0x83bf-0x83d6:0x83bf>
MAPUPPER <0x839f-0x83b6:0x839f>
MAPUPPER <0x83bf-0x83d6:0x839f>
/* 700 */
UPPER 0x8440-0x8460
LOWER 0x8470-0x847e 0x8480-0x8491
MAPLOWER <0x8440-0x844e:0x8470><0x844f-0x8460:0x8480>
MAPLOWER <0x8470-0x847e:0x8470><0x8480-0x8491:0x8480>
MAPUPPER <0x8440-0x8460:0x8440>
MAPUPPER <0x8470-0x847e:0x8440><0x8480-0x8491:0x844f>
/* 800 */
SPECIAL 0x849f-0x84be
SWIDTH2 0x8140-0x817e 0x8180-0x819e /* 100 */
SWIDTH2 0x819f-0x81ac 0x81b8-0x81bf /* 200 */
SWIDTH2 0x81c8-0x81ce 0x81da-0x81e8
SWIDTH2 0x81f0-0x81f7 0x81fc
SWIDTH2 0x824f-0x8258 0x8260-0x8279 /* 300 */
SWIDTH2 0x8281-0x829a
SWIDTH2 0x829f-0x82f1 /* 400 */
SWIDTH2 0x8340-0x837e /* 500 */
SWIDTH2 0x8380-0x8396
SWIDTH2 0x839f-0x83b6 /* 600 */
SWIDTH2 0x83bf-0x83d6
SWIDTH2 0x8440-0x8460 /* 700 */
SWIDTH2 0x8470-0x847e 0x8480-0x8491
SWIDTH2 0x849f-0x84be /* 800 */
/* 1600- */
IDEOGRAM 0x889f-0x88fc /* 1600 */
IDEOGRAM 0x8940-0x897e 0x8980-0x899e /* 1700 */
IDEOGRAM 0x899f-0x89fc /* 1800 */
IDEOGRAM 0x8a40-0x8a7e 0x8a80-0x8a9e /* 1900 */
IDEOGRAM 0x8a9f-0x8afc /* 2000 */
IDEOGRAM 0x8b40-0x8b7e 0x8b80-0x8b9e /* 2100 */
IDEOGRAM 0x8b9f-0x8bfc /* 2200 */
IDEOGRAM 0x8c40-0x8c7e 0x8c80-0x8c9e /* 2300 */
IDEOGRAM 0x8c9f-0x8cfc /* 2400 */
IDEOGRAM 0x8d40-0x8d7e 0x8d80-0x8d9e /* 2500 */
IDEOGRAM 0x8d9f-0x8dfc /* 2600 */
IDEOGRAM 0x8e40-0x8e7e 0x8e80-0x8e9e /* 2700 */
IDEOGRAM 0x8e9f-0x8efc /* 2800 */
IDEOGRAM 0x8f40-0x8f7e 0x8f80-0x8f9e /* 2900 */
IDEOGRAM 0x8f9f-0x8ffc /* 3000 */
IDEOGRAM 0x9040-0x907e 0x9080-0x909e /* 3100 */
IDEOGRAM 0x909f-0x90fc /* 3200 */
IDEOGRAM 0x9140-0x917e 0x9180-0x919e /* 3300 */
IDEOGRAM 0x919f-0x91fc /* 3400 */
IDEOGRAM 0x9240-0x927e 0x9280-0x929e /* 3500 */
IDEOGRAM 0x929f-0x92fc /* 3600 */
IDEOGRAM 0x9340-0x937e 0x9380-0x939e /* 3700 */
IDEOGRAM 0x939f-0x93fc /* 3800 */
IDEOGRAM 0x9440-0x947e 0x9480-0x949e /* 3900 */
IDEOGRAM 0x949f-0x94fc /* 4000 */
IDEOGRAM 0x9540-0x957e 0x9580-0x959e /* 4100 */
IDEOGRAM 0x959f-0x95fc /* 4200 */
IDEOGRAM 0x9640-0x967e 0x9680-0x969e /* 4300 */
IDEOGRAM 0x969f-0x96fc /* 4400 */
IDEOGRAM 0x9740-0x977e 0x9780-0x979e /* 4500 */
IDEOGRAM 0x979f-0x97fc /* 4600 */
IDEOGRAM 0x9840-0x987e 0x9880-0x989e /* 4700 */
IDEOGRAM 0x989f-0x98fc /* 4800 */
IDEOGRAM 0x9940-0x997e 0x9980-0x999e /* 4900 */
IDEOGRAM 0x999f-0x99fc /* 5000 */
IDEOGRAM 0x9a40-0x9a7e 0x9a80-0x9a9e /* 5100 */
IDEOGRAM 0x9a9f-0x9afc /* 5200 */
IDEOGRAM 0x9b40-0x9b7e 0x9b80-0x9b9e /* 5300 */
IDEOGRAM 0x9b9f-0x9bfc /* 5400 */
IDEOGRAM 0x9c40-0x9c7e 0x9c80-0x9c9e /* 5500 */
IDEOGRAM 0x9c9f-0x9cfc /* 5600 */
IDEOGRAM 0x9d40-0x9d7e 0x9d80-0x9d9e /* 5700 */
IDEOGRAM 0x9d9f-0x9dfc /* 5800 */
IDEOGRAM 0x9e40-0x9e7e 0x9e80-0x9e9e /* 5900 */
IDEOGRAM 0x9e9f-0x9efc /* 6000 */
IDEOGRAM 0x9f40-0x9f7e 0x9f80-0x9f9e /* 6100 */
IDEOGRAM 0x9f9f-0x9ffc /* 6200 */
IDEOGRAM 0xe040-0xe07e 0xe080-0xe09e /* 6300 */
IDEOGRAM 0xe09f-0xe0fc /* 6400 */
IDEOGRAM 0xe140-0xe17e 0xe180-0xe19e /* 6500 */
IDEOGRAM 0xe19f-0xe1fc /* 6600 */
IDEOGRAM 0xe240-0xe27e 0xe280-0xe29e /* 6700 */
IDEOGRAM 0xe29f-0xe2fc /* 6800 */
IDEOGRAM 0xe340-0xe37e 0xe380-0xe39e /* 6900 */
IDEOGRAM 0xe39f-0xe3fc /* 7000 */
IDEOGRAM 0xe440-0xe47e 0xe480-0xe49e /* 7100 */
IDEOGRAM 0xe49f-0xe4fc /* 7200 */
IDEOGRAM 0xe540-0xe57e 0xe580-0xe59e /* 7300 */
IDEOGRAM 0xe59f-0xe5fc /* 7400 */
IDEOGRAM 0xe640-0xe67e 0xe680-0xe69e /* 7500 */
IDEOGRAM 0xe69f-0xe6fc /* 7600 */
IDEOGRAM 0xe740-0xe77e 0xe780-0xe79e /* 7700 */
IDEOGRAM 0xe79f-0xe7fc /* 7800 */
IDEOGRAM 0xe840-0xe87e 0xe880-0xe89e /* 7900 */
IDEOGRAM 0xe89f-0xe8fc /* 8000 */
IDEOGRAM 0xe940-0xe97e 0xe980-0xe99e /* 8100 */
IDEOGRAM 0xe99f-0xe9fc /* 8200 */
IDEOGRAM 0xea40-0xea7e 0xea80-0xea9e /* 8300 */
IDEOGRAM 0xea9f-0xeaa4 /* 8400 */
SWIDTH2 0x889f-0x88fc /* 1600 */
SWIDTH2 0x8940-0x897e 0x8980-0x899e /* 1700 */
SWIDTH2 0x899f-0x89fc /* 1800 */
SWIDTH2 0x8a40-0x8a7e 0x8a80-0x8a9e /* 1900 */
SWIDTH2 0x8a9f-0x8afc /* 2000 */
SWIDTH2 0x8b40-0x8b7e 0x8b80-0x8b9e /* 2100 */
SWIDTH2 0x8b9f-0x8bfc /* 2200 */
SWIDTH2 0x8c40-0x8c7e 0x8c80-0x8c9e /* 2300 */
SWIDTH2 0x8c9f-0x8cfc /* 2400 */
SWIDTH2 0x8d40-0x8d7e 0x8d80-0x8d9e /* 2500 */
SWIDTH2 0x8d9f-0x8dfc /* 2600 */
SWIDTH2 0x8e40-0x8e7e 0x8e80-0x8e9e /* 2700 */
SWIDTH2 0x8e9f-0x8efc /* 2800 */
SWIDTH2 0x8f40-0x8f7e 0x8f80-0x8f9e /* 2900 */
SWIDTH2 0x8f9f-0x8ffc /* 3000 */
SWIDTH2 0x9040-0x907e 0x9080-0x909e /* 3100 */
SWIDTH2 0x909f-0x90fc /* 3200 */
SWIDTH2 0x9140-0x917e 0x9180-0x919e /* 3300 */
SWIDTH2 0x919f-0x91fc /* 3400 */
SWIDTH2 0x9240-0x927e 0x9280-0x929e /* 3500 */
SWIDTH2 0x929f-0x92fc /* 3600 */
SWIDTH2 0x9340-0x937e 0x9380-0x939e /* 3700 */
SWIDTH2 0x939f-0x93fc /* 3800 */
SWIDTH2 0x9440-0x947e 0x9480-0x949e /* 3900 */
SWIDTH2 0x949f-0x94fc /* 4000 */
SWIDTH2 0x9540-0x957e 0x9580-0x959e /* 4100 */
SWIDTH2 0x959f-0x95fc /* 4200 */
SWIDTH2 0x9640-0x967e 0x9680-0x969e /* 4300 */
SWIDTH2 0x969f-0x96fc /* 4400 */
SWIDTH2 0x9740-0x977e 0x9780-0x979e /* 4500 */
SWIDTH2 0x979f-0x97fc /* 4600 */
SWIDTH2 0x9840-0x987e 0x9880-0x989e /* 4700 */
SWIDTH2 0x989f-0x98fc /* 4800 */
SWIDTH2 0x9940-0x997e 0x9980-0x999e /* 4900 */
SWIDTH2 0x999f-0x99fc /* 5000 */
SWIDTH2 0x9a40-0x9a7e 0x9a80-0x9a9e /* 5100 */
SWIDTH2 0x9a9f-0x9afc /* 5200 */
SWIDTH2 0x9b40-0x9b7e 0x9b80-0x9b9e /* 5300 */
SWIDTH2 0x9b9f-0x9bfc /* 5400 */
SWIDTH2 0x9c40-0x9c7e 0x9c80-0x9c9e /* 5500 */
SWIDTH2 0x9c9f-0x9cfc /* 5600 */
SWIDTH2 0x9d40-0x9d7e 0x9d80-0x9d9e /* 5700 */
SWIDTH2 0x9d9f-0x9dfc /* 5800 */
SWIDTH2 0x9e40-0x9e7e 0x9e80-0x9e9e /* 5900 */
SWIDTH2 0x9e9f-0x9efc /* 6000 */
SWIDTH2 0x9f40-0x9f7e 0x9f80-0x9f9e /* 6100 */
SWIDTH2 0x9f9f-0x9ffc /* 6200 */
SWIDTH2 0xe040-0xe07e 0xe080-0xe09e /* 6300 */
SWIDTH2 0xe09f-0xe0fc /* 6400 */
SWIDTH2 0xe140-0xe17e 0xe180-0xe19e /* 6500 */
SWIDTH2 0xe19f-0xe1fc /* 6600 */
SWIDTH2 0xe240-0xe27e 0xe280-0xe29e /* 6700 */
SWIDTH2 0xe29f-0xe2fc /* 6800 */
SWIDTH2 0xe340-0xe37e 0xe380-0xe39e /* 6900 */
SWIDTH2 0xe39f-0xe3fc /* 7000 */
SWIDTH2 0xe440-0xe47e 0xe480-0xe49e /* 7100 */
SWIDTH2 0xe49f-0xe4fc /* 7200 */
SWIDTH2 0xe540-0xe57e 0xe580-0xe59e /* 7300 */
SWIDTH2 0xe59f-0xe5fc /* 7400 */
SWIDTH2 0xe640-0xe67e 0xe680-0xe69e /* 7500 */
SWIDTH2 0xe69f-0xe6fc /* 7600 */
SWIDTH2 0xe740-0xe77e 0xe780-0xe79e /* 7700 */
SWIDTH2 0xe79f-0xe7fc /* 7800 */
SWIDTH2 0xe840-0xe87e 0xe880-0xe89e /* 7900 */
SWIDTH2 0xe89f-0xe8fc /* 8000 */
SWIDTH2 0xe940-0xe97e 0xe980-0xe99e /* 8100 */
SWIDTH2 0xe99f-0xe9fc /* 8200 */
SWIDTH2 0xea40-0xea7e 0xea80-0xea9e /* 8300 */
SWIDTH2 0xea9f-0xeaa4 /* 8400 */

View File

@ -0,0 +1,413 @@
/* $NetBSD: ja_JP.eucJP.src,v 1.2 2000/12/22 00:36:05 itojun Exp $ */
/* @(#)Japanese 8.1 (Berkeley) 6/6/93 */
/*
* Japanese LOCALE_CTYPE definitions using EUC of JIS character sets
*/
ENCODING "EUC"
/* ISO JIS JIS JIS */
/* 8859-1 X208 X201 X212 */
/* GL GR */
VARIABLE 1 0x0000 2 0x8080 2 0x0080 3 0x8000 0x8080
/*
* Code Set 1
*/
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 ' '
UPPER 'A' - 'Z'
XDIGIT '0' - '9' 'a' - 'f' 'A' - 'F'
BLANK ' ' '\t'
PRINT 0x20 - 0x7e
SWIDTH1 0x20 - 0x7e
MAPLOWER <'A' - 'Z' : 'a'>
MAPLOWER <'a' - 'z' : 'a'>
MAPUPPER <'A' - 'Z' : 'A'>
MAPUPPER <'a' - 'z' : 'A'>
TODIGIT <'0' - '9' : 0>
TODIGIT <'A' - 'F' : 10>
TODIGIT <'a' - 'f' : 10>
/*
* Code Set 2
*/
SPACE 0xa1a1
PHONOGRAM 0xa1bc
SPECIAL 0xa1a2 - 0xa1fe
PUNCT 0xa1a2 - 0xa1f8 /* A few too many in here... */
SWIDTH2 0xa1a1 - 0xa1fe
SPECIAL 0xa2a1 - 0xa2ae 0xa2ba - 0xa2c1 0xa2ca - 0xa2d0 0xa2dc - 0xa2ea
SPECIAL 0xa2f2 - 0xa2f9 0xa2fe
SWIDTH2 0xa2a1 - 0xa2ae 0xa2ba - 0xa2c1 0xa2ca - 0xa2d0 0xa2dc - 0xa2ea
SWIDTH2 0xa2f2 - 0xa2f9 0xa2fe
DIGIT 0xa3b0 - 0xa3b9 /* Zenkaku Digit */
UPPER 0xa3c1 - 0xa3da /* Zenkaku Alphabet */
LOWER 0xa3e1 - 0xa3fa /* Zenkaku Alphabet */
SWIDTH2 0xa3b0 - 0xa3b9 /* Zenkaku Digit */
SWIDTH2 0xa3c1 - 0xa3da /* Zenkaku Alphabet */
SWIDTH2 0xa3e1 - 0xa3fa /* Zenkaku Alphabet */
MAPLOWER < 0xa3c1 - 0xa3da : 0xa3e1 > /* Zenkaku Alphabet */
MAPLOWER < 0xa3e1 - 0xa3fa : 0xa3e1 > /* Zenkaku Alphabet */
MAPUPPER < 0xa3c1 - 0xa3da : 0xa3c1 > /* Zenkaku Alphabet */
MAPUPPER < 0xa3e1 - 0xa3fa : 0xa3c1 > /* Zenkaku Alphabet */
XDIGIT 0xa3c1 - 0xa3c6 0xa3e1 - 0xa3e6
TODIGIT < 0xa3b0 - 0xa3b9 : 0 >
TODIGIT < 0xa3c1 - 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TH2 0xf4a1 - 0xf4a6
/*
* This is for Code Set 3, half-width kana
*/
SPECIAL 0xa1 - 0xdf
PHONOGRAM 0xa1 - 0xdf
SWIDTH1 0xa1 - 0xdf
CONTROL 0x84 - 0x97 0x9b - 0x9f 0xe0 - 0xfe
/*
* This is for Code Set 4, supplementary Japanese graphic charset
*/
PHONOGRAM 0xa22f - 0xa239
SWIDTH2 0xa22f - 0xa239
GRAPH 0xa242 - 0xa244
SWIDTH2 0xa242 - 0xa244
GRAPH 0xa26b - 0xa271
SWIDTH2 0xa26b - 0xa271
ALPHA 0xa661 - 0xa66c
ALPHA 0xa671 - 0xa67c
SWIDTH2 0xa661 - 0xa66c
SWIDTH2 0xa671 - 0xa67c
MAPLOWER <0xa661 - 0xa66c : 0xa671>
MAPLOWER <0xa671 - 0xa67c : 0xa671>
MAPUPPER <0xa661 - 0xa66c : 0xa661>
MAPUPPER <0xa671 - 0xa67c : 0xa661>
ALPHA 0xa742 - 0xa74e
ALPHA 0xa772 - 0xa77e
SWIDTH2 0xa742 - 0xa74e
SWIDTH2 0xa772 - 0xa77e
MAPLOWER <0xa742 - 0xa74e : 0xa772>
MAPLOWER <0xa772 - 0xa77e : 0xa772>
MAPUPPER <0xa742 - 0xa74e : 0xa742>
MAPUPPER <0xa772 - 0xa77e : 0xa742>
ALPHA 0xa921 - 0xa92e
ALPHA 0xa941 - 0xa94e
SWIDTH2 0xa921 - 0xa92e
SWIDTH2 0xa941 - 0xa94e
MAPLOWER <0xa921 - 0xa92e : 0xa941>
MAPLOWER <0xa941 - 0xa94e : 0xa941>
MAPUPPER <0xa921 - 0xa92e : 0xa921>
MAPUPPER <0xa941 - 0xa94e : 0xa921>
ALPHA 0xaa21 - 0xaa57
ALPHA 0xab21 - 0xab57
SWIDTH2 0xaa21 - 0xaa57
SWIDTH2 0xab21 - 0xab57
MAPLOWER <0xaa21 - 0xaa57 : 0xab21>
MAPLOWER <0xab21 - 0xab57 : 0xab21>
MAPUPPER <0xaa21 - 0xaa57 : 0xaa21>
MAPUPPER <0xab21 - 0xab57 : 0xaa21>
IDEOGRAM 0xb021 - 0xb07e
IDEOGRAM 0xb121 - 0xb17e
IDEOGRAM 0xb221 - 0xb27e
IDEOGRAM 0xb321 - 0xb37e
IDEOGRAM 0xb421 - 0xb47e
IDEOGRAM 0xb521 - 0xb57e
IDEOGRAM 0xb621 - 0xb67e
IDEOGRAM 0xb721 - 0xb77e
IDEOGRAM 0xb821 - 0xb87e
IDEOGRAM 0xb921 - 0xb97e
IDEOGRAM 0xba21 - 0xba7e
IDEOGRAM 0xbb21 - 0xbb7e
IDEOGRAM 0xbc21 - 0xbc7e
IDEOGRAM 0xbd21 - 0xbd7e
IDEOGRAM 0xbe21 - 0xbe7e
IDEOGRAM 0xbf21 - 0xbf7e
IDEOGRAM 0xc021 - 0xc07e
IDEOGRAM 0xc121 - 0xc17e
IDEOGRAM 0xc221 - 0xc27e
IDEOGRAM 0xc321 - 0xc37e
IDEOGRAM 0xc421 - 0xc47e
IDEOGRAM 0xc521 - 0xc57e
IDEOGRAM 0xc621 - 0xc67e
IDEOGRAM 0xc721 - 0xc77e
IDEOGRAM 0xc821 - 0xc87e
IDEOGRAM 0xc921 - 0xc97e
IDEOGRAM 0xca21 - 0xca7e
IDEOGRAM 0xcb21 - 0xcb7e
IDEOGRAM 0xcc21 - 0xcc7e
IDEOGRAM 0xcd21 - 0xcd7e
IDEOGRAM 0xce21 - 0xce7e
IDEOGRAM 0xcf21 - 0xcf7e
IDEOGRAM 0xd021 - 0xd07e
IDEOGRAM 0xd121 - 0xd17e
IDEOGRAM 0xd221 - 0xd27e
IDEOGRAM 0xd321 - 0xd37e
IDEOGRAM 0xd421 - 0xd47e
IDEOGRAM 0xd521 - 0xd57e
IDEOGRAM 0xd621 - 0xd67e
IDEOGRAM 0xd721 - 0xd77e
IDEOGRAM 0xd821 - 0xd87e
IDEOGRAM 0xd921 - 0xd97e
IDEOGRAM 0xda21 - 0xda7e
IDEOGRAM 0xdb21 - 0xdb7e
IDEOGRAM 0xdc21 - 0xdc7e
IDEOGRAM 0xdd21 - 0xdd7e
IDEOGRAM 0xde21 - 0xde7e
IDEOGRAM 0xdf21 - 0xdf7e
IDEOGRAM 0xe021 - 0xe07e
IDEOGRAM 0xe121 - 0xe17e
IDEOGRAM 0xe221 - 0xe27e
IDEOGRAM 0xe321 - 0xe37e
IDEOGRAM 0xe421 - 0xe47e
IDEOGRAM 0xe521 - 0xe57e
IDEOGRAM 0xe621 - 0xe67e
IDEOGRAM 0xe721 - 0xe77e
IDEOGRAM 0xe821 - 0xe87e
IDEOGRAM 0xe921 - 0xe97e
IDEOGRAM 0xea21 - 0xea7e
IDEOGRAM 0xeb21 - 0xeb7e
IDEOGRAM 0xec21 - 0xec7e
IDEOGRAM 0xed21 - 0xed63
SWIDTH2 0xb021 - 0xb07e
SWIDTH2 0xb121 - 0xb17e
SWIDTH2 0xb221 - 0xb27e
SWIDTH2 0xb321 - 0xb37e
SWIDTH2 0xb421 - 0xb47e
SWIDTH2 0xb521 - 0xb57e
SWIDTH2 0xb621 - 0xb67e
SWIDTH2 0xb721 - 0xb77e
SWIDTH2 0xb821 - 0xb87e
SWIDTH2 0xb921 - 0xb97e
SWIDTH2 0xba21 - 0xba7e
SWIDTH2 0xbb21 - 0xbb7e
SWIDTH2 0xbc21 - 0xbc7e
SWIDTH2 0xbd21 - 0xbd7e
SWIDTH2 0xbe21 - 0xbe7e
SWIDTH2 0xbf21 - 0xbf7e
SWIDTH2 0xc021 - 0xc07e
SWIDTH2 0xc121 - 0xc17e
SWIDTH2 0xc221 - 0xc27e
SWIDTH2 0xc321 - 0xc37e
SWIDTH2 0xc421 - 0xc47e
SWIDTH2 0xc521 - 0xc57e
SWIDTH2 0xc621 - 0xc67e
SWIDTH2 0xc721 - 0xc77e
SWIDTH2 0xc821 - 0xc87e
SWIDTH2 0xc921 - 0xc97e
SWIDTH2 0xca21 - 0xca7e
SWIDTH2 0xcb21 - 0xcb7e
SWIDTH2 0xcc21 - 0xcc7e
SWIDTH2 0xcd21 - 0xcd7e
SWIDTH2 0xce21 - 0xce7e
SWIDTH2 0xcf21 - 0xcf7e
SWIDTH2 0xd021 - 0xd07e
SWIDTH2 0xd121 - 0xd17e
SWIDTH2 0xd221 - 0xd27e
SWIDTH2 0xd321 - 0xd37e
SWIDTH2 0xd421 - 0xd47e
SWIDTH2 0xd521 - 0xd57e
SWIDTH2 0xd621 - 0xd67e
SWIDTH2 0xd721 - 0xd77e
SWIDTH2 0xd821 - 0xd87e
SWIDTH2 0xd921 - 0xd97e
SWIDTH2 0xda21 - 0xda7e
SWIDTH2 0xdb21 - 0xdb7e
SWIDTH2 0xdc21 - 0xdc7e
SWIDTH2 0xdd21 - 0xdd7e
SWIDTH2 0xde21 - 0xde7e
SWIDTH2 0xdf21 - 0xdf7e
SWIDTH2 0xe021 - 0xe07e
SWIDTH2 0xe121 - 0xe17e
SWIDTH2 0xe221 - 0xe27e
SWIDTH2 0xe321 - 0xe37e
SWIDTH2 0xe421 - 0xe47e
SWIDTH2 0xe521 - 0xe57e
SWIDTH2 0xe621 - 0xe67e
SWIDTH2 0xe721 - 0xe77e
SWIDTH2 0xe821 - 0xe87e
SWIDTH2 0xe921 - 0xe97e
SWIDTH2 0xea21 - 0xea7e
SWIDTH2 0xeb21 - 0xeb7e
SWIDTH2 0xec21 - 0xec7e
SWIDTH2 0xed21 - 0xed63

View File

@ -0,0 +1,167 @@
/* $NetBSD: ko_KR.eucKR.src,v 1.2 2000/12/22 00:36:06 itojun Exp $ */
/*
* 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
SWIDTH1 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
SWIDTH2 0xa3c1 - 0xa3da 0xa3e1 - 0xa3fa
DIGIT 0xa3b0 - 0xa3b9
SWIDTH2 0xa3b0 - 0xa3b9
UPPER 0xa3c1 - 0xa3da
LOWER 0xa3e1 - 0xa3fa
PUNCT 0xa3a1 - 0xa3af 0xa3ba - 0xa3c0 0xa3db - 0xa3e0 0xa3fb - 0xa3fe
SWIDTH2 0xa3a1 - 0xa3af 0xa3ba - 0xa3c0 0xa3db - 0xa3e0 0xa3fb - 0xa3fe
SPACE 0xa1a1
SWIDTH2 0xa1a1
XDIGIT 0xa3b0 - 0xa3b9 0xa3c1 - 0xa3c6 0xa3e1 - 0xa3e6
BLANK 0xa1a1
PRINT 0xa1a1 - 0xfefe
SPECIAL 0xa1a2 - 0xa2e5
SWIDTH2 0xa1a1 - 0xa2e5
MAPLOWER < 0xa3c1 - 0xa3da : 0xa3e1 > < 0xa3e1 - 0xa3fa : 0xa3e1 >
MAPUPPER < 0xa3c1 - 0xa3da : 0xa3c1 > < 0xa3b0 - 0xa3b9 : 0xa3c1 >
TODIGIT < 0xa3b0 - 0xa3b9 : 0 >
TODIGIT < 0xa3c1 - 0xa3c6 : 10 > < 0xa3e1 - 0xa3e6 : 10 >
UPPER 0xa5c1 - 0xa5d8 /* Greek */
LOWER 0xa5e1 - 0xa5f8 /* Greek */
SWIDTH2 0xa5c1 - 0xa5d8 /* Greek */
SWIDTH2 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 */
SWIDTH2 0xaca1 - 0xacc1 /* Cyrillic */
SWIDTH2 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 */
SWIDTH2 0xa5a1 - 0xa5aa 0xa5b0 - 0xa5b9 /* Greek Digit */
SWIDTH2 0xa6a1 - 0xa6e4 0xa7a1 - 0xa7ef /* Symbols */
SWIDTH2 0xa8a1 - 0xa8fe 0xa9a1 - 0xa9fe /* Circle Symbols */
PHONOGRAM 0xa4a1 - 0xa4fe /* Full-width Hangul glyph */
PHONOGRAM 0xaaa1 - 0xaaf3 /* Full-width Hirakana */
PHONOGRAM 0xaba1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 - 0xfe
SWIDTH1 0xa1 - 0xfe
/* End of LC_CTYPE definition */

View File

@ -0,0 +1,30 @@
/* $NetBSD: la_LN.ASCII.src,v 1.1 2000/12/22 00:36:06 itojun Exp $ */
/*
* Standard LOCALE_CTYPE for the ASCII Locale
*/
ENCODING "NONE"
VARIABLE Strict 7bit ASCII locale
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
# IDEOGRAM
# SPECIAL
# PHONEGRAM
MAPLOWER <'A' - 'Z' : 'a'>
MAPLOWER <'a' - 'z' : 'a'>
MAPUPPER <'A' - 'Z' : 'A'>
MAPUPPER <'a' - 'z' : 'A'>
TODIGIT <'0' - '9' : 0>
TODIGIT <'A' - 'F' : 10>
TODIGIT <'a' - 'f' : 10>

View File

@ -0,0 +1,49 @@
/* $NetBSD: la_LN.DIS_8859-15.src,v 1.1 2000/12/22 00:36:06 itojun Exp $ */
/*
* Standard LOCALE_CTYPE for the dis_8859_15 Locale
*/
ENCODING "NONE"
VARIABLE DIS 8859-15 Latin-9 character set
#
# This is a comment
#
ALPHA 'A' - 'Z' 'a' - 'z' 0xa6 0xa8 0xb4 0xb8 0xbc - 0xbe 0xc0 - 0xd6 0xd8 - 0xf6 0xf8 - 0xff
CONTROL 0x00 - 0x1f 0x7f - 0x9f
DIGIT '0' - '9'
GRAPH 0x21 - 0x7e 0xa1 - 0xff
LOWER 'a' - 'z' 0xa8 0xb8 0xbd 0xdf - 0xf6 0xf8 - 0xff
PUNCT 0x21 - 0x2f 0x3a - 0x40 0x5b - 0x60 0x7b - 0x7e 0xa1 - 0xa5 0xa7 0xa9 - 0xb3 0xb5 - 0xb7 0xb9 - 0xbb 0xbf 0xd7 0xf7
SPACE 0x09 - 0x0d ' ' 0xa0
UPPER 'A' - 'Z' 0xa6 0xb4 0xbc 0xc0 - 0xd6 0xd8 - 0xde
XDIGIT '0' - '9' 'a' - 'f' 'A' - 'F'
BLANK ' ' '\t' 0xa0
PRINT 0x20 - 0x7e 0xa0 - 0xff
# IDEOGRAM
# SPECIAL
# PHONEGRAM
MAPLOWER <'A' - 'Z' : 'a'>
MAPLOWER <'a' - 'z' : 'a'>
MAPLOWER <0xa6 - 0xa6 : 0xa8>
MAPLOWER <0xb4 - 0xb4 : 0xb8>
MAPLOWER <0xbc - 0xbc : 0xbd>
MAPLOWER <0xbe - 0xbe : 0xff>
MAPLOWER <0xc0 - 0xd6 : 0xe0>
MAPLOWER <0xd8 - 0xde : 0xf8>
MAPLOWER <0xdf - 0xf6 : 0xdf>
MAPLOWER <0xf8 - 0xff : 0xf8>
MAPUPPER <'A' - 'Z' : 'A'>
MAPUPPER <'a' - 'z' : 'A'>
MAPUPPER <0xa8 - 0xa8 : 0xa6>
MAPUPPER <0xb8 - 0xb8 : 0xb4>
MAPUPPER <0xbd - 0xbd : 0xbc>
MAPUPPER <0xc0 - 0xd6 : 0xc0>
MAPUPPER <0xd8 - 0xde : 0xd8>
MAPUPPER <0xe0 - 0xf6 : 0xc0>
MAPUPPER <0xf8 - 0xfe : 0xd8>
MAPUPPER <0xff - 0xff : 0xbe>
TODIGIT <'0' - '9' : 0>
TODIGIT <'A' - 'F' : 10>
TODIGIT <'a' - 'f' : 10>

View File

@ -0,0 +1,41 @@
/* $NetBSD: la_LN.ISO_8859-1.src,v 1.1 2000/12/22 00:36:06 itojun Exp $ */
/*
* Standard LOCALE_CTYPE for the iso_8859_1 Locale
*/
ENCODING "NONE"
VARIABLE ISO 8859-1 Latin-1 character set
#
# This is a comment
#
ALPHA 'A' - 'Z' 'a' - 'z' 0xc0 - 0xd6 0xd8 - 0xf6 0xf8 - 0xff
CONTROL 0x00 - 0x1f 0x7f - 0x9f
DIGIT '0' - '9'
GRAPH 0x21 - 0x7e 0xa1 - 0xff
LOWER 'a' - 'z' 0xdf - 0xf6 0xf8 - 0xff
PUNCT 0x21 - 0x2f 0x3a - 0x40 0x5b - 0x60 0x7b - 0x7e 0xa1 - 0xbf 0xd7 0xf7
SPACE 0x09 - 0x0d ' ' 0xa0
UPPER 'A' - 'Z' 0xc0 - 0xd6 0xd8 - 0xde
XDIGIT '0' - '9' 'a' - 'f' 'A' - 'F'
BLANK ' ' '\t' 0xa0
PRINT 0x20 - 0x7e 0xa0 - 0xff
# IDEOGRAM
# SPECIAL
# PHONEGRAM
MAPLOWER <'A' - 'Z' : 'a'>
MAPLOWER <'a' - 'z' : 'a'>
MAPLOWER <0xc0 - 0xd6 : 0xe0>
MAPLOWER <0xd8 - 0xde : 0xf8>
MAPLOWER <0xdf - 0xf6 : 0xdf>
MAPLOWER <0xf8 - 0xff : 0xf8>
MAPUPPER <'A' - 'Z' : 'A'>
MAPUPPER <'a' - 'z' : 'A'>
MAPUPPER <0xc0 - 0xd6 : 0xc0>
MAPUPPER <0xd8 - 0xde : 0xd8>
MAPUPPER <0xe0 - 0xf6 : 0xc0>
MAPUPPER <0xf8 - 0xfe : 0xd8>
TODIGIT <'0' - '9' : 0>
TODIGIT <'A' - 'F' : 10>
TODIGIT <'a' - 'f' : 10>

View File

@ -0,0 +1,79 @@
/* $NetBSD: la_LN.ISO_8859-2.src,v 1.1 2000/12/22 00:36:06 itojun Exp $ */
/*
* LOCALE_CTYPE for the iso_8859_2 Locale
*/
ENCODING "NONE"
VARIABLE ISO 8859-2 Latin-2 character set
#
# This is a comment
#
ALPHA 'A' - 'Z' 'a' - 'z'
0xa1 0xa3 0xa5 0xa6 0xa9 - 0xac 0xae 0xaf
0xb1 0xb3 0xb5 0xb6 0xb9 - 0xbc 0xbe 0xbf
0xc0 - 0xd6 0xd8 - 0xf6 0xf8 - 0xfe
CONTROL 0x00 - 0x1f 0x7f - 0x9f
DIGIT '0' - '9'
GRAPH 0x21 - 0x7e 0xa0 - 0xff
LOWER 'a' - 'z'
0xb1 0xb3 0xb5 0xb6 0xb9 - 0xbc 0xbe 0xbf
0xdf - 0xf6 0xf8 - 0xfe
PUNCT 0x21 - 0x2f 0x3a - 0x40 0x5b - 0x60 0x7b - 0x7e
0xa2 0xa4 0xa7 0xa8 0xad 0xb0 0xb2 0xb4 0xb7 0xb8 0xbd
0xd7 0xf7 0xff
SPACE 0x09 - 0x0d 0x20 0xa0
UPPER 'A' - 'Z'
0xa1 0xa3 0xa5 0xa6 0xa9 - 0xac 0xae 0xaf
0xc0 - 0xd6 0xd8 - 0xde
XDIGIT 'a' - 'f' 'A' - 'F'
BLANK ' ' '\t' 0xa0
PRINT 0x20 - 0x7e 0xa0 - 0xff
# IDEOGRAM
# SPECIAL
# PHONEGRAM
MAPLOWER <'A' - 'Z' : 'a'>
MAPLOWER <'a' - 'z' : 'a'>
MAPLOWER <0xa1 0xb1>
MAPLOWER <0xa3 0xb3>
MAPLOWER <0xa5 0xb5>
MAPLOWER <0xa6 0xb6>
MAPLOWER <0xa9 - 0xac : 0xb9>
MAPLOWER <0xae 0xbe>
MAPLOWER <0xaf 0xbf>
MAPLOWER <0xb1 0xb1>
MAPLOWER <0xb3 0xb3>
MAPLOWER <0xb5 0xb5>
MAPLOWER <0xb6 0xb6>
MAPLOWER <0xb9 - 0xbc : 0xb9>
MAPLOWER <0xbe 0xbe>
MAPLOWER <0xbf 0xbf>
MAPLOWER <0xc0 - 0xd6 : 0xe0>
MAPLOWER <0xd8 - 0xde : 0xf8>
MAPLOWER <0xdf - 0xf6 : 0xdf>
MAPLOWER <0xf8 - 0xfe : 0xf8>
MAPUPPER <'A' - 'Z' : 'A'>
MAPUPPER <'a' - 'z' : 'A'>
MAPUPPER <0xa1 0xa1>
MAPUPPER <0xa3 0xa3>
MAPUPPER <0xa5 0xa5>
MAPUPPER <0xa6 0xa6>
MAPUPPER <0xa9 - 0xac : 0xa9>
MAPUPPER <0xae 0xae>
MAPUPPER <0xaf 0xaf>
MAPUPPER <0xb1 0xa1>
MAPUPPER <0xb3 0xa3>
MAPUPPER <0xb5 0xa5>
MAPUPPER <0xb6 0xa6>
MAPUPPER <0xb9 - 0xbc : 0xa9>
MAPUPPER <0xbe 0xae>
MAPUPPER <0xbf 0xaf>
MAPUPPER <0xc0 - 0xd6 : 0xc0>
MAPUPPER <0xd8 - 0xdf : 0xd8>
MAPUPPER <0xe0 - 0xf6 : 0xc0>
MAPUPPER <0xf8 - 0xfe : 0xd8>
TODIGIT <'0' - '9' : 0>
TODIGIT <'A' - 'F' : 10>
TODIGIT <'a' - 'f' : 10>

View File

@ -0,0 +1,79 @@
/* $NetBSD: la_LN.ISO_8859-4.src,v 1.1 2000/12/22 00:36:06 itojun Exp $ */
/*
* LOCALE_CTYPE for the iso_8859_4 Locale
*/
ENCODING "NONE"
VARIABLE ISO 8859-4 Latin-4 character set
#
# This is a comment
#
ALPHA 'A' - 'Z' 'a' - 'z'
0xa1 - 0xa3 0xa5 0xa6 0xa9 - 0xac 0xae
0xb1 0xb3 0xb5 0xb6 0xb9 - 0xd6 0xd8 - 0xf6 0xf8 - 0xfe
CONTROL 0x00 - 0x1f 0x7f - 0x9f
DIGIT '0' - '9'
GRAPH 0x21 - 0x7e 0xa0 - 0xff
LOWER 'a' - 'z'
0xa2 0xb1 0xb3 0xb5 0xb6 0xb9 - 0xbc 0xbe 0xbf
0xdf - 0xf6 0xf8 - 0xfe
PUNCT 0x21 - 0x2f 0x3a - 0x40 0x5b - 0x60 0x7b - 0x7e
0xa4 0xa7 0xa8 0xad 0xaf 0xb0 0xb2 0xb4 0xb7 0xb8
0xd7 0xf7 0xff
SPACE 0x09 - 0x0d 0x20 0xa0
UPPER 'A' - 'Z'
0xa1 0xa3 0xa5 0xa6 0xa9 - 0xac 0xae
0xc0 - 0xd6 0xd8 - 0xde
XDIGIT 'a' - 'f' 'A' - 'F'
BLANK ' ' '\t' 0xa0
PRINT 0x20 - 0x7e 0xa0 - 0xff
# IDEOGRAM
# SPECIAL
# PHONEGRAM
MAPLOWER <'A' - 'Z' : 'a'>
MAPLOWER <'a' - 'z' : 'a'>
MAPLOWER <0xa1 0xb1>
MAPLOWER <0xa2 0xa2>
MAPLOWER <0xa3 0xb3>
MAPLOWER <0xa5 0xb5>
MAPLOWER <0xa6 0xb6>
MAPLOWER <0xa9 - 0xac : 0xb9>
MAPLOWER <0xae 0xbe>
MAPLOWER <0xb1 0xb1>
MAPLOWER <0xb3 0xb3>
MAPLOWER <0xb5 0xb5>
MAPLOWER <0xb6 0xb6>
MAPLOWER <0xb9 - 0xbc : 0xb9>
MAPLOWER <0xbd 0xbf>
MAPLOWER <0xbe 0xbe>
MAPLOWER <0xbf 0xbf>
MAPLOWER <0xc0 - 0xd6 : 0xe0>
MAPLOWER <0xd8 - 0xde : 0xf8>
MAPLOWER <0xdf - 0xf6 : 0xdf>
MAPLOWER <0xf8 - 0xfe : 0xf8>
MAPUPPER <'A' - 'Z' : 'A'>
MAPUPPER <'a' - 'z' : 'A'>
MAPUPPER <0xa1 0xa1>
MAPUPPER <0xa3 0xa3>
MAPUPPER <0xa5 0xa5>
MAPUPPER <0xa6 0xa6>
MAPUPPER <0xa9 - 0xac : 0xa9>
MAPUPPER <0xae 0xae>
MAPUPPER <0xb1 0xa1>
MAPUPPER <0xb3 0xa3>
MAPUPPER <0xb5 0xa5>
MAPUPPER <0xb6 0xa6>
MAPUPPER <0xb9 - 0xbc : 0xa9>
MAPUPPER <0xbd 0xbd>
MAPUPPER <0xbe 0xae>
MAPUPPER <0xbf 0xbd>
MAPUPPER <0xc0 - 0xd6 : 0xc0>
MAPUPPER <0xd8 - 0xde : 0xd8>
MAPUPPER <0xe0 - 0xf6 : 0xc0>
MAPUPPER <0xf8 - 0xfe : 0xd8>
TODIGIT <'0' - '9' : 0>
TODIGIT <'A' - 'F' : 10>
TODIGIT <'a' - 'f' : 10>

View File

@ -0,0 +1,45 @@
/* $NetBSD: ru_SU.CP866.src,v 1.2 2000/12/22 00:36:06 itojun Exp $ */
/*
* LOCALE_CTYPE for Russian Alternative character set (CP866)
*/
ENCODING "NONE"
VARIABLE Russian Alternative charset (CP866) by ache@astral.msk.su
#
# This is a comment
#
ALPHA 'A' - 'Z' 'a' - 'z' 0x80 - 0xaf 0xe0 - 0xf1
CONTROL 0x00 - 0x1f 0x7f
DIGIT '0' - '9'
GRAPH 0x21 - 0x7e 0x80 - 0xff
LOWER 'a' - 'z' 0xa0 - 0xaf 0xe0 - 0xef 0xf1
PUNCT 0x21 - 0x2f 0x3a - 0x40 0x5b - 0x60 0x7b - 0x7e
SPACE 0x09 - 0x0d 0x20
UPPER 'A' - 'Z' 0x80 - 0x9f 0xf0
XDIGIT '0' - '9' 'a' - 'f' 'A' - 'F'
BLANK ' ' '\t'
PRINT 0x20 - 0x7e 0x80 - 0xff
SWIDTH1 0x20 - 0x7e 0xa0 - 0xff
# IDEOGRAM
# SPECIAL
# PHONEGRAM
MAPLOWER <'A' - 'Z' : 'a'>
MAPLOWER <'a' - 'z' : 'a'>
MAPLOWER <0x80 - 0x8f : 0xa0>
MAPLOWER <0x90 - 0x9f : 0xe0>
MAPLOWER <0xf0 0xf1>
MAPLOWER <0xa0 - 0xaf : 0xa0>
MAPLOWER <0xe0 - 0xef : 0xe0>
MAPLOWER <0xf1 0xf1>
MAPUPPER <'A' - 'Z' : 'A'>
MAPUPPER <'a' - 'z' : 'A'>
MAPUPPER <0x80 - 0x9f : 0x80>
MAPUPPER <0xf0 0xf0>
MAPUPPER <0xa0 - 0xaf : 0x80>
MAPUPPER <0xe0 - 0xef : 0x90>
MAPUPPER <0xf1 0xf0>
TODIGIT <'0' - '9' : 0>
TODIGIT <'A' - 'F' : 10>
TODIGIT <'a' - 'f' : 10>

View File

@ -0,0 +1,186 @@
/* $NetBSD: ru_SU.ISO_8859-5.src,v 1.1 2000/12/22 00:36:06 itojun Exp $ */
/*
* LOCALE_CTYPE for Russian part of ISO8859-5 set
*/
ENCODING "NONE"
VARIABLE Russian part of ISO8859-5 character set by nms@ethereal.ru
ALPHA 'A' - 'Z' 'a' - 'z' \
0xd0 0xd1 0xd2 0xd3 0xd4 0xd5 0xf1 0xd6 \
0xd7 0xd8 0xd9 0xda 0xdb 0xdc 0xdd 0xde \
0xdf 0xe0 0xe1 0xe2 0xe3 0xe4 0xe5 0xe6 \
0xe7 0xe8 0xe9 0xea 0xeb 0xec 0xed 0xee 0xef \
0xb0 0xb1 0xb2 0xb3 0xb4 0xb5 0xa1 0xb6 \
0xb7 0xb8 0xb9 0xba 0xbb 0xbc 0xbd 0xbe \
0xbf 0xc0 0xc1 0xc2 0xc3 0xc4 0xc5 0xc6 \
0xc7 0xc8 0xc9 0xca 0xcb 0xcc 0xcd 0xce 0xcf
BLANK ' ' '\t'
CONTROL 0x00 - 0x1f 0x7f
DIGIT '0' - '9'
GRAPH 0x21 - 0x7e
LOWER 'a' - 'z' \
0xd0 0xd1 0xd2 0xd3 0xd4 0xd5 0xf1 0xd6 \
0xd7 0xd8 0xd9 0xda 0xdb 0xdc 0xdd 0xde \
0xdf 0xe0 0xe1 0xe2 0xe3 0xe4 0xe5 0xe6 \
0xe7 0xe8 0xe9 0xea 0xeb 0xec 0xed 0xee 0xef
PRINT 0x20 - 0x7e
PUNCT 0x21 - 0x2f 0x3a - 0x40 0x5b - 0x60 0x7b - 0x7e
SPACE 0x09 - 0x0d 0x20
UPPER 'A' - 'Z' \
0xb0 0xb1 0xb2 0xb3 0xb4 0xb5 0xa1 0xb6 \
0xb7 0xb8 0xb9 0xba 0xbb 0xbc 0xbd 0xbe \
0xbf 0xc0 0xc1 0xc2 0xc3 0xc4 0xc5 0xc6 \
0xc7 0xc8 0xc9 0xca 0xcb 0xcc 0xcd 0xce 0xcf
XDIGIT '0' - '9' 'a' - 'f' 'A' - 'F'
# IDEOGRAM
# SPECIAL
# PHONEGRAM
MAPLOWER <'A' - 'Z' : 'a'>
MAPLOWER <'a' - 'z' : 'a'>
MAPLOWER <0xb0 0xd0>
MAPLOWER <0xb1 0xd1>
MAPLOWER <0xb2 0xd2>
MAPLOWER <0xb3 0xd3>
MAPLOWER <0xb4 0xd4>
MAPLOWER <0xb5 0xd5>
MAPLOWER <0xa1 0xf1>
MAPLOWER <0xb6 0xd6>
MAPLOWER <0xb7 0xd7>
MAPLOWER <0xb8 0xd8>
MAPLOWER <0xb9 0xd9>
MAPLOWER <0xba 0xda>
MAPLOWER <0xbb 0xdb>
MAPLOWER <0xbc 0xdc>
MAPLOWER <0xbd 0xdd>
MAPLOWER <0xbe 0xde>
MAPLOWER <0xbf 0xdf>
MAPLOWER <0xc0 0xe0>
MAPLOWER <0xc1 0xe1>
MAPLOWER <0xc2 0xe2>
MAPLOWER <0xc3 0xe3>
MAPLOWER <0xc4 0xe4>
MAPLOWER <0xc5 0xe5>
MAPLOWER <0xc6 0xe6>
MAPLOWER <0xc7 0xe7>
MAPLOWER <0xc8 0xe8>
MAPLOWER <0xc9 0xe9>
MAPLOWER <0xca 0xea>
MAPLOWER <0xcb 0xeb>
MAPLOWER <0xcc 0xec>
MAPLOWER <0xcd 0xed>
MAPLOWER <0xce 0xee>
MAPLOWER <0xcf 0xef>
MAPLOWER <0xd0 0xd0>
MAPLOWER <0xd1 0xd1>
MAPLOWER <0xd2 0xd2>
MAPLOWER <0xd3 0xd3>
MAPLOWER <0xd4 0xd4>
MAPLOWER <0xd5 0xd5>
MAPLOWER <0xf1 0xf1>
MAPLOWER <0xd6 0xd6>
MAPLOWER <0xd7 0xd7>
MAPLOWER <0xd8 0xd8>
MAPLOWER <0xd9 0xd9>
MAPLOWER <0xda 0xda>
MAPLOWER <0xdb 0xdb>
MAPLOWER <0xdc 0xdc>
MAPLOWER <0xdd 0xdd>
MAPLOWER <0xde 0xde>
MAPLOWER <0xdf 0xdf>
MAPLOWER <0xe0 0xe0>
MAPLOWER <0xe1 0xe1>
MAPLOWER <0xe2 0xe2>
MAPLOWER <0xe3 0xe3>
MAPLOWER <0xe4 0xe4>
MAPLOWER <0xe5 0xe5>
MAPLOWER <0xe6 0xe6>
MAPLOWER <0xe7 0xe7>
MAPLOWER <0xe8 0xe8>
MAPLOWER <0xe9 0xe9>
MAPLOWER <0xea 0xea>
MAPLOWER <0xeb 0xeb>
MAPLOWER <0xec 0xec>
MAPLOWER <0xed 0xed>
MAPLOWER <0xee 0xee>
MAPLOWER <0xef 0xef>
MAPUPPER <'A' - 'Z' : 'A'>
MAPUPPER <'a' - 'z' : 'A'>
MAPUPPER <0xd0 0xb0>
MAPUPPER <0xd1 0xb1>
MAPUPPER <0xd2 0xb2>
MAPUPPER <0xd3 0xb3>
MAPUPPER <0xd4 0xb4>
MAPUPPER <0xd5 0xb5>
MAPUPPER <0xf1 0xa1>
MAPUPPER <0xd6 0xb6>
MAPUPPER <0xd7 0xb7>
MAPUPPER <0xd8 0xb8>
MAPUPPER <0xd9 0xb9>
MAPUPPER <0xda 0xba>
MAPUPPER <0xdb 0xbb>
MAPUPPER <0xdc 0xbc>
MAPUPPER <0xdd 0xbd>
MAPUPPER <0xde 0xbe>
MAPUPPER <0xdf 0xbf>
MAPUPPER <0xe0 0xc0>
MAPUPPER <0xe1 0xc1>
MAPUPPER <0xe2 0xc2>
MAPUPPER <0xe3 0xc3>
MAPUPPER <0xe4 0xc4>
MAPUPPER <0xe5 0xc5>
MAPUPPER <0xe6 0xc6>
MAPUPPER <0xe7 0xc7>
MAPUPPER <0xe8 0xc8>
MAPUPPER <0xe9 0xc9>
MAPUPPER <0xea 0xca>
MAPUPPER <0xeb 0xcb>
MAPUPPER <0xec 0xcc>
MAPUPPER <0xed 0xcd>
MAPUPPER <0xee 0xce>
MAPUPPER <0xef 0xcf>
MAPUPPER <0xb0 0xb0>
MAPUPPER <0xb1 0xb1>
MAPUPPER <0xb2 0xb2>
MAPUPPER <0xb3 0xb3>
MAPUPPER <0xb4 0xb4>
MAPUPPER <0xb5 0xb5>
MAPUPPER <0xa1 0xa1>
MAPUPPER <0xb6 0xb6>
MAPUPPER <0xb7 0xb7>
MAPUPPER <0xb8 0xb8>
MAPUPPER <0xb9 0xb9>
MAPUPPER <0xba 0xba>
MAPUPPER <0xbb 0xbb>
MAPUPPER <0xbc 0xbc>
MAPUPPER <0xbd 0xbd>
MAPUPPER <0xbe 0xbe>
MAPUPPER <0xbf 0xbf>
MAPUPPER <0xc0 0xc0>
MAPUPPER <0xc1 0xc1>
MAPUPPER <0xc2 0xc2>
MAPUPPER <0xc3 0xc3>
MAPUPPER <0xc4 0xc4>
MAPUPPER <0xc5 0xc5>
MAPUPPER <0xc6 0xc6>
MAPUPPER <0xc7 0xc7>
MAPUPPER <0xc8 0xc8>
MAPUPPER <0xc9 0xc9>
MAPUPPER <0xca 0xca>
MAPUPPER <0xcb 0xcb>
MAPUPPER <0xcc 0xcc>
MAPUPPER <0xcd 0xcd>
MAPUPPER <0xce 0xce>
MAPUPPER <0xcf 0xcf>
TODIGIT <'0' - '9' : 0>
TODIGIT <'A' - 'F' : 10>
TODIGIT <'a' - 'f' : 10>

View File

@ -0,0 +1,42 @@
/* $NetBSD: ru_SU.KOI8-R.src,v 1.2 2000/12/22 00:36:06 itojun Exp $ */
/*
* LOCALE_CTYPE for Russian koi8-r character set (RFC1489)
*/
ENCODING "NONE"
VARIABLE Russian koi8-r character set by ache@astral.msk.su
#
# This is a comment
#
ALPHA 'A' - 'Z' 'a' - 'z' 0xa3 0xb3 0xc0 - 0xff
CONTROL 0x00 - 0x1f 0x7f
DIGIT '0' - '9'
GRAPH 0x21 - 0x7e 0x80 - 0x99 0x9b - 0xff
LOWER 'a' - 'z' 0xa3 0xc0 - 0xdf
PUNCT 0x21 - 0x2f 0x3a - 0x40 0x5b - 0x60 0x7b - 0x7e
SPACE 0x09 - 0x0d 0x20 0x9a
UPPER 'A' - 'Z' 0xb3 0xe0 - 0xff
XDIGIT '0' - '9' 'a' - 'f' 'A' - 'F'
BLANK ' ' '\t' 0x9a
PRINT 0x20 - 0x7e 0x80 - 0xff
SWIDTH1 0x20 - 0x7e 0xa0 - 0xff
# IDEOGRAM
# SPECIAL
# PHONEGRAM
MAPLOWER <'A' - 'Z' : 'a'>
MAPLOWER <'a' - 'z' : 'a'>
MAPLOWER <0xb3 0xa3>
MAPLOWER <0xa3 0xa3>
MAPLOWER <0xe0 - 0xff : 0xc0>
MAPLOWER <0xc0 - 0xdf : 0xc0>
MAPUPPER <'A' - 'Z' : 'A'>
MAPUPPER <'a' - 'z' : 'A'>
MAPUPPER <0xb3 0xb3>
MAPUPPER <0xa3 0xb3>
MAPUPPER <0xe0 - 0xff : 0xe0>
MAPUPPER <0xc0 - 0xdf : 0xe0>
TODIGIT <'0' - '9' : 0>
TODIGIT <'A' - 'F' : 10>
TODIGIT <'a' - 'f' : 10>

View File

@ -0,0 +1,59 @@
/* $NetBSD: uk_UA.KOI8-U.src,v 1.1 2000/12/22 00:36:06 itojun Exp $ */
/*
* LOCALE_CTYPE for Ukrainian koi8-u character set (RFC2319)
*
* $FreeBSD: src/share/mklocale/uk_UA.KOI8-U.src,v 1.1 1999/10/18 21:49:02 ache Exp $
*/
ENCODING "NONE"
VARIABLE Ukrainian koi8-u character set
#
# This is a comment
#
ALPHA 'A' - 'Z' 'a' - 'z' 0xa3 0xb3 0xa4 0xb4 0xa6 0xb6 0xa7 0xb7 0xad 0xbd 0xc0 - 0xff
CONTROL 0x00 - 0x1f 0x7f
DIGIT '0' - '9'
GRAPH 0x21 - 0x7e 0x80 - 0x99 0x9b - 0xff
LOWER 'a' - 'z' 0xa3 0xa4 0xa6 0xa7 0xad 0xc0 - 0xdf
PUNCT 0x21 - 0x2f 0x3a - 0x40 0x5b - 0x60 0x7b - 0x7e
SPACE 0x09 - 0x0d 0x20 0x9a
UPPER 'A' - 'Z' 0xb3 0xb4 0xb6 0xb7 0xbd 0xe0 - 0xff
XDIGIT '0' - '9' 'a' - 'f' 'A' - 'F'
BLANK ' ' '\t' 0x9a
PRINT 0x20 - 0x7e 0x80 - 0xff
# IDEOGRAM
# SPECIAL
# PHONEGRAM
MAPLOWER <'A' - 'Z' : 'a'>
MAPLOWER <'a' - 'z' : 'a'>
MAPLOWER <0xb3 0xa3>
MAPLOWER <0xa3 0xa3>
MAPLOWER <0xb4 0xa4>
MAPLOWER <0xa4 0xa4>
MAPLOWER <0xb6 0xa6>
MAPLOWER <0xa6 0xa6>
MAPLOWER <0xb7 0xa7>
MAPLOWER <0xa7 0xa7>
MAPLOWER <0xbd 0xad>
MAPLOWER <0xad 0xad>
MAPLOWER <0xe0 - 0xff : 0xc0>
MAPLOWER <0xc0 - 0xdf : 0xc0>
MAPUPPER <'A' - 'Z' : 'A'>
MAPUPPER <'a' - 'z' : 'A'>
MAPUPPER <0xb3 0xb3>
MAPUPPER <0xa3 0xb3>
MAPUPPER <0xb4 0xb4>
MAPUPPER <0xa4 0xb4>
MAPUPPER <0xb6 0xb6>
MAPUPPER <0xa6 0xb6>
MAPUPPER <0xb7 0xb7>
MAPUPPER <0xa7 0xb7>
MAPUPPER <0xbd 0xbd>
MAPUPPER <0xad 0xbd>
MAPUPPER <0xe0 - 0xff : 0xe0>
MAPUPPER <0xc0 - 0xdf : 0xe0>
TODIGIT <'0' - '9' : 0>
TODIGIT <'A' - 'F' : 10>
TODIGIT <'a' - 'f' : 10>

View File

@ -0,0 +1,257 @@
/* $NetBSD: zh_CN.eucCN.src,v 1.2 2000/12/22 00:36:06 itojun Exp $ */
/*-
* Copyright (c) 1998, Luoqi Chen
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $FreeBSD: src/usr.bin/mklocale/data/zh_CN.EUC.src,v 1.2.2.1 1999/08/29 15:31:06 peter Exp $
*/
ENCODING "EUC"
VARIABLE 1 0x0000 2 0x8080 2 0x0080 3 0x8000 0x8080
/*
* Code Set 1
*/
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
SWIDTH1 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
*/
SPACE 0xa1a1
BLANK 0xa1a1
PUNCT 0xa1a2 - 0xa1fe
SWIDTH2 0xa1a1 - 0xa1fe
DIGIT 0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src,v 1.2 2000/12/22 00:36:06 itojun Exp $ */
/*
* big5 first byte: A1-FE
* second byte: 40-7E, A1-FE
*/
ENCODING "BIG5"
/* VARIABLE BIG5 character set */
/*
* ASCII
*/
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
SWIDTH1 0x20 - 0x7e
MAPLOWER < 'A' - 'Z' : 'a' >
MAPLOWER < 'a' - 'z' : 'a' >
MAPUPPER < 'A' - 'Z' : 'A' >
MAPUPPER < 'a' - 'z' : 'A' >
TODIGIT < '0' - '9' : 0 >
TODIGIT < 'A' - 'F' : 10 >
TODIGIT < 'a' - 'f' : 10 >
/*
* the real thing
*/
PUNCT 0xa141 - 0xa17e 0xa1a1 - 0xa1ac
SWIDTH2 0xa141 - 0xa17e 0xa1a1 - 0xa1ac
SPECIAL 0xa1ad - 0xa1fe 0xa240 - 0xa27e 0xa2a1 - 0xa2ae
SWIDTH2 0xa1ad - 0xa1fe 0xa240 - 0xa27e 0xa2a1 - 0xa2ae
/* full width 0 1 2 .. 9 */
DIGIT 0xa2af - 0xa2b8
SWIDTH2 0xa2af - 0xa2b8
/* map these (SuChou Code (12) and Roman (I II etc.) number (10)) to digits */
TODIGIT < 0xa2b9 - 0xa2c2 : 1 >
TODIGIT < 0xa2c3 - 0xa2ce : 1 >
/* full width A .. Z and a .. z */
/* note the lower case alphabets are not continuous */
UPPER 0xa2cf - 0xa2e8
LOWER 0xa2e9 - 0xa2fe 0xa340 - 0xa343
SWIDTH2 0xa2cf - 0xa2e8
SWIDTH2 0xa2e9 - 0xa2fe 0xa340 - 0xa343
/* we have to got two line for each 'cause they are not continuous */
MAPLOWER < 0xa2cf - 0xa2e4 : 0xa2e9 > < 0xa2e5 - 0xa2e8 : 0xa340 >
MAPLOWER < 0xa2e9 - 0xa2fe : 0xa2e9 > < 0xa340 - 0xa343 : 0xa340 >
MAPUPPER < 0xa2cf - 0xa2e4 : 0xa2cf > < 0xa2e5 - 0xa2e8 : 0xa2e5 >
MAPUPPER < 0xa2e9 - 0xa2fe : 0xa2cf > < 0xa340 - 0xa343 : 0xa2e5 >
XDIGIT 0xa2cf - 0xa2d4 0xa2e9 - 0xa2ee
SPACE 0xa3bc
SWIDTH2 0xa3bc
/* bopomofo symbols */
PHONOGRAM 0xa374 - 0xa37e 0xa3a1 - 0xa3bb
SWIDTH2 0xa374 - 0xa37e 0xa3a1 - 0xa3bb
/* tone symbols */
PHONOGRAM 0xa3bd - 0xa3bf
SWIDTH2 0xa3bd - 0xa3bf
/* greek */
UPPER 0xa344 - 0xa35b
LOWER 0xa35c - 0xa373
SWIDTH2 0xa344 - 0xa35b
SWIDTH2 0xa35c - 0xa373
MAPUPPER < 0xa344 - 0xa35b : 0xa344 > < 0xa35c - 0xa373 : 0xa344 >
MAPLOWER < 0xa344 - 0xa35b : 0xa35c > < 0xa35c - 0xa373 : 0xa35c >
/* cyrillic (russian etc) */
UPPER 0xc7f3 - 0xc7fe 0xc840 - 0xc854
LOWER 0xc855 - 0xc875
SWIDTH2 0xc7f3 - 0xc7fe 0xc840 - 0xc854
SWIDTH2 0xc855 - 0xc875
MAPUPPER < 0xc7f3 - 0xc7fe : 0xc7f3 > < 0xc840 - 0xc854 : 0xc840 >
MAPUPPER < 0xc855 - 0xc860 : 0xc7f3 > < 0xc861 - 0xc875 : 0xc840 >
MAPLOWER < 0xc7f3 - 0xc7fe : 0xc855 > < 0xc840 - 0xc854 : 0xc861 >
MAPLOWER < 0xc855 - 0xc860 : 0xc855 > < 0xc861 - 0xc875 : 0xc861 >
IDEOGRAM 0xa440 - 0xa47e 0xa4a1 - 0xa4fe
IDEOG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M 0xd740 - 0xd774 0xd7a1 - 0xd7fe
IDEOGRAM 0xd840 - 0xd874 0xd8a1 - 0xd8fe
IDEOGRAM 0xd940 - 0xd974 0xd9a1 - 0xd9fe
IDEOGRAM 0xda40 - 0xda74 0xdaa1 - 0xdafe
IDEOGRAM 0xdb40 - 0xdb74 0xdba1 - 0xdbfe
IDEOGRAM 0xdc40 - 0xdc74 0xdca1 - 0xdcfe
IDEOGRAM 0xdd40 - 0xdd74 0xdda1 - 0xddfe
IDEOGRAM 0xde40 - 0xde74 0xdea1 - 0xdefe
IDEOGRAM 0xdf40 - 0xdf74 0xdfa1 - 0xdffe
IDEOGRAM 0xe040 - 0xe074 0xe0a1 - 0xe0fe
IDEOGRAM 0xe140 - 0xe174 0xe1a1 - 0xe1fe
IDEOGRAM 0xe240 - 0xe274 0xe2a1 - 0xe2fe
IDEOGRAM 0xe340 - 0xe374 0xe3a1 - 0xe3fe
IDEOGRAM 0xe440 - 0xe474 0xe4a1 - 0xe4fe
IDEOGRAM 0xe540 - 0xe574 0xe5a1 - 0xe5fe
IDEOGRAM 0xe640 - 0xe674 0xe6a1 - 0xe6fe
IDEOGRAM 0xe740 - 0xe774 0xe7a1 - 0xe7fe
IDEOGRAM 0xe840 - 0xe874 0xe8a1 - 0xe8fe
IDEOGRAM 0xe940 - 0xe974 0xe9a1 - 0xe9fe
IDEOGRAM 0xea40 - 0xea74 0xeaa1 - 0xeafe
IDEOGRAM 0xeb40 - 0xeb74 0xeba1 - 0xebfe
IDEOGRAM 0xec40 - 0xec74 0xeca1 - 0xecfe
IDEOGRAM 0xed40 - 0xed74 0xeda1 - 0xedfe
IDEOGRAM 0xee40 - 0xee74 0xeea1 - 0xeefe
IDEOGRAM 0xef40 - 0xef74 0xefa1 - 0xeffe
IDEOGRAM 0xf040 - 0xf074 0xf0a1 - 0xf0fe
IDEOGRAM 0xf140 - 0xf174 0xf1a1 - 0xf1fe
IDEOGRAM 0xf240 - 0xf274 0xf2a1 - 0xf2fe
IDEOGRAM 0xf340 - 0xf374 0xf3a1 - 0xf3fe
IDEOGRAM 0xf440 - 0xf474 0xf4a1 - 0xf4fe
IDEOGRAM 0xf540 - 0xf574 0xf5a1 - 0xf5fe
IDEOGRAM 0xf640 - 0xf674 0xf6a1 - 0xf6fe
IDEOGRAM 0xf740 - 0xf774 0xf7a1 - 0xf7fe
IDEOGRAM 0xf840 - 0xf874 0xf8a1 - 0xf8fe
IDEOGRAM 0xf940 - 0xf974 0xf9a1 - 0xf9dc
SWIDTH2 0xc940 - 0xc97e 0xc9a1 - 0xc9fe
SWIDTH2 0xca40 - 0xca7e 0xcaa1 - 0xcafe
SWIDTH2 0xcb40 - 0xcb7e 0xcba1 - 0xcbfe
SWIDTH2 0xcc40 - 0xcc7e 0xcca1 - 0xccfe
SWIDTH2 0xcd40 - 0xcd7e 0xcda1 - 0xcdfe
SWIDTH2 0xce40 - 0xce7e 0xcea1 - 0xcefe
SWIDTH2 0xcf40 - 0xcf7e 0xcfa1 - 0xcffe
SWIDTH2 0xd040 - 0xd074 0xd0a1 - 0xd0fe
SWIDTH2 0xd140 - 0xd174 0xd1a1 - 0xd1fe
SWIDTH2 0xd240 - 0xd274 0xd2a1 - 0xd2fe
SWIDTH2 0xd340 - 0xd374 0xd3a1 - 0xd3fe
SWIDTH2 0xd440 - 0xd474 0xd4a1 - 0xd4fe
SWIDTH2 0xd540 - 0xd574 0xd5a1 - 0xd5fe
SWIDTH2 0xd640 - 0xd674 0xd6a1 - 0xd6fe
SWIDTH2 0xd740 - 0xd774 0xd7a1 - 0xd7fe
SWIDTH2 0xd840 - 0xd874 0xd8a1 - 0xd8fe
SWIDTH2 0xd940 - 0xd974 0xd9a1 - 0xd9fe
SWIDTH2 0xda40 - 0xda74 0xdaa1 - 0xdafe
SWIDTH2 0xdb40 - 0xdb74 0xdba1 - 0xdbfe
SWIDTH2 0xdc40 - 0xdc74 0xdca1 - 0xdcfe
SWIDTH2 0xdd40 - 0xdd74 0xdda1 - 0xddfe
SWIDTH2 0xde40 - 0xde74 0xdea1 - 0xdefe
SWIDTH2 0xdf40 - 0xdf74 0xdfa1 - 0xdffe
SWIDTH2 0xe040 - 0xe074 0xe0a1 - 0xe0fe
SWIDTH2 0xe140 - 0xe174 0xe1a1 - 0xe1fe
SWIDTH2 0xe240 - 0xe274 0xe2a1 - 0xe2fe
SWIDTH2 0xe340 - 0xe374 0xe3a1 - 0xe3fe
SWIDTH2 0xe440 - 0xe474 0xe4a1 - 0xe4fe
SWIDTH2 0xe540 - 0xe574 0xe5a1 - 0xe5fe
SWIDTH2 0xe640 - 0xe674 0xe6a1 - 0xe6fe
SWIDTH2 0xe740 - 0xe774 0xe7a1 - 0xe7fe
SWIDTH2 0xe840 - 0xe874 0xe8a1 - 0xe8fe
SWIDTH2 0xe940 - 0xe974 0xe9a1 - 0xe9fe
SWIDTH2 0xea40 - 0xea74 0xeaa1 - 0xeafe
SWIDTH2 0xeb40 - 0xeb74 0xeba1 - 0xebfe
SWIDTH2 0xec40 - 0xec74 0xeca1 - 0xecfe
SWIDTH2 0xed40 - 0xed74 0xeda1 - 0xedfe
SWIDTH2 0xee40 - 0xee74 0xeea1 - 0xeefe
SWIDTH2 0xef40 - 0xef74 0xefa1 - 0xeffe
SWIDTH2 0xf040 - 0xf074 0xf0a1 - 0xf0fe
SWIDTH2 0xf140 - 0xf174 0xf1a1 - 0xf1fe
SWIDTH2 0xf240 - 0xf274 0xf2a1 - 0xf2fe
SWIDTH2 0xf340 - 0xf374 0xf3a1 - 0xf3fe
SWIDTH2 0xf440 - 0xf474 0xf4a1 - 0xf4fe
SWIDTH2 0xf540 - 0xf574 0xf5a1 - 0xf5fe
SWIDTH2 0xf640 - 0xf674 0xf6a1 - 0xf6fe
SWIDTH2 0xf740 - 0xf774 0xf7a1 - 0xf7fe
SWIDTH2 0xf840 - 0xf874 0xf8a1 - 0xf8fe
SWIDTH2 0xf940 - 0xf974 0xf9a1 - 0xf9dc
/* Eten external charset 0xc6a1 - 0xc8d3 */
/* lots strange numbers */
SPECIAL 0xc6a1 - 0xc6be
SWIDTH2 0xc6a1 - 0xc6be
TODIGIT < 0xc6a1 - 0xc6aa : 1 > < 0xc6ab - 0xc6b4 : 1 >
TODIGIT < 0xc6b5 - 0xc6be : 1>
/* these are HanZi Radicals */
SPECIAL 0xc6bf - 0xc6d7 0xc879 - 0xc87e 0xc8a1 - 0xc8a4
SWIDTH2 0xc6bf - 0xc6d7 0xc879 - 0xc87e 0xc8a1 - 0xc8a4
/* who knows what these are ... */
SPECIAL 0xc6d8 - 0xc6e6 0xc876 - 0xc878
SWIDTH2 0xc6d8 - 0xc6e6 0xc876 - 0xc878
/* hiragana */
SPECIAL 0xc6e7 - 0xc6fe 0xc740 - 0xc77a
SWIDTH2 0xc6e7 - 0xc6fe 0xc740 - 0xc77a
/* katakana */
SPECIAL 0xc77b - 0xc77e 0xc7a1 - 0xc7f2
SWIDTH2 0xc77b - 0xc77e 0xc7a1 - 0xc7f2
/* ZIP code (in Japan) */
SPECIAL 0xc8a5 - 0x08cc
SWIDTH2 0xc8a5 - 0x08cc
/* various Japanese symbols */
SPECIAL 0x08cd - 0xc8d3
SWIDTH2 0x08cd - 0xc8d3
/* line drawing glyphs */
SPECIAL 0xf9dd - 0xf9ff
SWIDTH2 0xf9dd - 0xf9ff

View File

@ -0,0 +1,34 @@
/* $NetBSD: zh_TW.eucTW.src,v 1.2 2000/12/22 00:36:06 itojun Exp $ */
/* @(#)Japanese 8.1 (Berkeley) 6/6/93 */
/*
* LOCALE_CTYPE definitions using euc-tw
*/
ENCODING "EUCTW"
/*
* Code Set 1
*/
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 ' '
UPPER 'A' - 'Z'
XDIGIT '0' - '9' 'a' - 'f' 'A' - 'F'
BLANK ' ' '\t'
PRINT 0x20 - 0x7e
SWIDTH1 0x20 - 0x7e
MAPLOWER <'A' - 'Z' : 'a'>
MAPLOWER <'a' - 'z' : 'a'>
MAPUPPER <'A' - 'Z' : 'A'>
MAPUPPER <'a' - 'z' : 'A'>
TODIGIT <'0' - '9' : 0>
TODIGIT <'A' - 'F' : 10>
TODIGIT <'a' - 'f' : 10>