root@zhd1:~# ls
???????????????_(2).zip


root@zhd1:~# 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.UTF-8 LANGUAGE=zh_CN:zh LC_CTYPE="zh_CN.UTF-8" LC_NUMERIC=zh_CN LC_TIME=zh_CN LC_COLLATE="zh_CN.UTF-8" LC_MONETARY=zh_CN LC_MESSAGES="zh_CN.UTF-8" LC_PAPER=zh_CN LC_NAME=zh_CN LC_ADDRESS=zh_CN LC_TELEPHONE=zh_CN LC_MEASUREMENT=zh_CN LC_IDENTIFICATION=zh_CN LC_ALL=
apt-get install language-pack-zh-hans -y
apt-get install fonts-droid-fallback ttf-wqy-zenhei ttf-wqy-microhei fonts-arphic-ukai fonts-arphic-uming -y

追加导/etc/environment:


LANG="zh_CN.UTF-8" LANGUAGE="zh_CN:zh:en_US:en"

修改/var/lib/locales/supported.d/local为:

en_US.UTF-8 UTF-8
zh_CN.UTF-8 UTF-8
zh_CN.GBK GBK
zh_CN GB2312

生效

locale-gen
root@zhd1:~# ls
新建文件夹_(2).zip

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注

Captcha Code