第一步:在configurations中 VM options 添加参数:-Dfile.encoding=UTF-8
第二步:在settings(alt+ctrl+s) 中设置file encordings 如下图所示

第三步:重新启动项目 观察console的日志 显示正常

第一步:在configurations中 VM options 添加参数:-Dfile.encoding=UTF-8
第二步:在settings(alt+ctrl+s) 中设置file encordings 如下图所示
第三步:重新启动项目 观察console的日志 显示正常
本文标题:idea控制台中文乱码问题解决
本文链接:https://www.haomeiwen.com/subject/xwsosxtx.html
网友评论