1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-30 12:04:07 +00:00

I have been running with these locale data for a while now and

I hope some other people might find them useful. They are for
zh_CN.EUC (GB) only. I'm not familiar with the BIG5 encoding,
so I could only hope someone else would fill the gap.

PR:		7310
Submitted by:	Luoqi Chen <luoqi@chen.ml.org>
This commit is contained in:
Poul-Henning Kamp 1998-08-10 09:49:42 +00:00
parent 572bfce46d
commit da52a1bae1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=38221
13 changed files with 1491 additions and 12 deletions

View File

@ -1,4 +1,4 @@
# $Id: BSD.local.dist,v 1.37 1998/03/20 16:53:01 itojun Exp $
# $Id: BSD.local.dist,v 1.38 1998/08/07 16:47:07 ache Exp $
#
/set type=dir uname=root gname=wheel mode=0755
@ -237,6 +237,8 @@
..
sv_SE.ISO_8859-1
..
zh_CN.EUC
..
..
skel
..

View File

@ -1,4 +1,4 @@
# $Id: BSD.usr.dist,v 1.115 1998/06/13 19:26:38 jhay Exp $
# $Id: BSD.usr.dist,v 1.116 1998/08/07 16:47:07 ache Exp $
#
/set type=dir uname=bin gname=bin mode=0755
@ -361,6 +361,8 @@
..
sv_SE.ISO_8859-1
..
zh_CN.EUC
..
..
/set type=dir uname=man gname=bin mode=0755
man uname=bin
@ -543,6 +545,8 @@
..
sv_SE.ISO_8859-1
..
zh_CN.EUC
..
..
pcvt
Doc

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.13 1998/07/07 23:04:25 bde Exp $
# $Id: Makefile,v 1.14 1998/08/07 17:08:56 ache Exp $
NOMAN=YES
CLEANFILES+= ${LOCALES:S/$/.out/g}
@ -15,7 +15,7 @@ LOCALES= de_DE.ISO_8859-1 \
LOCALEDIR= ${DESTDIR}/usr/share/locale
ASCIILINKS = \
ko_KR.EUC ja_JP.EUC ja_JP.SJIS
ko_KR.EUC ja_JP.EUC ja_JP.SJIS zh_CN.EUC
LATIN1LINKS = \
da_DK en_AU en_CA en_GB en_US fi_FI \

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.13 1998/07/07 23:05:59 bde Exp $
# $Id: Makefile,v 1.14 1998/08/07 17:07:12 ache Exp $
NOMAN=YES
CLEANFILES+= ${LOCALES:S/$/.out/g}
@ -10,7 +10,8 @@ LOCALES= ja_JP.EUC \
lt_LN.ISO_8859-1 \
lt_LN.ISO_8859-2 \
ru_SU.CP866 \
ru_SU.KOI8-R
ru_SU.KOI8-R \
zh_CN.EUC
LOCALEDIR= ${DESTDIR}/usr/share/locale

View File

