|

楼主 |
发表于 2010-5-15 10:35:46
|
显示全部楼层
Post by blackwhite;2090147
你konsole终端编码用的是什么?
菜单->view->Character Encoding->Unicode->UTF-8
locale -a输出什么?/etc/locale.gen里边支持什么编码?
Konsole终端的编码是UTF-8
- $ locale -a
- C
- en_US.utf8
- ja_JP
- ja_JP.eucjp
- ja_JP.ujis
- ja_JP.utf8
- japanese
- japanese.euc
- POSIX
- zh_CN
- zh_CN.gb18030
- zh_CN.gb2312
- zh_CN.gbk
- zh_CN.utf8
- zh_TW.utf8
复制代码- $ 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>
- #
- # Where <locale> is a locale located in /usr/share/i18n/locales/ and
- # where <charmap> is a charmap located in /usr/share/i18n/charmaps/.
- #
- # All blank lines and lines starting with # are ignored.
- #
- # For the default list of supported combinations, see the file:
- # /usr/share/i18n/SUPPORTED
- #
- # Whenever glibc is emerged, the locales listed here will be automatically
- # rebuilt for you. After updating this file, you can simply run `locale-gen`
- # yourself instead of re-emerging glibc.
- #en_US ISO-8859-1
- en_US.UTF-8 UTF-8
- zh_CN.UTF-8 UTF-8
- zh_CN.GBK GBK
- zh_CN.GB18030 GB18030
- zh_CN GB2312
- zh_TW.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
复制代码 |
|