--- rxvt-unicode/src/encoding.C 2004/08/23 18:51:21 1.19 +++ rxvt-unicode/src/encoding.C 2006/02/20 22:40:34 1.24 @@ -3,7 +3,7 @@ *----------------------------------------------------------------------* * * All portions of code are copyright by their respective author/s. - * Copyright (c) 2003-2004 Marc Lehmann + * Copyright (c) 2003-2006 Marc Lehmann * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -59,8 +59,9 @@ { "ASCII", CS_US_ASCII }, { "USASCII", CS_US_ASCII }, { "ANSIX341968", CS_US_ASCII }, + { "ISO646.1991-IRV", CS_US_ASCII }, // older versions used the currency sign - { "KOI8R", CS_KOI8_R }, + { "KOI8R*", CS_KOI8_R }, { "GOST1976874*", CS_KOI8_R }, { "KOI8RU", CS_KOI8_U }, { "KOI8U", CS_KOI8_U }, @@ -83,6 +84,7 @@ { "BIG5ETEN*", CS_BIG5_EXT }, { "BIG5*", CS_BIG5 }, { "GB2312*", CS_GB2312_1980_0 }, + { "GBK*", CS_GBK_0 }, { "GB6345*", CS_GB2312_1980_0 }, // slightly different to gb2312?? { "GB8565*", CS_GB2312_1980_0 }, // a superset of gb2312?? { "GB13000*", CS_UNICODE }, @@ -179,12 +181,13 @@ #include "table/ksc5601_1987_0.h" -//#define ENCODING_CN +//#define ENCODING_ZH -#include "table/gb2312_1980_0.h" #include "table/big5.h" +#include "table/gbk_0.h" +#include "table/gb2312_1980_0.h" -//#define ENCODING_CN_EXT +//#define ENCODING_ZH_EXT #include "table/cns11643_1992_1.h" #include "table/cns11643_1992_2.h" @@ -254,6 +257,7 @@ ENC (ksc5601_1987_0), ENC (gb2312_1980_0), + ENC (gbk_0), ENC (cns11643_1992_1), ENC (cns11643_1992_2),