MyEclipse基本设置:[1]缺省字符集设置
url: http://jingyan.baidu.com/article/d5a880eb6c1c7813f147cc3e.html
MyEclipse基本设置:[2]设置JSP默认编辑器
url:http://jingyan.baidu.com/article/fcb5aff788924eedaa4a713e.html
eclipse 中字符集相关设置
windows>>Preferences
general->Workspace,右侧Text file encoding,选择Other,改变为UTF-8
general->Content Types, 右侧Context Types树,选择Text,选择Java Source File,在下面的Default encoding输入框中输入UTF-8,点Update,则设置Java文件编码为UTF-8。其他如果需要更改,方法一样。