First, set the server.xml
URIEncoding="UTF-8"
Second, set the idea properties
-Dfile.encoding=UTF-8
Third, the idea to set file encoding
Fourth, the idea of setting encoding parameters tomcat
-Dfile.encoding=UTF-8
Above all can be found on the Internet, and if you still garbled, then the next step is a real technology,
The fifth set tomcat log encoding format
Modify apache-tomcat-9.0.14-windows-x64 / conf / logging.properties file
java.util.logging.ConsoleHandler.encoding = UTF-8