建议vim的_vimrc文件里设置如下的编码方式:
set encoding=utf-8
set
encoding=utf-8
set fileencodings=ucs-bom,utf-8,cp936
fileencodings=ucs-bom,utf-8,cp936
set fileencoding=gb2312
fileencoding=gb2312
set termencoding=utf-8
termencoding=utf-8
原因可参考:
https://www.cnblogs.com/freewater/archive/2011/08/26/2154602.html
或
http://blog.chinaunix.net/u2/80678/showart_2043323.html