编辑/etc/vim/vimrc文件,加上如下几行:
set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936
set termencoding=utf-8
set encoding=utf-8
原文地址:https://www.cnblogs.com/QuestionsZhang/p/12182395.html
时间: 2024-10-08 23:55:48
编辑/etc/vim/vimrc文件,加上如下几行:
set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936
set termencoding=utf-8
set encoding=utf-8
原文地址:https://www.cnblogs.com/QuestionsZhang/p/12182395.html