How to solve the garbled Chinese characters of Tomcat 9 log output under IDEA
This article mainly introduces "how to solve Chinese garbled code output of Tomcat 9 log under IDEA". In daily operation, I believe that many people have doubts about how to solve the problem of Chinese garbled code output of Tomcat 9 log under IDEA. Xiaobian consulted all kinds of data and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubt of "how to solve Chinese garbled code output of Tomcat 9 log under IDEA". Next, please follow the editor to study!
The three places indicated by the red arrow in figure 1 output Chinese garbled in the Tomcat 9 log under IDEA:
1, open the tomcat installation path under the conf folder logging.properties file 2, the red arrow in figure 2 will indicate the three places of encoding comments or change UTF-8 to GBK here, on the "IDEA Tomcat 9 log output Chinese garbled how to solve" the study is over, I hope to solve everyone's doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!