When Tomcat startup console Chinese garbled
cmd console
IDEA Console
solution
- cmd garbled
- Open the apache-tomcat-8.5.47 \ conf \ logging.properties files in the Tomcat directory
- Probably about 50 at the location of the line, it will be
java.util.logging.ConsoleHandler.encoding = UTF-8
assigned to GBK
- Idea garbled
- In Idea interface Help-> Edit Custom VM Options
- In the last line of code to open an additional document
-Dfile.encoding=UTF-8
to