@ -0,0 +1,334 @@
/*-
* 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.
*
* $Id$
*/
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
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
DIGIT 0xa2b1 - 0xa2e2 0xa2e5 - 0xa2ee 0xa2f1 - 0xa2fc
TODIGIT < 0xa2b1 - 0xa2c4 : 0 >
TODIGIT < 0xa2c5 - 0xa2d8 : 0 >
TODIGIT < 0xa2d9 - 0xa2e2 : 0 >
TODIGIT < 0xa2e5 - 0xa2ee : 0 >
TODIGIT < 0xa2f1 - 0xa2fc : 0 >
ALPHA 0xa3c1 - 0xa3da 0xa3e1 - 0xa3fa
DIGIT 0xa3b0 - 0xa3b9
UPPER 0xa3c1 - 0xa3da
LOWER 0xa3e1 - 0xa3fa
PUNCT 0xa3a1 - 0xa3af 0xa3ba - 0xa3c0 0xa3db - 0xa3e0 0xa3fb - 0xa3fe
XDIGIT 0xa3b0 - 0xa3b9 0xa3c1 - 0xa3c6 0xa3e1 - 0xa3e6
MAPLOWER < 0xa3c1 - 0xa3da : 0xa3e1 > < 0xa3e1 - 0xa3fa : 0xa3e1 >
MAPUPPER < 0xa3c1 - 0xa3da : 0xa3c1 > < 0xa3b0 - 0xa3b9 : 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
IDEOGRAM 0xeaa1 - 0xeafe
IDEOGRAM 0xeba1 - 0xebfe
IDEOGRAM 0xeca1 - 0xecfe
IDEOGRAM 0xeda1 - 0xedfe
IDEOGRAM 0xeea1 - 0xeefe
IDEOGRAM 0xefa1 - 0xeffe
IDEOGRAM 0xf0a1 - 0xf0fe
IDEOGRAM 0xf1a1 - 0xf1fe
IDEOGRAM 0xf2a1 - 0xf2fe
IDEOGRAM 0xf3a1 - 0xf3fe
IDEOGRAM 0xf4a1 - 0xf4fe
IDEOGRAM 0xf5a1 - 0xf5fe
IDEOGRAM 0xf6a1 - 0xf6fe
IDEOGRAM 0xf7a1 - 0xf7fe
/*-
* 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.
*
* $Id$
*/
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
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
DIGIT 0xa2b1 - 0xa2e2 0xa2e5 - 0xa2ee 0xa2f1 - 0xa2fc
TODIGIT < 0xa2b1 - 0xa2c4 : 0 >
TODIGIT < 0xa2c5 - 0xa2d8 : 0 >
TODIGIT < 0xa2d9 - 0xa2e2 : 0 >
TODIGIT < 0xa2e5 - 0xa2ee : 0 >
TODIGIT < 0xa2f1 - 0xa2fc : 0 >
ALPHA 0xa3c1 - 0xa3da 0xa3e1 - 0xa3fa
DIGIT 0xa3b0 - 0xa3b9
UPPER 0xa3c1 - 0xa3da
LOWER 0xa3e1 - 0xa3fa
PUNCT 0xa3a1 - 0xa3af 0xa3ba - 0xa3c0 0xa3db - 0xa3e0 0xa3fb - 0xa3fe
XDIGIT 0xa3b0 - 0xa3b9 0xa3c1 - 0xa3c6 0xa3e1 - 0xa3e6
MAPLOWER < 0xa3c1 - 0xa3da : 0xa3e1 > < 0xa3e1 - 0xa3fa : 0xa3e1 >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e7fe
IDEOGRAM 0xe8a1 - 0xe8fe
IDEOGRAM 0xe9a1 - 0xe9fe
IDEOGRAM 0xeaa1 - 0xeafe
IDEOGRAM 0xeba1 - 0xebfe
IDEOGRAM 0xeca1 - 0xecfe
IDEOGRAM 0xeda1 - 0xedfe
IDEOGRAM 0xeea1 - 0xeefe
IDEOGRAM 0xefa1 - 0xeffe
IDEOGRAM 0xf0a1 - 0xf0fe
IDEOGRAM 0xf1a1 - 0xf1fe
IDEOGRAM 0xf2a1 - 0xf2fe
IDEOGRAM 0xf3a1 - 0xf3fe
IDEOGRAM 0xf4a1 - 0xf4fe
IDEOGRAM 0xf5a1 - 0xf5fe
IDEOGRAM 0xf6a1 - 0xf6fe
IDEOGRAM 0xf7a1 - 0xf7fe

View File

