How to set Tomcat's Encoding type?
<p>Actucally I am not sure that it is the problem caused by Tomcat.I had to deal with some Chinese words(encode in UTF-8).When I debug the program on eclipse with "Run on server"，it will return the expected result.But when I export it to war package and run on tomcat, then all the Chinese words will showed in GBK, and can not be read.I do not know where the problem is.Could anyone tell me how to solve it?</p>