步骤1、在eclipse菜单栏中,Window–>Preferences–>General–>Content types
将JAR Content , Java Class File 的Default encoding都设置为你要的编码。
步骤2、光设置上面的还不行,还需要再设置Workspace的编码。Window–>Preferences–>General–>Workspace,将Text file encoding的默认编码也设置为和上面一致的编码。
Powered by: 博客园 Copyright © 2024 hehoge Powered by .NET 8.0 on Kubernetes