diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2004-06-18 15:26:00 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2004-06-18 15:26:00 (GMT) |
commit | fd125803a65deb2088c6bfdd4ee9dba4ce1255d5 (patch) | |
tree | 721f86b6f18cae41376a5fc0f07be10b1aaa50b6 | |
parent | 9db404e79eb1f49aa9d2717a44fb2acfefc06a8f (diff) | |
download | tcl-fd125803a65deb2088c6bfdd4ee9dba4ce1255d5.zip tcl-fd125803a65deb2088c6bfdd4ee9dba4ce1255d5.tar.gz tcl-fd125803a65deb2088c6bfdd4ee9dba4ce1255d5.tar.bz2 |
Added various Chinese locale->encoding mappings
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | unix/tclUnixInit.c | 7 |
2 files changed, 9 insertions, 1 deletions
@@ -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} }; |