sudo vim /etc/vim/vimrc,修改文件,添加:
set fileencodings=utf-8,gb2312,gbk,gb18030
set termencoding=utf-8
set encoding=prc
保存退出即可
sudo vim /etc/vim/vimrc,修改文件,添加:
set fileencodings=utf-8,gb2312,gbk,gb18030
set termencoding=utf-8
set encoding=prc
保存退出即可