problem with cjkcodecs on Mandrake linux

Anthony Liu antonyliu2002 at yahoo.com
Wed Mar 17 02:12:16 EST 2004


Thank you, Martin.  

I am using bash, so should I add the following line to
.bash_profile?

export LANG=zh_CN

Please let me know.

Thanks a lot.

--- "Martin_v._Löwis" <martin at v.loewis.de> wrote:
> Anthony Liu wrote:
> > OK, gotcha. By the way, do you know how to set the
> > default language of Mandrake or any linux system,
> so
> > that I can probably mimic.
> 
> You need to set the LANG environment variable. This
> is best done on a per-user basis, e.g. in the .login
> file of the user. Setting LANG to zh_CN should give
> you a (simplified) Chinese environment. Python 2.3
> will automatically pick up that setting when
> printing
> Unicode strings.
> 
> Regards,
> Martin
> 
> -- 
> http://mail.python.org/mailman/listinfo/python-list


__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com




More information about the Python-list mailing list