MyEclipse中新建一個MessageBundle.properties文件,如果輸入中文保存時就會提示錯誤:
Save could not be completed.
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.
解決辦法:
打開Eclipse的Preferences,選擇General->Content Types,然后修改右面的Text下的Java Properites File的默認編碼方式為UTF-8,點擊Update就可以了!
posted on 2007-12-22 19:10
周銳 閱讀(2550)
評論(1) 編輯 收藏 所屬分類:
Eclipse