Ubuntu中文乱码

解决方案:(先切换到管理员身份,右键复制,粘贴就行了)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
apt-get install language-pack-zh-hans

(cat <<CONF
LANG="zh_CN.UTF-8"
LANGUAGE="zh_CN:zh:en_US:en"
CONF
) >> /etc/environment

(cat <<CONF
en_US.UTF-8 UTF-8
zh_CN.UTF-8 UTF-8
zh_CN.GBK GBK
zh_CN GB2312
CONF
) >> /var/lib/locales/supported.d/local

apt-get install -y fonts-droid-fallback ttf-wqy-zenhei ttf-wqy-microhei fonts-arphic-ukai fonts-arphic-uming
支付宝打赏 微信打赏

赞赏是不耍流氓的鼓励