解决方法:编辑 ~/.vimrc,添加如下内容:
set fencs=utf-8,gbk
set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936
set termencoding=utf-8
set encoding=utf8
解决方法:编辑 ~/.vimrc,添加如下内容:
set fencs=utf-8,gbk
set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936
set termencoding=utf-8
set encoding=utf8