1.首先我们的IDEA文件编码一般都修改为utf-8(setting-->file encodings--->Global Encoding 和 Project Encoding 都设置为UTF-8)

【转】IDEA 中配置文件properties文件中文乱码解决

 

2.对于 Properties 文件,重要属性 Transparent native-to-ascii conversion 主要用于转换 ascii,一般都要勾选,不然 Properties 文件中的注释显示的都不会是中文。

 【转】IDEA 中配置文件properties文件中文乱码解决

 

参考:https://github.com/judasn/IntelliJ-IDEA-Tutorial/blob/master/theme-settings.md

相关文章:

  • 2021-08-30
  • 2021-10-19
  • 2021-09-02
  • 2022-01-03
  • 2021-04-08
  • 2021-12-06
  • 2021-10-04
猜你喜欢
  • 2022-01-07
  • 2022-01-17
  • 2021-04-02
  • 2021-08-29
  • 2022-01-03
  • 2021-08-13
相关资源
相似解决方案