When Tomcat deployment project, released part garbled project page and page rendering file is garbled.

catalina.bat must be set to UTF-8, if I do not set UTF-8, page received is garbled, tried to debug various UTF-8, have no solution, or only in the last catalina.bat the set "JAVA_OPTS =% JAVA_OPTS%% JSSE_OPTS% -Dfile.encoding = UTF-8", plus UTF-8 problem can be solved.

Guess you like

Origin www.cnblogs.com/valivvali/p/11613860.html