1 Find your tomcat directory
2 Under this directory \tomcat61 -32\tomcat61\conf
3 Find server.xml and open it with notepad (if not, go to the next one)
4 Find this line
5 Change it to this
6.servelet also needs to be changed
(In fact, URIEncoding is added This attribute, the value is utf-8)
Finally clear the server cache
<%request.setCharacterEncoding("utf-8"); %>
The above is the detailed content of Solve the problem of garbled Chinese characters in the parameters submitted by the get method:. For more information, please follow other related articles on the PHP Chinese website!