Idea starts Tomcat console with garbled code but no error

Problem display

resolvent

1. Find the Tomcat installation directory  

  2. Open the logging.properties file from the conf folder
find the line java.util.logging.consolehandler.encoding = UTF-8 and change it to java.util.logging.consolehandler.encoding = GBK
that is, change the console code from UTF-8 to GBK

  Successful solution, give a praise


Read More: