File -> Settings -> Editor -> File Encoding
File->Settings->Build,Execution,Deployment -> Compiler -> Java Compiler
设置"Additional command line parameters" 选项为 -encoding utf-8
2024-04-12 19:23:40
设置"Additional command line parameters" 选项为 -encoding utf-8