set ambiwidth=double
set encoding=utf-8
set termencoding=utf-8
set fileencodings=ucs-bom,utf-8,chinese,latin-1
if has("win32")
set fileencoding=chinese
else
set fileencoding=utf-8
endif
------解决方案--------------------
------解决方案-------------------- 我的是这样设的: set fileencodings=utf-8,gb2312,gbk,gb18030 set termencoding=utf-8