1、Intelliji Idea工具乱码

ctrl+alt+s,打开设置,Editor->file Encodings
Intellij idea 乱码问题
Intellij idea 乱码问题

2、springboot tomcat启动 乱码:
修改conf/logging.properties
java.util.logging.ConsoleHandler.encoding=UTF-8 改为GBK
Intellij idea 乱码问题启动时,tomcat不要加-Dfile.encoding=UTF-8,不然会导致日志输出乱码

修改前:

Intellij idea 乱码问题

修改后:

Intellij idea 乱码问题

相关文章:

  • 2021-09-13
  • 2021-06-07
  • 2021-10-05
  • 2022-12-23
  • 2021-10-09
  • 2021-08-22
  • 2021-07-12
  • 2022-01-07
猜你喜欢
  • 2022-01-07
  • 2022-01-19
  • 2022-12-23
  • 2021-06-22
  • 2022-12-23
相关资源
相似解决方案