IDEA解决控制台乱码

Posted by WK on 2022-04-29
Estimated Reading Time 1 Minutes
Words 80 In Total
Viewed Times

以下亲测有效,保证药到病除 ——20220429 WK

idea部分(解决控制台打印乱码问题)

第一步:

1.jpg

第二步

-Dfile.encoding=UTF-8
-Dconsole.encoding=UTF-8

2.jpg

第三步:

idea存放目录默认C:\Program Files\JetBrains\bin

3.jpg

打开这两个文件

4.jpg

tomcat部分

第一步:

5.jpg

6.jpg

第二步

-Dfile.encoding=UTF-8

7.jpg

重启idea,完


If you like this blog or find it useful for you, you are welcome to comment on it. You are also welcome to share this blog, so that more people can participate in it. If the images used in the blog infringe your copyright, please contact the author to delete them. Thank you !