IntelliJ IDEA 2019 控制台中文乱码问题

DEA新版本,这里以2019.2.3为例

image

 

菜单 Help -> Edit Custom VM Options...,文件末尾添加:-Dfile.encoding=UTF-8

image

Run/Debug Configurations(就是通常配置tomcat那里) VM Options:-Dfile.encoding=UTF-8

image

重新启动idea即可解决乱码

 

posted @ 2020-01-04 15:13  田园沃土  阅读(781)  评论(0编辑  收藏  举报