更改Eclipse或MyEclipse项目和jsp文件的默认编码

window-preferences-General-WorkSpace,在右边的窗口Text file encoding中选Other右面的UTF-8
window-preferences-General-ContentType 的右边窗口,改成utf-8
window-preferences-myEclipse-files and editors-jsp里面有encoding,改这里为ISO10646/UTF-8.

发表评论