Linux使用笔记

在这里开一张贴记录Linux使用过程中遇到的和已经解决了的一些配置问题,作为备忘,永久更新。

------------------------------------------------------------------------------------------------------------------------------------------------------------------------

2012.3.5

ubuntu11.10 设置Eclipse支持GBK和GB2312中文编码

1. 修改Ubuntu配置文件 /var/lib/locales/supported.d/local:
    sudo gedit /var/lib/locales/supported.d/local
    增加两行:
    zh_CN.GBK GBK
    zh_CN.GB2312 GB2312
2. 更新配置:
    sudo dpkg-reconfigure --force locales
3. 修改Eclipse设置:
    工程->Properties->Resource->Text file encoding->Other中直接输入GBK或GB2312

------------------------------------------------------------------------------------------------------------------------------------------------------------------------

猜你喜欢

转载自yewade.iteye.com/blog/1439920