Meclipse乱码解决方案

1、windows->Preferences->general->Workspace->Text file encoding,
选择Other,改变为UTF-8,以后新建立工程其属性对话框中的Text file encoding即为UTF-8.
 
2、windows->Preferences->general->Content Types->Context Types
点开Text中每一颗子项,并在中输入"UTF-8",点update! 其他java应用开发相关的文件如:properties、XML等已经由Eclipse缺省指定,分别为ISO8859-1,UTF-8,如开发中确需改变编码格式则可以在此指定。
 
3、window——>preference——>MyEclipse——>Files and Editors,
将每个子项的"Encoding"改为"ISO 10645/Unicode(UTF-8)",点Apply! 

 

posted @ 2013-11-05 16:11  裴佩  阅读(235)  评论(0编辑  收藏  举报