阿紫
![Avatar](/user_files/wangningmei/config/avatar.png?1375032447)
![Table_bottom](/images/table_bottom.jpg?1375031774)
分类
![Table_bottom](/images/table_bottom.jpg?1375031774)
存档
![Table_bottom](/images/table_bottom.jpg?1375031774)
热门文章
![Table_bottom](/images/table_bottom.jpg?1375031774)
最新评论
![Table_bottom](/images/table_bottom.jpg?1375031774)
最新留言
![Table_bottom](/images/table_bottom.jpg?1375031774)
链接
![Table_bottom](/images/table_bottom.jpg?1375031774)
公告
![Table_bottom](/images/table_bottom.jpg?1375031774)
标签云
![Table_bottom](/images/table_bottom.jpg?1375031774)
计数器
91489
![Table_bottom](/images/table_bottom.jpg?1375031774)
搜索
![Table_bottom](/images/table_bottom.jpg?1375031774)
vim中文乱码
阿紫
posted @ 2012年8月20日 18:36
in 其他
, 1343 阅读
用vim打开中文的时候可能会出现乱码,解决方法:修改vimrc。
vi /usr/share/vim/vimrc,在vimrc最后添加:
set fileencodings=utf-8,gb2312,gbk,gb18030i
set termencoding=utf-8
set encoding=utf-8
另, 转一篇vim编码的文章:http://edyfox.codecarver.org/html/vim_fileencodings_detection.html
- 无匹配