码迷,mamicode.com
首页 > 其他好文 > 详细

centos 7.0解决乱码

时间:2015-09-06 16:04:03      阅读:577      评论:0      收藏: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

centos 7.0解决乱码

标签:

原文地址:http://www.cnblogs.com/wolfinchina/p/4786250.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!