解决ubuntu vim中文乱码问题

版权声明:本文为pureszgd原创文章,未经允许不得转载, 要转载请评论留言! https://blog.csdn.net/pureszgd/article/details/84278895

打开
/usr/share/vim/vimrc

末尾添加

set fileencodings=utf-8,gb2312,gb18030,gbk,ucs-bom,cp936,latin1
set termencoding=utf-8
set fileformats=unix
set encoding=prc

猜你喜欢

转载自blog.csdn.net/pureszgd/article/details/84278895
今日推荐