summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorhobbs <hobbs>2003-05-15 18:06:04 (GMT)
committerhobbs <hobbs>2003-05-15 18:06:04 (GMT)
commit75ba5b1bc06ee264e72e85b18eb60fa5df8d4182 (patch)
tree6cc0e491a3a3c7b38f02c6df83ddacc23e28441b /unix
parent0f704fa75854412c44346eca435b262c33b5b5ec (diff)
downloadtk-75ba5b1bc06ee264e72e85b18eb60fa5df8d4182.zip
tk-75ba5b1bc06ee264e72e85b18eb60fa5df8d4182.tar.gz
tk-75ba5b1bc06ee264e72e85b18eb60fa5df8d4182.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')
-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..82c85bc 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.18.2.1 2003/05/15 18:06:04 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"},