vim 中文乱码问题

编辑~/.vimrc文件,加上如下几行:

   set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936
   set termencoding=utf-8
   set encoding=utf-8

posted on 2016-05-11 21:34  Alex0111  阅读(275)  评论(0编辑  收藏  举报

导航