idea html乱码终极解决办法(走投无路版)

 设置Inllij idea文件编码格式,设置为UTF-8。File=>Settings=>Editor=>File Encodings

 添加代码 -Dfile.encoding=UTF-8 

但是添加后会导致Tomcat日志乱码 需要将之前的Tomcat\apache-tomcat-9.0.53\conf下的logging.properties 里面改过的GBK改回UTF-8 保持统一

猜你喜欢

转载自blog.csdn.net/qq_39644418/article/details/120908466