在MyEclipse中编写Web Project,编码设置全集合

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格式!
3.window-->prferences-->general-->workspace【重点修改】

乱码:可能出现点:
1.中文注释;
2.POST/GET传数据;
3.读数据库
原文地址:https://www.cnblogs.com/dyllove98/p/3180343.html