Ubuntu是英文版本的。eclipse安装时会也默认人英文版本。
1.Ubuntu安装中文包
System->Administration->Language Support.
此时若没有Language Support,会先安装Language Support。
然后在Supported Languages中选中Chinese为Support。
等待安装完毕后,在Default Language中选Chinese(China)。
重启Ubuntu。
2.修改eclipse的encoding
Window->Preferences->Workspace.
在右边的Text file encoding由Default改为Other。在other中选中GBK。如选项中没有,则输入“GBK”三个字符。
摘自:http://blog.csdn.net/yaoguangle/archive/2009/06/17/4275779.aspx
1.Ubuntu安装中文包
System->Administration->Language Support.
此时若没有Language Support,会先安装Language Support。
然后在Supported Languages中选中Chinese为Support。
等待安装完毕后,在Default Language中选Chinese(China)。
重启Ubuntu。
2.修改eclipse的encoding
Window->Preferences->Workspace.
在右边的Text file encoding由Default改为Other。在other中选中GBK。如选项中没有,则输入“GBK”三个字符。
摘自:http://blog.csdn.net/yaoguangle/archive/2009/06/17/4275779.aspx