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即可解決亂碼

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM