|
之前能够看显示中文路径和文件名的.为了能让AdobeReader显示中文路径和目录,我将locale设置成了zh_CN.gbk,结果AReader还是显示不了,并且在终端里也不能显示中文路径和中文目录了.我就又运行dpkg-reconfigure locales,选择了里面的zh_CN.UTF-8和en_US.UTF-8.好像我还改过其它的哪些文件.总之现在的情况比较糟,终端和浏览器里的中文目录和文件名都乱码,当然也打不开.
现在我运行dpkg-reconfigure locales,在出现正常的界面前会提示如下:
debian:/home/infernor# dpkg-reconfigure locales
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "zh_CN:zh:en_US:en",
LC_ALL = "zh_CN.gbk",
LANG = "zh_CN.gbk"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
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/usr/bin/
locale: Cannot set LC_CTYPE to default
locale: No such file or directory/usr/bin/
locale: Cannot set LC_MESSAGES to default
locale: No such file or directory/usr/bin/
locale: Cannot set LC_ALL to default
locale: No such file or directory
而且我敲man,也会提示locale出错:
debian:/home/infernor# man
man: can't set the locale; make sure $LC_* and $LANG are correct
What manual page do you want?
搜索了一下论坛,好像都是说换编码就能解决中文乱码问题,可我用dpkg-reconfigure locales设置不起作用,怎么办? |
|