`

Java 相关错误拾集

    博客分类:
  • Java
阅读更多

1.(in Eclips)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.
Answer:Windows-->performance-->General-->Workspace-->Text file encoding(a checkbox)-->select "UTF-8" then click "OK".
and Window->Preferences->General->Content Types->Text->Java Properties File set Default encoding ISO-8859-1  to UTF-8 then update.

Pay attention:now,though u can save the property file with Chinese,u have to use the native2ascii tools to convert again otherwise the String is also the messy code.

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics