eclipse 设置默认编码为Utf-8 详细教程。

需要设置的几处地方为:

 Window->Preferences->General ->Content Type->Text->JSP 最下面设置为UTF-8

 Window->Preferences->General->Workspace   面板Text file encoding 选择UTF-8

 Window->Preferences->Web->JSP Files 面板选择 ISO 10646/Unicode(UTF-8)

程序员小冰博客:http://blog.csdn.net/qq_21376985 技术交流QQ986945193 微博:http://weibo.com/mcxiaobing
原文地址:https://www.cnblogs.com/mcxiaobing/p/5472115.html