mac os vim 乱码

 1 yum -y groupinstall chinese-support
 2 
 3 vim /etc/sysconfig/i18n
 4 
 5 LANG="zh_CN.UTF-8"
 6 LANGUAGE="zh_CN.UTF-8:zh_CN.GB2312:zh_CN"
 7 SUPPORTED="zh_CN.UTF-8:zh_CN:zh:en_US.UTF-8:en_US:en"
 8 SYSFONT="lat0-sun16"
 9 
10  set fileencodings=utf-8,gb18030,gbk,ucs-bom,cp936
11  set termencoding=utf-8
12  set encoding=utf-8
13  set fileencodings=ucs-bom,utf-8,cp936
14  set fileencoding=utf-8
15   

 

posted @ 2015-05-10 18:33  hao.ma  阅读(333)  评论(0编辑  收藏  举报