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的菜单编辑

浙公网安备 33010602011771号