Solution to Chinese garbled characters in tomcat console in IDEA

1. Find the conf /logging.properties file in the tomcat installation directory and open it.

2、将 java.util.logging.ConsoleHandler.encoding = UTF-8

  change into

        java.util.logging.ConsoleHandler.encoding = GBK

3. Restart idea after saving.

 

 

Guess you like

Origin blog.csdn.net/weirdo_world/article/details/89331186