Chinese garbled characters may appear on the console when we download or open Tomcat for the first time

Solution 1. Open the directory where Tomcat is installed. This section uses 9.0.34 as an example.

Open the logging.properties file with an editor

After opening found about 50 lines of Java. Util. Logging. ConsoleHandler. Encoding = utf-8

Modified to Java. Util. Logging. ConsoleHandler. Encoding = GBK;

Just restart Tomcat.