中文乱码设置:
1.window-->preference-->general-->content type
然后在<Content Types>中展开每一颗子项,并在<Default encoding>中输入"UTF-8 "或"GB18030 ", 点update!
2.window-->preference-->MyEclipse-->Files and Editors
将每个子项的"Encoding"改为"ISO 10645/Unicode(UTF-8) "或"Chinese,National Standard ",点Apply!
以后所有创建的文档类型都是UTF-8或GB18030格式!