日语系统tomcat 控制台中文乱码

1 idea 

  File 》 Settings 》Editor 》File Endcoding 》  UTF-8

2 idea 》 Edit Configuration

  tomcat Server 》VM options 》-Dfile.encoding=UTF-8

3 tomcat\conf 》logging.properties

  UTF-8 》 GBK

4 IntelliJ IDEA 2021.1.1\bin 》idea.exe.vmoptions

  添加 -Dfile.encoding=UTF-8

5 IntelliJ IDEA 2021.1.1\bin 》idea64.exe.vmoptions

  添加 -Dfile.encoding=UTF-8

6 计算机设置 》时间和语言 》语言 》 管理语言设置 》更改系统区域设置

  中文简体

7 重启电脑 tomcat idea 

posted @ 2021-05-18 10:13  容我看看这世界啊  阅读(214)  评论(0)    收藏  举报