问题描述:

在Eclipse中,properties属性文件中的中文资源,如下图所示:

Eclipse properties中文乱码

在页面上显示为乱码,如下图所示:

Eclipse properties中文乱码

解决办法:

安装PropertiesEditor插件,

Name:PropertiesEditor

Location:http://propedit.sourceforge.jp/eclipse/updates/

如下图所示:

Eclipse properties中文乱码

安装后重启Eclipse,使用PropertiesEditor插件打开properties文件,如下图所示:

Eclipse properties中文乱码

重新启动系统,中文正常显示:

Eclipse properties中文乱码

 

相关文章:

  • 2021-07-17
  • 2021-07-01
  • 2021-11-05
  • 2022-01-21
猜你喜欢
  • 2021-12-12
  • 2021-10-09
  • 2021-09-28
  • 2021-09-04
  • 2021-10-08
  • 2021-11-27
  • 2022-01-03
相关资源
相似解决方案