1.idea安装目录下的bin/idea64.exe.vmoptions和bin/idea.exe.vmoptions追加-Dfile.encoding=UTF-8 
2.log4j对应的properties文件中需要增加log4j.appender.F.Encoding=utf-8(其中F是自定义的) 
3.idea–》setting–》File encoding–》修改三处编码集为UTF-8 
4.发布服务器修改,edit configuration–》VM options=-Dfile.encoding=UTF-8 
注意: 

utf大小写,注意所有配置文件后面不要有空格!不要有空格!不要有空格!

idea解决乱码问题

相关文章:

  • 2019-12-12
  • 2021-11-02
  • 2020-04-21
  • 2021-11-24
  • 2021-09-19
  • 2021-09-24
  • 2021-09-24
  • 2021-09-24
猜你喜欢
  • 2019-05-22
  • 2021-11-06
  • 2021-12-13
  • 2021-12-16
  • 2017-12-15
  • 2021-09-24
  • 2021-09-21
  • 2021-09-28
相关资源
相似解决方案