@ -0,0 +1,334 @@
/*-
* 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.
*
* $Id$
*/
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
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
DIGIT 0xa2b1 - 0xa2e2 0xa2e5 - 0xa2ee 0xa2f1 - 0xa2fc
TODIGIT < 0xa2b1 - 0xa2c4 : 0 >
TODIGIT < 0xa2c5 - 0xa2d8 : 0 >
TODIGIT < 0xa2d9 - 0xa2e2 : 0 >
TODIGIT < 0xa2e5 - 0xa2ee : 0 >
TODIGIT < 0xa2f1 - 0xa2fc : 0 >
ALPHA 0xa3c1 - 0xa3da 0xa3e1 - 0xa3fa
DIGIT 0xa3b0 - 0xa3b9
UPPER 0xa3c1 - 0xa3da
LOWER 0xa3e1 - 0xa3fa
PUNCT 0xa3a1 - 0xa3af 0xa3ba - 0xa3c0 0xa3db - 0xa3e0 0xa3fb - 0xa3fe
XDIGIT 0xa3b0 - 0xa3b9 0xa3c1 - 0xa3c6 0xa3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e
IDEOGRAM 0xe5a1 - 0xe5fe
IDEOGRAM 0xe6a1 - 0xe6fe
IDEOGRAM 0xe7a1 - 0xe7fe
IDEOGRAM 0xe8a1 - 0xe8fe
IDEOGRAM 0xe9a1 - 0xe9fe
IDEOGRAM 0xeaa1 - 0xeafe
IDEOGRAM 0xeba1 - 0xebfe
IDEOGRAM 0xeca1 - 0xecfe
IDEOGRAM 0xeda1 - 0xedfe
IDEOGRAM 0xeea1 - 0xeefe
IDEOGRAM 0xefa1 - 0xeffe
IDEOGRAM 0xf0a1 - 0xf0fe
IDEOGRAM 0xf1a1 - 0xf1fe
IDEOGRAM 0xf2a1 - 0xf2fe
IDEOGRAM 0xf3a1 - 0xf3fe
IDEOGRAM 0xf4a1 - 0xf4fe
IDEOGRAM 0xf5a1 - 0xf5fe
IDEOGRAM 0xf6a1 - 0xf6fe
IDEOGRAM 0xf7a1 - 0xf7fe
/*-
* 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.
*
* $Id$
*/
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
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
DIGIT 0xa2b1 - 0xa2e2 0xa2e5 - 0xa2ee 0xa2f1 - 0xa2fc
TODIGIT < 0xa2b1 - 0xa2c4 : 0 >
TODIGIT < 0xa2c5 - 0xa2d8 : 0 >
TODIGIT < 0xa2d9 - 0xa2e2 : 0 >
TODIGIT < 0xa2e5 - 0xa2ee : 0 >
TODIGIT < 0xa2f1 - 0xa2fc : 0 >
ALPHA 0xa3c1 - 0xa3da 0xa3e1 - 0xa3fa
DIGIT 0xa3b0 - 0xa3b9
UPPER 0xa3c1 - 0xa3da
LOWER 0xa3e1 - 0xa3fa
PUNCT 0xa3a1 - 0xa3af 0xa3ba - 0xa3c0 0xa3db - 0xa3e0 0xa3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xe2fe
IDEOGRAM 0xe3a1 - 0xe3fe
IDEOGRAM 0xe4a1 - 0xe4fe
IDEOGRAM 0xe5a1 - 0xe5fe
IDEOGRAM 0xe6a1 - 0xe6fe
IDEOGRAM 0xe7a1 - 0xe7fe
IDEOGRAM 0xe8a1 - 0xe8fe
IDEOGRAM 0xe9a1 - 0xe9fe
IDEOGRAM 0xeaa1 - 0xeafe
IDEOGRAM 0xeba1 - 0xebfe
IDEOGRAM 0xeca1 - 0xecfe
IDEOGRAM 0xeda1 - 0xedfe
IDEOGRAM 0xeea1 - 0xeefe
IDEOGRAM 0xefa1 - 0xeffe
IDEOGRAM 0xf0a1 - 0xf0fe
IDEOGRAM 0xf1a1 - 0xf1fe
IDEOGRAM 0xf2a1 - 0xf2fe
IDEOGRAM 0xf3a1 - 0xf3fe
IDEOGRAM 0xf4a1 - 0xf4fe
IDEOGRAM 0xf5a1 - 0xf5fe
IDEOGRAM 0xf6a1 - 0xf6fe
IDEOGRAM 0xf7a1 - 0xf7fe

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.25 1998/01/06 00:54:32 helbig Exp $
# $Id: Makefile,v 1.26 1998/08/07 16:51:10 ache Exp $
NOMAN=YES
CLEANFILES+= ${LOCALES:S/$/.out/g}
@ -26,7 +26,8 @@ LOCALES= da_DK.ISO_8859-1 \
ru_SU.CP866 \
ru_SU.KOI8-R \
sl_SI.ISO_8859-2 \
sv_SE.ISO_8859-1
sv_SE.ISO_8859-1 \
zh_CN.EUC
LOCALEDIR= ${DESTDIR}/usr/share/locale

View File

