建议vim的_vimrc文件里设置如下的编码方式:
set
encoding=utf-8
set
fileencodings=ucs-bom,utf-8,cp936
set
fileencoding=gb2312
set
termencoding=utf-8
原因可参考:
https://www.cnblogs.com/freewater/archive/2011/08/26/2154602.html
或
2022-10-25 15:44:35
建议vim的_vimrc文件里设置如下的编码方式:
set
encoding=utf-8
set
fileencodings=ucs-bom,utf-8,cp936
set
fileencoding=gb2312
set
termencoding=utf-8
原因可参考:
https://www.cnblogs.com/freewater/archive/2011/08/26/2154602.html
或