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

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

相关文章:

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