MyEclipse查看jar包源代码乱码问题解决

来源:互联网 发布:mdict for mac 编辑:程序博客网 时间:2024/05/18 00:45

步骤1、在MyEclipse菜单栏中,Window–>Preferences–>General–>Content types

将JAR Content , Java Class File 的Default encoding都设置为你要的编码。



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



步骤3、保存,重启Eclipse即可发现乱码问题解决了

1 0
原创粉丝点击