@ -0,0 +1,156 @@
# $Id$
#
# WARNING: spaces may be essential at the end of lines
# WARNING: empty lines are essential too
#
# Short month names
#
1
2
3
4
5
6
7
8
9
10
11
12
#
# Long month names
#
一月
二月
三月
四月
五月
六月
七月
八月
九月
十月
十一月
十二月
#
# Short weekday names
#
周日
周一
周二
周三
周四
周五
周六
#
# Long weekday names
#
星期日
星期一
星期二
星期三
星期四
星期五
星期六
#
# X_fmt
#
%H时%M分%S秒
#
# x_fmt
#
%y/%m/%d
#
# c_fmt
#
%a %b/%e %T %Y
#
# am
#
上午
#
# pm
#
下午
#
# date_fmt
#
%Y年%b月%e日 %A %X %Z
# $Id$
#
# WARNING: spaces may be essential at the end of lines
# WARNING: empty lines are essential too
#
# Short month names
#
1
2
3
4
5
6
7
8
9
10
11
12
#
# Long month names
#
一月
二月
三月
四月
五月
六月
七月
八月
九月
十月
十一月
十二月
#
# Short weekday names
#
周日
周一
周二
周三
周四
周五
周六
#
# Long weekday names
#
星期日
星期一
星期二
星期三
星期四
星期五
星期六
#
# X_fmt
#
%H时%M分%S秒
#
# x_fmt
#
%y/%m/%d
#
# c_fmt
#
%a %b/%e %T %Y
#
# am
#
上午
#
# pm
#
下午
#
# date_fmt
#
%Y年%b月%e日 %A %X %Z

156
share/timedef/zh_CN.EUC.src Normal file
View File

@ -0,0 +1,156 @@
# $Id$
#
# WARNING: spaces may be essential at the end of lines
# WARNING: empty lines are essential too
#
# Short month names
#
1
2
3
4
5
6
7
8
9
10
11
12
#
# Long month names
#
一月
二月
三月
四月
五月
六月
七月
八月
九月
十月
十一月
十二月
#
# Short weekday names
#
周日
周一
周二
周三
周四
周五
周六
#
# Long weekday names
#
星期日
星期一
星期二
星期三
星期四
星期五
星期六
#
# X_fmt
#
%H时%M分%S秒
#
# x_fmt
#
%y/%m/%d
#
# c_fmt
#
%a %b/%e %T %Y
#
# am
#
上午
#
# pm
#
下午
#
# date_fmt
#
%Y年%b月%e日 %A %X %Z
# $Id$
#
# WARNING: spaces may be essential at the end of lines
# WARNING: empty lines are essential too
#
# Short month names
#
1
2
3
4
5
6
7
8
9
10
11
12
#
# Long month names
#
一月
二月
三月
四月
五月
六月
七月
八月
九月
十月
十一月
十二月
#
# Short weekday names
#
周日
周一
周二
周三
周四
周五
周六
#
# Long weekday names
#
星期日
星期一
星期二
星期三
星期四
星期五
星期六
#
# X_fmt
#
%H时%M分%S秒
#
# x_fmt
#
%y/%m/%d
#
# c_fmt
#
%a %b/%e %T %Y
#
# am
#
上午
#
# pm
#
下午
#
# date_fmt
#
%Y年%b月%e日 %A %X %Z

View File

@ -0,0 +1,156 @@
# $Id$
#
# WARNING: spaces may be essential at the end of lines
# WARNING: empty lines are essential too
#
# Short month names
#
1
2
3
4
5
6
7
8
9
10
11
12
#
# Long month names
#
一月
二月
三月
四月
五月
六月
七月
八月
九月
十月
十一月
十二月
#
# Short weekday names
#
周日
周一
周二
周三
周四
周五
周六
#
# Long weekday names
#
星期日
星期一
星期二
星期三
星期四
星期五
星期六
#
# X_fmt
#
%H时%M分%S秒
#
# x_fmt
#
%y/%m/%d
#
# c_fmt
#
%a %b/%e %T %Y
#
# am
#
上午
#
# pm
#
下午
#
# date_fmt
#
%Y年%b月%e日 %A %X %Z
# $Id$
#
# WARNING: spaces may be essential at the end of lines
# WARNING: empty lines are essential too
#
# Short month names
#
1
2
3
4
5
6
7
8
9
10
11
12
#
# Long month names
#
一月
二月
三月
四月
五月
六月
七月
八月
九月
十月
十一月
十二月
#
# Short weekday names
#
周日
周一
周二
周三
周四
周五
周六
#
# Long weekday names
#
星期日
星期一
星期二
星期三
星期四
星期五
星期六
#
# X_fmt
#
%H时%M分%S秒
#
# x_fmt
#
%y/%m/%d
#
# c_fmt
#
%a %b/%e %T %Y
#
# am
#
上午
#
# pm
#
下午
#
# date_fmt
#
%Y年%b月%e日 %A %X %Z

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.13 1998/07/07 23:04:25 bde Exp $
# $Id: Makefile,v 1.14 1998/08/07 17:08:56 ache Exp $
NOMAN=YES
CLEANFILES+= ${LOCALES:S/$/.out/g}
@ -15,7 +15,7 @@ LOCALES= de_DE.ISO_8859-1 \
LOCALEDIR= ${DESTDIR}/usr/share/locale
ASCIILINKS = \
ko_KR.EUC ja_JP.EUC ja_JP.SJIS
ko_KR.EUC ja_JP.EUC ja_JP.SJIS zh_CN.EUC
LATIN1LINKS = \
da_DK en_AU en_CA en_GB en_US fi_FI \

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.13 1998/07/07 23:05:59 bde Exp $
# $Id: Makefile,v 1.14 1998/08/07 17:07:12 ache Exp $
NOMAN=YES
CLEANFILES+= ${LOCALES:S/$/.out/g}
@ -10,7 +10,8 @@ LOCALES= ja_JP.EUC \
lt_LN.ISO_8859-1 \
lt_LN.ISO_8859-2 \
ru_SU.CP866 \
ru_SU.KOI8-R
ru_SU.KOI8-R \
zh_CN.EUC
LOCALEDIR= ${DESTDIR}/usr/share/locale

