wjh24 写了:以超级用户身份进入终端,执行
local -a
显示所有语言字符集,然后更改LANG的值为你想要的字符集。
my computer's charset is:C
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IN
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US.utf8
en_ZA.utf8
en_ZW.utf8
POSIX
but when I run LANG=GB2312 gedit
it tips:
(gedit:5564): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
(gedit:5564): Gdk-WARNING **: locale not supported by C library
whb@whb:/var/lib/locales/supported.d$ LANG=zh_CN.GB2312 gedit
(gedit:5571): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
(gedit:5571): Gdk-WARNING **: locale not supported by C library
How to do ?