Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2010-03-28 00:07:17 +0300
committerCorinna Vinschen <corinna@vinschen.de>2010-03-28 00:07:17 +0300
commit68b0fa820d301675db0b58fb564341e1fc7cb48e (patch)
treef15e19d0cadf6553353224e8ac25052b4a6b8e18 /winsup/cygwin/nlsfuncs.cc
parenteca2df4f0103bd8e6229a93f407714beef1e423a (diff)
* nlsfuncs.cc (__set_charset_from_locale): Set default charset for
locales defaulting to codepage 936 to GB2312.
Diffstat (limited to 'winsup/cygwin/nlsfuncs.cc')
-rw-r--r--winsup/cygwin/nlsfuncs.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/nlsfuncs.cc b/winsup/cygwin/nlsfuncs.cc
index 51cc465f7..3f2279a18 100644
--- a/winsup/cygwin/nlsfuncs.cc
+++ b/winsup/cygwin/nlsfuncs.cc
@@ -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";