一、当前系统支持的字符集
进入语言设置sudo dpkg-reconfigure locales 1

reboot 1 查看设置
$ locale -a C C.UTF-8 POSIX en_US.utf8 zh_CN.gbk zh_CN.utf8 1234567
en_US.utf8,zh_CN.gbk,zh_CN.utf8都有了,ok。
6. 意外情况
$ 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=mn_CN.UTF-8 LANGUAGE=zh_CN LC_CTYPE="mn_CN.UTF-8" LC_NUMERIC="mn_CN.UTF-8" LC_TIME="mn_CN.UTF-8" LC_COLLATE="mn_CN.UTF-8" LC_MONETARY="mn_CN.UTF-8" LC_MESSAGES="mn_CN.UTF-8" LC_PAPER="mn_CN.UTF-8" LC_NAME="mn_CN.UTF-8" LC_ADDRESS="mn_CN.UTF-8" LC_TELEPHONE="mn_CN.UTF-8" LC_MEASUREMENT="mn_CN.UTF-8" LC_IDENTIFICATION="mn_CN.UTF-8" LC_ALL=
12345678910111213141516171819怎么会是mn_CN.UTF-8,应该是zh_CN.UTF-8。
reboot 1
好了
二、更新
apt-get update apt-get upgrate 12
三、下载语言
sudo apt-get install xfonts-intl-chinese sudo apt-get install ttf-wqy-microhei 12
四、重启
sudo reboot 1