Hi, how to change the LC_CTYPE?
I am now using Debian/Sid with display manager lightdm and desktop manager xfce4.
I used to edit /etc/environment and add export LC_CTYPE=zh_CN.UTF-8.
Now It doesn't work.
When I have logged into XFCE4, the output of locale -a is LC_CTYE=en_US.UTF-8
Later, I edited /etc/default/locale, adding one line: export LC_CTYPE=zh_CN.UTF-8. However, the locale is still LC_CTYPE=en_US.UTF-8.
I also did that in /etc/profile, and failed either.
I am now curious about the way the system source *.sh in the boot up session.
My question is :What's the proper way of setting LC_CTYPE?
(Plus, if I add export LC_ALL=zh_CN.UTF-8 in /etc/default/locale, it will work, but this is not what I want. Further more, I think the file /etc/default/locale shouldn't be edited, as it is generated by the software and maybe overwritten.)
Thanks.
--
My gpg pubring is available via: gpg --keyserver subkeys.pgp.net --recv-keys 307CF736
More on: http://about.me/introom
Reply to: