今天在修改JSP页面时,修改了部分要显示的字符为中文,然后保存提示问题如下:"Reason: some characters cannot be mapped using "ISO-8859-1" character encoding. Either change the encoding or remove the characters which are not supported by the "ISO-8859-1" character encoding. "
提示框中有三个选项,选择保存为UTF-8。
为防止下次同样提示出现,可用如下办法解决:Window->Preferences->General->Content Types->Text->Jsp中设置Default encoding,把ISO-8859-1改为UTF-8,然后Update->OK。