解决jar包里的class文件乱码问题
- window–>Perferences–>General–>Text file encoding–>选择UTF-8–>Apply and Close–>重启eclipse
- 如果上面那个方法还不行的话可以尝试这个
window–>Perferences–>General–>Content Types–>右侧展开Text–>Java source File
–>Default encoding–>输入UTF-8–>Apply and Close–>重启eclipse
- 修改完记得一定要重启eclipse。
小结: