编程知识 cdmana.com

Solution of Chinese garbled code in idea integrated Tomcat console

step

  1. Edit Configurations:
    image.png
    stay VM options Add :

    -Dfile.encoding=UTF-8

    image.png

  2. File -> Settings -> Editor -> File Encodings:
    image.png
    Pictured , Set to UTF-8:
    image.png
  3. Help -> Edit Custom VM Options:
    image.png
    stay idea64.exe.vmoptions Add... To the last line of the document :

    -Dfile.encoding=UTF-8
  4. restart IDEA.

Reference resources

idea Integrate tomcat And solve the problem of console garbled code

版权声明
本文为[ShadowCK]所创,转载请带上原文链接,感谢
https://cdmana.com/2021/10/20211002152622990E.html

Scroll to Top