Eclipse设置默认编码为UTF-8
需要设置的几处地方为:
![]()
![](//img-blog.csdn.net/20140912100945554?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvenVpd3V5dWFu/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center)
Window->Preferences->General ->Content Type->Text->JSP 最下面设置为UTF-8
Window->Preferences->Web->JSP Files 面板选择 ISO 10646/Unicode(UTF-8)