步骤1:
在eclipse菜单栏中,Window–>Preferences–>General–>Content types,将JAR Content , Java Class File 的Default encoding都设置为你要的编码。

步骤2:
光设置上面的还不行,还需要再设置Workspace的编码。Window–>Preferences–>General–>Workspace,将Text file encoding的默认编码也设置为和上面一致的编码。

步骤3:
重启eclipse
标签:png div clip coding def win ima ref gpo
在eclipse菜单栏中,Window–>Preferences–>General–>Content types,将JAR Content , Java Class File 的Default encoding都设置为你要的编码。

光设置上面的还不行,还需要再设置Workspace的编码。Window–>Preferences–>General–>Workspace,将Text file encoding的默认编码也设置为和上面一致的编码。

重启eclipse
标签:png div clip coding def win ima ref gpo
原文地址:https://www.cnblogs.com/happyflyingpig/p/8569510.html