From: <mar...@us...> - 2007-01-26 06:14:50
|
Revision: 18176 http://svn.sourceforge.net/gaim/?rev=18176&view=rev Author: markhuetsch Date: 2007-01-25 22:14:50 -0800 (Thu, 25 Jan 2007) Log Message: ----------- Apparently GBK is old and we should be using GB18030. Hopefully this fixes bugs 1625210, 1619225, and 1562372. Modified Paths: -------------- trunk/libgaim/protocols/qq/char_conv.c trunk/libgaim/protocols/qq/char_conv.h Modified: trunk/libgaim/protocols/qq/char_conv.c =================================================================== --- trunk/libgaim/protocols/qq/char_conv.c 2007-01-25 17:39:22 UTC (rev 18175) +++ trunk/libgaim/protocols/qq/char_conv.c 2007-01-26 06:14:50 UTC (rev 18176) @@ -33,7 +33,7 @@ #define QQ_SMILEY_AMOUNT 96 #define UTF8 "UTF-8" -#define QQ_CHARSET_ZH_CN "GBK" +#define QQ_CHARSET_ZH_CN "GB18030" #define QQ_CHARSET_ENG "ISO-8859-1" #define QQ_NULL_MSG "(NULL)" /* return this if conversion fails */ Modified: trunk/libgaim/protocols/qq/char_conv.h =================================================================== --- trunk/libgaim/protocols/qq/char_conv.h 2007-01-25 17:39:22 UTC (rev 18175) +++ trunk/libgaim/protocols/qq/char_conv.h 2007-01-26 06:14:50 UTC (rev 18176) @@ -27,7 +27,7 @@ #include <glib.h> -#define QQ_CHARSET_DEFAULT "GBK" +#define QQ_CHARSET_DEFAULT "GB18030" gint convert_as_pascal_string(guint8 *data, gchar **ret, const gchar *from_charset); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |