Get the App
SLTechnology News&Howtos  ›  Servers  › 

Solve the garbled code in the console after TomCat startup by adding the registry

Shulou Source: shulou.com Published: 2022-06-03 09:29:19 09月21日 Update

Premise: the server.xml file under apache-tomcat-8.5.45\ conf\ this path has been configured with encoding format

1. Use the win key + R, and enter regedit to enter the registry

2. Find the registry HKEY_CURRENT_USER-- > HKEY_CURRENT_USER\ Console-- > HKEY_CURRENT_USER\ Console\ TomCat-- > CodePage-- > modify the numerical data to decimal 65001

3. If there are no TomCat and CodePage in part 2, create them by yourself. Note: TomCat (do not make an error in the name) and PageCode (do not make an error in the name. The new one is the value of the bit of DWORD32).

4. Click modify to change the value to 65001 of the decimal bit after the creation.

Finished, the modification was successful!

Tags: Registry decimal name error decimal success two premise numeric data file format encoding path bipartite input configuration garbled console control Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi Shulou Tech Info MariaDB vpn MySQL