* nlsfuncs.cc (__set_charset_from_locale): Set default charset for

locales defaulting to codepage 936 to GB2312.
This commit is contained in:
Corinna Vinschen 2010-03-27 21:07:17 +00:00
parent eca2df4f01
commit 68b0fa820d
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-03-27 Corinna Vinschen <corinna@vinschen.de>
* nlsfuncs.cc (__set_charset_from_locale): Set default charset for
locales defaulting to codepage 936 to GB2312.
2010-03-22 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc (fhandler_socket::evaluate_events): Make erase

View File

@ -1042,7 +1042,7 @@ __set_charset_from_locale (const char *locale, char *charset)
cs = "EUCJP";
break;
case 936:
cs = "GBK";
cs = "GB2312";
break;
case 949:
cs = "EUCKR";