mac os vim 乱码
1 yum -y groupinstall chinese-support2
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
10set fileencodings=utf-8,gb18030,gbk,ucs-bom,cp936
11set termencoding=utf-8
12set encoding=utf-8
13set fileencodings=ucs-bom,utf-8,cp936
14set fileencoding=utf-8
15
页:
[1]