summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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}
};