代码改变世界

如何设置myeclipse的编码格式

2014-02-26 12:01  defended  阅读(237)  评论(0编辑  收藏  举报
1、windows——》Preferences——》general->Workspace,
最下侧左边,选择Other,改变为UTF-8,以后新建立工程其属性对话框中的Text file encoding即为UTF-8.
 
2、 windows——》Preferencesgeneral——》Content Types——》上半栏点开Text中每一颗子项——》在下边文本框中输入"UTF-8",点update! 
3、window——》preference——》MyEclipse——》Files and Editors,将每个子项的"Encoding"改为"ISO 10645/Unicode(UTF-8)",点Apply!