直接写入/etc/vim/vimrc文件,在/etc/vim/vimrc文件末尾加上
set fileencodings=utf-8,gb2312,gb18030,gbk,ucs-bom,cp936,latin1
set enc=utf8
set fencs=utf8,gbk,gb2312,gb18030
直接写入/etc/vim/vimrc文件,在/etc/vim/vimrc文件末尾加上
set fileencodings=utf-8,gb2312,gb18030,gbk,ucs-bom,cp936,latin1
set enc=utf8
set fencs=utf8,gbk,gb2312,gb18030
本文标题:vim 打开中文乱码
本文链接:https://www.haomeiwen.com/subject/mzbrjqtx.html
网友评论