Chinaunix首页 | 论坛 | 博客
  • 博客访问: 8049110
  • 博文数量: 594
  • 博客积分: 13065
  • 博客等级: 上将
  • 技术积分: 10324
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-26 16:44
个人简介

推荐: blog.csdn.net/aquester https://github.com/eyjian https://www.cnblogs.com/aquester http://blog.chinaunix.net/uid/20682147.html

文章分类

全部博文(594)

分类: LINUX

2008-05-20 09:32:42

在~/.vimrc文件中添加如下两行即:
set encoding=GB2312
set fileencoding=GB2312
 
阅读(3482) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

Aquester2017-01-27 17:28:41

如果包含中文文件名或目录名:
svn: Can\'t convert string from \'UTF-8\' to native encoding:

该SVN错误,先检查LANG,再检查LC_CTYPE(使用locale命令查看即可)


export LANG=zh_CN.utf8
export LC_CTYPE=zh_CN.utf8