IDEA starts Tomcat Chinese garbled characters (solved)
Mobile
2023-07-01 05:29:14
views: null
Simply write a demo test
Chinese garbled characters appear all the time when starting tomcat
First of all, change it to a unified UTF-8 in the setting
I have all set to UTF-8, but there are still garbled characters, so further operations are required
Add to VM options:
Find the bin file under the IDEA folder of this computer
found under the bin file
open with notepad
Add in the last line:
-Dfile.encoding=UTF-8
Origin blog.csdn.net/weixin_58642210/article/details/127135635