ubuntu下的eclipse支持GBK编码
来源:互联网 发布:棋牌游戏推广软件 编辑:程序博客网 时间:2024/04/28 07:22
今天,把windows下的工程导入到了Linux下eclipse中,由于以前的工程代码,都是GBK编码的,而Ubuntu默认是不支持GBK编码的。所以,首先我们要先让Ubuntu支持GBK,方法如下:
首先Windows->Preferences, 然后选择General下面的Workspace. Text file encoding选择Other GBK, 如果没有GBK的选项, 没关系, 直接输入GBK三个字母, Apply, 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 file encoding选择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编码
- adb push常见问题
- 分治法---大整数相乘
- #小练习 使用HTMLParser获取data时注意事项
- Json解析出错 :MorphDynaBean cannot be cast to
- 基于netty的websocket开发小结
- ubuntu下的eclipse支持GBK编码
- Sicily9162(单调队列)
- Android开发环境搭建教程
- 【数据结构】【c】关于malloc和realloc
- LightOJ 1013 Love Calculator (LCS+DP)
- nand flash otp(one time Programable)驱动编写细节
- 互斥锁常用方式
- cocos2d-X 节点(CCMotionStreak.h)API
- UVA - 567 Risk