View File

@ -0,0 +1,334 @@
/*-
* 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.
*
* $Id$
*/
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
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
DIGIT 0xa2b1 - 0xa2e2 0xa2e5 - 0xa2ee 0xa2f1 - 0xa2fc
TODIGIT < 0xa2b1 - 0xa2c4 : 0 >
TODIGIT < 0xa2c5 - 0xa2d8 : 0 >
TODIGIT < 0xa2d9 - 0xa2e2 : 0 >
TODIGIT < 0xa2e5 - 0xa2ee : 0 >
TODIGIT < 0xa2f1 - 0xa2fc : 0 >
ALPHA 0xa3c1 - 0xa3da 0xa3e1 - 0xa3fa
DIGIT 0xa3b0 - 0xa3b9
UPPER 0xa3c1 - 0xa3da
LOWER 0xa3e1 - 0xa3fa
PUNCT 0xa3a1 - 0xa3af 0xa3ba - 0xa3c0 0xa3db - 0xa3e0 0xa3fb - 0xa3fe
XDIGIT 0xa3b0 - 0xa3b9 0xa3c1 - 0xa3c6 0xa3e1 - 0xa3e6
MAPLOWER < 0xa3c1 - 0xa3da : 0xa3e1 > < 0xa3e1 - 0xa3fa : 0xa3e1 >
MAPUPPER < 0xa3c1 - 0xa3da : 0xa3c1 > < 0xa3b0 - 0xa3b9 : 0x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DEOGRAM 0xeaa1 - 0xeafe
IDEOGRAM 0xeba1 - 0xebfe
IDEOGRAM 0xeca1 - 0xecfe
IDEOGRAM 0xeda1 - 0xedfe
IDEOGRAM 0xeea1 - 0xeefe
IDEOGRAM 0xefa1 - 0xeffe
IDEOGRAM 0xf0a1 - 0xf0fe
IDEOGRAM 0xf1a1 - 0xf1fe
IDEOGRAM 0xf2a1 - 0xf2fe
IDEOGRAM 0xf3a1 - 0xf3fe
IDEOGRAM 0xf4a1 - 0xf4fe
IDEOGRAM 0xf5a1 - 0xf5fe
IDEOGRAM 0xf6a1 - 0xf6fe
IDEOGRAM 0xf7a1 - 0xf7fe
/*-
* 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.
*
* $Id$
*/
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
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
DIGIT 0xa2b1 - 0xa2e2 0xa2e5 - 0xa2ee 0xa2f1 - 0xa2fc
TODIGIT < 0xa2b1 - 0xa2c4 : 0 >
TODIGIT < 0xa2c5 - 0xa2d8 : 0 >
TODIGIT < 0xa2d9 - 0xa2e2 : 0 >
TODIGIT < 0xa2e5 - 0xa2ee : 0 >
TODIGIT < 0xa2f1 - 0xa2fc : 0 >
ALPHA 0xa3c1 - 0xa3da 0xa3e1 - 0xa3fa
DIGIT 0xa3b0 - 0xa3b9
UPPER 0xa3c1 - 0xa3da
LOWER 0xa3e1 - 0xa3fa
PUNCT 0xa3a1 - 0xa3af 0xa3ba - 0xa3c0 0xa3db - 0xa3e0 0xa3fb - 0xa3fe
XDIGIT 0xa3b0 - 0xa3b9 0xa3c1 - 0xa3c6 0xa3e1 - 0xa3e6
MAPLOWER < 0xa3c1 - 0xa3da : 0xa3e1 > < 0xa3e1 - 0xa3fa : 0xa3e1 >
M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