centos v7.0解决乱码

[root@localhost ~]# ll

鎬荤敤閲4
-rw-------. 1 root root 1045 8鏈 24 21:17 anaconda-ks.cfg

[root@localhost ~]# cat /etc/locale.conf
LANG="zh_CN.UTF-8"

[root@localhost ~]# vim /etc/locale.conf
LANG="zh_CN.GB18030"
LANGUAGE="zh_CN.GB18030:zh_CN.GB2312:zh_CN"
SUPPORTED="zh_CN.UTF-8:zh_CN:zh:en_US.UTF-8:en_US:en"
SYSFONT="lat0-sun16"

[root@localhost ~]# cat /etc/locale.conf
LANG="zh_CN.GB18030"
LANGUAGE="zh_CN.GB18030:zh_CN.GB2312:zh_CN"
SUPPORTED="zh_CN.UTF-8:zh_CN:zh:en_US.UTF-8:en_US:en"
SYSFONT="lat0-sun16"

[root@localhost ~]# reboot

[root@localhost ~]# ll
总用量 4
-rw-------. 1 root root 1045 8月 24 21:17 anaconda-ks.cfg

posted @ 2015-09-06 15:47  wolfinchina  阅读(266)  评论(0编辑  收藏  举报