|
|
原来是配置文件中的utf8写成了uft8.。。。
When I run 'locale',it says something below:- @supertux ~ $ locale
- locale: Cannot set LC_CTYPE to default locale: No such file or directory
- locale: Cannot set LC_MESSAGES to default locale: No such file or directory
- locale: Cannot set LC_ALL to default locale: No such file or directory
- LANG=zh_CN.uft8
- LC_CTYPE="zh_CN.uft8"
- LC_NUMERIC="zh_CN.uft8"
- LC_TIME="zh_CN.uft8"
- LC_COLLATE="zh_CN.uft8"
- LC_MONETARY="zh_CN.uft8"
- LC_MESSAGES="zh_CN.uft8"
- LC_PAPER="zh_CN.uft8"
- LC_NAME="zh_CN.uft8"
- LC_ADDRESS="zh_CN.uft8"
- LC_TELEPHONE="zh_CN.uft8"
- LC_MEASUREMENT="zh_CN.uft8"
- LC_IDENTIFICATION="zh_CN.uft8"
- LC_ALL=zh_CN.uft8
复制代码
I've searched for a lot of solutions but none worked for me.
My problem is Chinese cannot be right displayed ,they looked something below:- çå¾VPNè¿æ¥å»ºç«ï¼å·²çå¾ 2 ç§ã
- çå¾VPNè¿æ¥å»ºç«ï¼å·²çå¾ 4 ç§ã
- VPNè¿æ¥å»ºç«å®æã
复制代码
I've also installed fcitx with USE="truetype" and modified .xprofile,but it doesn;t work.I guess it's because I've not set my locale properly.Sorry for my poor English but I really need your help : )
Here is my locale-gen:- @supertux ~ $ cat /etc/locale.gen
- # /etc/locale.gen: list all of the locales you want to have on your system
- #
- # The format of each line:
- # <locale> <charmap>
- #en_US ISO-8859-1
- #en_US.UTF-8 UTF-8
- #ja_JP.EUC-JP EUC-JP
- #ja_JP.UTF-8 UTF-8
- #ja_JP EUC-JP
- #en_HK ISO-8859-1
- #en_PH ISO-8859-1
- #de_DE ISO-8859-1
- #de_DE@euro ISO-8859-15
- #es_MX ISO-8859-1
- #fa_IR UTF-8
- #fr_FR ISO-8859-1
- #fr_FR@euro ISO-8859-15
- #it_IT ISO-8859-1
- zh_CN.GB18030 GB18030
- zh_CN.GBK GBK
- zh_CN.UTF-8 UTF-8
- zh_CN GB2312
复制代码
I manually add this file to change my locale from " OSIX" to "zh_CN.utf8"- @supertux ~ $ cat /etc/env.d/100i18n
- LC_ALL="zh_CN.uft8"
- LANG="zh_CN.uft8"
复制代码
Anyone who can give me some suggestions or help?Thanks a lot. |
|