ubuntu下的eclipse支持中文---GBK编码【本人验证】
来源:互联网 发布:全民wifi网络异常 编辑:程序博客网 时间:2024/05/12 08:02
原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://leaze.blog.51cto.com/83088/195584
今天,把windows下的工程导入到了Linux下eclipse中,由于以前的工程代码,都是GBK编码的,而Ubuntu默认是不支持GBK编码的。所以,首先我们要先让Ubuntu支持GBK,方法如下:- 修改/var/lib/locales/supported.d/local文件,在文件中添加zh_CN.GBK GBKzh_CN.GB2312 GB2312
- sudo dpkg-reconfigure --force locales然后在输出的结果中会出现zh_CN.GB2312 donezh_CN.GBK done
首先Windows->Preferences, 然后选择General下面的Workspace. Text fileencoding选择Other GBK,
如果没有GBK的选项,没关系,直接输入GBK三个字母, Apply, GBK编码的中文,已经不是乱码了。
- ubuntu下的eclipse支持中文---GBK编码【本人验证】
- ubuntu下的eclipse支持GBK编码
- Ubuntu下Eclipse支持GBK编码
- 让Ubuntu下的eclipse支持GBK编码
- 让Ubuntu下的eclipse支持GBK编码
- 让ubuntu下的eclipse支持 GBK编码
- 让ubuntu下的eclipse支持GBK编码
- 让ubuntu下的eclipse支持GBK编码
- 让ubuntu下的eclipse支持GBK编码
- 让ubuntu下的eclipse支持GBK编码
- 让ubuntu下的eclipse支持GBK编码
- [转]让ubuntu下的eclipse支持GBK编码
- 让ubuntu下的eclipse支持GBK编码
- 让ubuntu下的eclipse支持GBK编码
- 让Ubuntu下的Eclipse支持GBK编码
- 让ubuntu下的eclipse支持GBK编码
- ubuntu下eclipse支持GBK编码的操作
- 让ubuntu下的eclipse支持GBK编码
- ABAP technology overview
- 批量更新重复数据
- 几道题目
- 【国外电子与通信教材系列】 系列图书汇总 目前19本
- 不同类型之间的转换
- ubuntu下的eclipse支持中文---GBK编码【本人验证】
- Android之TextSwitcher
- 简明python教程
- 增量型博客
- 字符串函数
- huffman表在xvid中的应用
- python之py2exe
- oracle中 connect by prior 递归算法,connect_by_root,sys_connect_by_path,connect_by_isleaf,CONNECT_BY_ISCYC
- 接口实现类的问题