diff options
author | mp <mp@FreeBSD.org> | 2002-02-10 04:40:26 +0000 |
---|---|---|
committer | mp <mp@FreeBSD.org> | 2002-02-10 04:40:26 +0000 |
commit | e8a1e84ed0d35851468ed9942dd757f1874d0907 (patch) | |
tree | 9bb71ee65bdbb05b622a581987c52634844dc158 /contrib/tcsh/tc.const.c | |
parent | 538cdbc622d96ebd9ba6fae4c5b21f8704e88d90 (diff) | |
download | FreeBSD-src-e8a1e84ed0d35851468ed9942dd757f1874d0907.zip FreeBSD-src-e8a1e84ed0d35851468ed9942dd757f1874d0907.tar.gz |
- Add support for autodetection of *.euc?? and *.EUC locales.
- ja_JP.eucJP, ja_JP.EUC
- ko_KR.eucKR, ko_KR.EUC
- zn_CN.eucCN, zn_CN.EUC
- Add support for zh_TW.Big5
- Add ja_JP.Shift_JIS alias for ja_JP.SJIS
Submitted by: phantom
Approved by: Christos Zoulas <cristos@zoulas.com> - TCSH maintainer
Diffstat (limited to 'contrib/tcsh/tc.const.c')
-rw-r--r-- | contrib/tcsh/tc.const.c | 32 |
1 files changed, 25 insertions, 7 deletions
diff --git a/contrib/tcsh/tc.const.c b/contrib/tcsh/tc.const.c index 883efc6..a3385dd 100644 --- a/contrib/tcsh/tc.const.c +++ b/contrib/tcsh/tc.const.c @@ -133,8 +133,9 @@ Char STRmbytemap[] = { 'm', 'b', 'y', 't', 'e', 'm', 'a', 'p', '\0' }; /* dspmbyte autoset trap */ /* STRLANGEUCJP,STRLANGEUCJPB = EUCJP Trap */ /* STRLANGEUCKR,STRLANGEUCKRB = EUCKR Trap */ +/* STRLANGEUCZH,STRLANGEUCZHB = EUCZH Trap */ /* STRLANGSJIS,STRLANGSJISB = SJIS Trap */ -# if defined(__FreeBSD__) || defined(__uxps__) || defined(sgi) || defined(aix) || defined(__CYGWIN__) || defined(linux) +# if defined(__uxps__) || defined(sgi) || defined(aix) || defined(__CYGWIN__) || defined(linux) Char STRLANGEUCJP[] = { 'j', 'a', '_', 'J', 'P', '.', 'E', 'U', 'C', '\0' }; Char STRLANGEUCKR[] = { 'k', 'o', '_', 'K', 'R', '.', 'E', 'U', 'C', '\0' }; # if defined(__uxps__) @@ -156,44 +157,61 @@ Char STRLANGSJIS[] = { 'j', 'a', '_', 'J', 'P', '.', 'S', 'J', 'I', 'S', Char STRLANGSJISB[] = { '\0' }; Char STRLANGBIG5[] = { 'z', 'h', '_', 'T', 'W', '.', 'B', 'i', 'g', '5', '\0' }; -# elif defined(linux) -Char STRLANGEUC[] = { 'j', 'a', '_', 'J', 'P', '.', 'e', 'u', 'c', 'J', +Char STRLANGEUCZH[] = { '\0' }; +Char STRLANGEUCZHB[] = { '\0' }; +# elif defined(__FreeBSD__) +Char STRLANGEUCJP[] = { 'j', 'a', '_', 'J', 'P', '.', 'e', 'u', 'c', 'J', 'P', '\0' }; -Char STRLANGEUCB[] = { 'j', 'a', '_', 'J', 'P', '.', 'u', 'j', 'i', 's', - '\0' }; +Char STRLANGEUCJPB[] = { 'j', 'a', '_', 'J', 'P', '.', 'E', 'U', 'C', '\0' }; +Char STRLANGEUCKR[] = { 'k', 'o', '_', 'K', 'R', '.', 'e', 'u', 'c', 'K', + 'R', '\0' }; +Char STRLANGEUCKRB[] = { 'k', 'o', '_', 'K', 'R', '.', 'E', 'U', 'C', '\0' }; +Char STRLANGEUCZH[] = { 'z', 'h', '_', 'C', 'N', '.', 'e', 'u', 'c', 'C', + 'N', '\0' }; +Char STRLANGEUCZHB[] = { 'z', 'h', '_', 'C', 'N', '.', 'E', 'U', 'C', '\0' }; Char STRLANGSJIS[] = { 'j', 'a', '_', 'J', 'P', '.', 'S', 'J', 'I', 'S', '\0' }; -Char STRLANGSJISB[] = { '\0' }; -Char STRLANGBIG5[] = { '\0' }; +Char STRLANGSJISB[] = { 'j', 'a', '_', 'J', 'P', '.', 'S', 'h', 'i', 'f', + 't', '_', 'J', 'I', 'S', '\0' }; +Char STRLANGBIG5[] = { 'z', 'h', '_', 'T', 'W', '.', 'B', 'i', 'g', '5', + '\0' }; # elif defined(__uxpm__) Char STRLANGEUCJP[] = { 'j', 'a', 'p', 'a', 'n', '\0' }; Char STRLANGEUCKR[] = { 'k', 'o', 'r', 'e', 'a', '\0' }; +Char STRLANGEUCZH[] = { '\0' }; Char STRLANGEUCJPB[] = { '\0' }; Char STRLANGEUCKRB[] = { '\0' }; +Char STRLANGEUCZHB[] = { '\0' }; Char STRLANGSJIS[] = { '\0' }; Char STRLANGSJISB[] = { '\0' }; Char STRLANGBIG5[] = { '\0' }; # elif defined(SOLARIS2) Char STRLANGEUCJP[] = { 'j', 'a', '\0' }; Char STRLANGEUCKR[] = { 'k', 'o', '\0' }; +Char STRLANGEUCZH[] = { '\0' }; Char STRLANGEUCJPB[] = { 'j', 'a', 'p', 'a', 'n', 'e', 's', 'e', '\0' }; Char STRLANGEUCKRB[] = { 'k', 'o', 'r', 'e', 'a', 'n', '\0' }; +Char STRLANGEUCZHB[] = { '\0' }; Char STRLANGSJIS[] = { '\0' }; Char STRLANGSJISB[] = { '\0' }; Char STRLANGBIG5[] = { '\0' }; # elif defined(hpux) Char STRLANGEUCJP[] = { 'j', 'a', '_', 'J', 'P', '.', 'e', 'u', 'c', 'J', 'P' }; Char STRLANGEUCKR[] = { 'k', 'o', '_', 'K', 'R', '.', 'e', 'u', 'c', 'K', 'R' }; +Char STRLANGEUCZH[] = { '\0' }; Char STRLANGEUCJPB[] = { '\0' }; Char STRLANGEUCKRB[] = { '\0' }; +Char STRLANGEUCZHB[] = { '\0' }; Char STRLANGSJIS[] = { '\0' }; Char STRLANGSJISB[] = { '\0' }; Char STRLANGBIG5[] = { '\0' }; # else Char STRLANGEUCJP[] = { '\0' }; Char STRLANGEUCKR[] = { '\0' }; +Char STRLANGEUCZH[] = { '\0' }; Char STRLANGEUCJPB[] = { '\0' }; Char STRLANGEUCKRB[] = { '\0' }; +Char STRLANGEUCZHB[] = { '\0' }; Char STRLANGSJIS[] = { '\0' }; Char STRLANGSJISB[] = { '\0' }; Char STRLANGBIG5[] = { '\0' }; |