How to solve the problem of garbled Chinese characters in the log printed by logback console under IDEA
How to solve IDEA under the use of logback console print log Chinese characters for garbled, I believe many people do not have experience in this helpless, this article summarizes the causes of the problem and solutions, through this article I hope you can solve this problem.
Open File->Settings->Editor->File Encoding
Step 2: Set tomcat VM options,
Step 3: Set idea,idea64.exe.vmotions or idea.exe.vmotions
The fourth step, often the first three steps configuration OK, or garbled words, in the configuration under custom_vmoptions,
help->Edit Custom vm Options
Add to the open file
All the above configurations are OK, basically solving the UTF-8 garbled problem.
After reading the above content, do you know how to solve the problem of using logback console to print log Chinese characters as garbled characters under IDEA? If you still want to learn more skills or want to know more related content, welcome to pay attention to the industry information channel, thank you for reading!