The Internet to download a version number for the apache-tomcat-8.5.38 of Tomcat, Tomcat because this has not been used, so there gibberish start today:
solution:
Find logging.properties file folder Tomcat conf directory,
Logging.properties open the file, find the file java.util.logging.ConsoleHandler.encoding = UTF-8,
Will be one of UTF-8 instead GBK, save restart Tomcat service, you will see just after the start of garbage have been converted over.
NOTE: If Tomcat is the title of garbled how to do it?
I used Tomcat title naming the following two:
First find catalina.bat file in the bin directory under the Tomcat directory, use Notepad to open:
The first: in this place to write such a sentence:
set TITLE = Tomcat 8.5.38 garbled test here is the title
The second: Write the title of the position Tomcat original title:
Note: No matter which approach to use, the effect is the same, however, if you use both ways at boot time will flash back!
To see the effect after the normal start:
Title position garbled, this time you can use Notepad ++ to adjust the encoded file:
We can see now the file is UTF-8 encoding, we can click on the following ANSI-encoded into the encoded file to adjust, do not forget to save over point oh restart Tomcat to see the effect:
problem solved!