1.window->preferrences->general->content types
把里面的选项 的 default encoding 都设置为:UTF-8 或者 GBK...
没设置一项 update 最后点确定
2.window->preferrences->myeclipse->files and editors
把里面的选项 的 encoding 设置为:ISO 10646/Unicode(UTF-8)
点击apply ->ok
这样以后,新建的文件都是UTF-8形式的。
。。。。。。。。。。。。。