hfultrastrong

Intellij Idea 修改 properties 文件编码

 

现象:idea 默认的properties文件是GBK,当有中文时,不同的客户端配置的编码不同时,可能产生中文乱码。

解决:修改properties的默认编码,统一为utf8。

File -> Settings -> File Encodings -> Default encoding for properties file -> UTF-8

分类:

技术点:

相关文章:

  • 2021-09-25
  • 2021-09-21
  • 2022-01-07
  • 2021-09-13
  • 2021-08-06
  • 2021-09-21
  • 2021-09-21
猜你喜欢
  • 2021-10-08
  • 2022-01-07
  • 2022-01-01
  • 2021-06-26
  • 2021-05-18
  • 2022-01-07
相关资源
相似解决方案