Idea to solve the Tomcat server and console log garbled garbled output

Tomcat idea in Chinese garbled approach

The idea was two files in the directory add a line -Dfile.encoding=UTF-8
to this solution is that comes with tomcat log garbage problem

Print Chinese garbled idea of the console, in the tomcat setup VM options also add -Dfile.encoding=UTF-8
this to solve the problem of garbled code Chinese output in the console

Guess you like

Origin www.cnblogs.com/wangjr1994/p/12434721.html