Completely solve the problem of garbled characters in the Tomcat console

Completely solve the problem of Chinese garbled characters in the Tomcat console

1. In the Tomcat configuration file, the encoding format is "UTF-8";

Tomcat configuration file

2. However, the encoding format of the Tomcat console is GBK, so the encoding does not match and garbled characters appear

Insert picture description here

3. Solutions

Modify the registry, 计算机\HKEY_CURRENT_USER\Console\Tomcat
willcodePage修改为65001
Insert picture description here

4. The garbled problem was successfully solved

Insert picture description here

Published 21 original articles · won 29 · views 2831

Guess you like

Origin blog.csdn.net/VariatioZbw/article/details/104441543