summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>2003-05-15 18:05:04 (GMT)
committerhobbs <hobbs@noemail.net>2003-05-15 18:05:04 (GMT)
commit3f9da77d95322936a3ce4cb6d010d63e029b8cec (patch)
tree91d5d8667c30771123ba2d6c111369d9d2d79cdb /unix
parentc2501c093b928f0e72ded73e4bb115ec40101cdc (diff)
downloadtk-3f9da77d95322936a3ce4cb6d010d63e029b8cec.zip
tk-3f9da77d95322936a3ce4cb6d010d63e029b8cec.tar.gz
tk-3f9da77d95322936a3ce4cb6d010d63e029b8cec.tar.bz2
* unix/tkUnixFont.c: use gb2312-raw as the alias for gb2312*
charset fonts. gb2312.enc was made to be euc-cn for Tcl because that is what is most often meant, but X really wants the original (-raw) gb2312 encoding. [Bug 557030] FossilOrigin-Name: 266495f517a5740fbe44e7723cbbc243895d1988
Diffstat (limited to 'unix')
-rw-r--r--unix/tkUnixFont.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tkUnixFont.c b/unix/tkUnixFont.c
index 01677af..b83bd98 100644
--- a/unix/tkUnixFont.c
+++ b/unix/tkUnixFont.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixFont.c,v 1.18 2003/02/25 02:59:27 hobbs Exp $
+ * RCS: @(#) $Id: tkUnixFont.c,v 1.19 2003/05/15 18:05:06 hobbs Exp $
*/
#include "tkUnixInt.h"
@@ -176,7 +176,7 @@ static Tcl_ThreadDataKey dataKey;
*/
static EncodingAlias encodingAliases[] = {
- {"gb2312", "gb2312*"},
+ {"gb2312-raw", "gb2312*"},
{"big5", "big5*"},
{"cns11643-1", "cns11643*-1"},
{"cns11643-1", "cns11643*.1-0"},