problem with cjkcodecs on Mandrake linux
"Martin v. Löwis"
martin at v.loewis.de
Wed Mar 17 20:11:23 CET 2004
Anthony Liu wrote:
> Now, if I issue 'locale', I get:
> Notice that LANG=zh_CN.GB2312, which seems to be what
> I want, but still when I run the following script:
The problem is that the other settings are still for
en_US. You need to unset all other variables, in particular
Alternatively, set all other LC_ variables to zh_CN.GB2312
It is a very bad style of your Linux distribution to set
all LC_ variables explicitly - they should be set only if
one needs to override LANG for a specific setting.
More information about the Python-list