MyEclipsse的字符問題

http://blog.csdn.net/linwei_hello/article/details/44117905

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.


解決辦法:
方案一: 菜單->Window->Preferences->General->Content Types->Text->Java Properties File設置Default encoding,把ISO-8859-1改爲UTF-8  然後update.
 如果是jsp文件或者其他文件不能保存,也可以使用相同的方法,在Text裏選擇相應類型的文件,將下面的Default encoding,從ISO-8859-1改爲UTF-8即可。
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章