summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2004-06-18 15:26:00 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2004-06-18 15:26:00 (GMT)
commitfd125803a65deb2088c6bfdd4ee9dba4ce1255d5 (patch)
tree721f86b6f18cae41376a5fc0f07be10b1aaa50b6
parent9db404e79eb1f49aa9d2717a44fb2acfefc06a8f (diff)
downloadtcl-fd125803a65deb2088c6bfdd4ee9dba4ce1255d5.zip
tcl-fd125803a65deb2088c6bfdd4ee9dba4ce1255d5.tar.gz
tcl-fd125803a65deb2088c6bfdd4ee9dba4ce1255d5.tar.bz2
Added various Chinese locale->encoding mappings
-rw-r--r--ChangeLog3
-rw-r--r--unix/tclUnixInit.c7
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 0d8eb00..eff8426 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2004-06-18 Donal K. Fellows <donal.k.fellows@man.ac.uk>
+ * unix/tclUnixInit.c (localeTable): Added some more locale to
+ encoding mapping info from Jim Huang <jserv@kaffe.org>
+
* generic/tclInt.h (PendingObjData,TclFreeObjMacro,etc):
* generic/tclObj.c (TclFreeObj): Added scheme for making TclFreeObj()
avoid blowing up the C stack when freeing up very large object
diff --git a/unix/tclUnixInit.c b/unix/tclUnixInit.c
index 7934e28..a62f0fc 100644
--- a/unix/tclUnixInit.c
+++ b/unix/tclUnixInit.c
@@ -7,7 +7,7 @@
* Copyright (c) 1999 by Scriptics Corporation.
* All rights reserved.
*
- * RCS: @(#) $Id: tclUnixInit.c,v 1.44 2004/06/11 22:39:30 dgp Exp $
+ * RCS: @(#) $Id: tclUnixInit.c,v 1.45 2004/06/18 15:26:00 dkf Exp $
*/
#if defined(HAVE_CFBUNDLE)
@@ -129,6 +129,11 @@ static CONST LocaleTable localeTable[] = {
{"ru_SU", "iso8859-5"},
{"zh", "cp936"},
+ {"zh_CN.gb2312", "euc-cn"},
+ {"zh_CN.GB2312", "euc-cn"},
+ {"zh_CN.GBK", "euc-cn"},
+ {"zh_TW.Big5", "big5"},
+ {"zh_TW", "euc-tw"},
{NULL, NULL}
};