假设工作环境的编码设定为 UTF-8:
1、打开对应的 Run Configuration /Debug Configuration 窗口
2、在该窗口的 Arguments Tab 页下,向 VM arguments 添加 -Dfile.encoding=UTF-8
3、在该窗口的 Common tab 页下,Console encoding 项选择 UTF-8