2008-04-29

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.

评论
发表评论

您还没有登录,请登录后发表评论

zhuhaihua
搜索本博客
最近加入圈子
存档
最新评论