myeclipse 保存jsp或者其他页面时 提示不能映射为iso-8859-1编码错误

canca canca
2012-01-29 13:25
1
0
jsp,html页面,输入中文,就不能保存.提示信息如下 :
"Some characters cannot be mapped using 'ISO-8859-1' character encoding. Either changethe encoding or remove the characters which are not supported by the 'ISO-8859-1' character encoding."

eclipse --> window --> General --> Content Types
--> Test -->
单击 Java Properties File,在底部出现 'Default edcodng:',改成GBK,然后update.
虽然能保存,但还必须利用 native2ascii 来转换一下,不然输出还是乱码

发表评论