你的位置:首页 > Java教程

[Java教程]使用英文版eclipse保存代码,出现some characters cannot be mapped using Cp1251 character encoding.


some characters cannot be mapped using "Cp1251" character encoding.

解决办法:
方案一: eclipse->Window->Preferences->General->Content Types->Text->Java Properties File设置Default encoding,把ISO-8859-1改为UTF-8  然后update.
 方案一没有解决,直接点击图片中第二个button,解决!