On Nov 21 12:25, Corinna Vinschen via Cygwin wrote: > On Nov 21 05:57, Dan Shelton via Cygwin wrote: > > locale -a | grep 18030 > > You're confusing locale with codeset (or charset). > > $ locale -a | grep zh_CN > zh_CN > zh_CN.utf8 > zh_CN.utf8@cjknarrow > zh_CN@cjknarrow > > $ locale -m | grep 18030 > GB18030 > > Note that for compat reasons, the default codeset of zh_CN is gb2312, > so you have to specify a different codeset explicitely. > > export LC_MESSAGES=zh_CN.GB18030
Please check additionally: $ locale -av $ cat /proc/locales $ cat /proc/codesets Those might be pretty helpful. Corinna -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple