報錯:Save could not be completed!
Reason:Some characters cannot be mapped using "GBK" character enooding.Either change the encoding or Removing the chatacters which are not supported by the "GBK" character encoding.
我的html文件怎麼樣改page的編碼都不能保存。然後就找網上解決,發現很多都是不能解決,因此,把自己最後的解決方法寫下來,讓大家參考:
網上的解決辦法通常都是:windows-->Preferences-->MyEclipse
-->Files & Editors -->JavaScript
-->Editing files -->Encoding
這裏改成ISO 10646/Unicode(UTF-8)
但是,我按照這個去找,結果,找不到所謂的Editing files,MyEclipse的版本是:8.5.
於是繼續埋頭網上資料,結果發現還是這個好用:
GBK編碼問題,把字符編碼轉化爲UTF-8的格式下進行
方法 Window->Preference->General->Content Type->Text-jsp下相關文件(html或者jsp等),
如java 檢查是否爲utf-8格式,不是改爲utf-8格式;
檢查是否爲空(在中文操作系統下爲GBK或空):爲空改爲utf-8格式
引用博文文章的鏈接:http://eagle0824.iteye.com/blog/795284 感謝...