Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the problem of garbled Chinese characters in the log printed by logback console under IDEA

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report