今天想看看所里自行开发的一套框架源码,发现注释中文乱码了,经过以下步骤就才解决~

1.Window–>Preferences–>General–>Content types,将Java Class File 的Default encoding都设置为UTF-8。
解决:eclipse查看jar包源码乱码

2.Window–>Preferences–>General–>Workspace,将Text file encoding的默认编码也设置UTF-8。
解决:eclipse查看jar包源码乱码

重启eclipse即可。

相关文章:

  • 2021-11-20
  • 2022-01-01
  • 2021-10-26
  • 2022-12-23
  • 2021-12-11
  • 2021-11-09
  • 2021-06-13
猜你喜欢
  • 2021-08-23
  • 2021-10-27
  • 2021-07-06
  • 2022-01-08
  • 2021-09-15
相关资源
相似解决方案