summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixFont.c
diff options
context:
space:
mode:
authorhobbs <hobbs>2003-05-15 18:05:04 (GMT)
committerhobbs <hobbs>2003-05-15 18:05:04 (GMT)
commitfa026d7a02f2ad6999da85d567c8601f60f7caa9 (patch)
tree91d5d8667c30771123ba2d6c111369d9d2d79cdb /unix/tkUnixFont.c
parent99a94518a53b87839157a45da8538692b680f577 (diff)
downloadtk-fa026d7a02f2ad6999da85d567c8601f60f7caa9.zip
tk-fa026d7a02f2ad6999da85d567c8601f60f7caa9.tar.gz
tk-fa026d7a02f2ad6999da85d567c8601f60f7caa9.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]
Diffstat (limited to 'unix/tkUnixFont.c')
-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"},