IDEA 控制台乱码


https://stackoverflow.com/questions/35231291/intellij-idea-incorrect-encoding-in-console-output


 This works for me.
 1. Close your intellij idea
 2. Search and open file idea.exe.vmoptions inside idea installed, for example: "C:\Program Files\JetBrains\IntelliJ IDEA 2018.3.2\bin". After add next line: -Dfile.encoding=UTF-8
 3. (Optional) if you have file idea64.exe.vmoptions, add the same line too.
 4. Start your intellij idea.

也可以直接点开idea的菜单编辑

posted @ 2022-12-09 17:58  willclark  阅读(29)  评论(0)    收藏  举报