When I visit the URL http://localhost:8080/myapp/search?q=jalape%C3%B1os&p=1 and use request.getParamter(“q”) the string becomes jalapeños instead of jalapeños. Obviously this is a problem.
I’m running Spring 3 with tomcat, everything “says” it’s coming through as UTF8; which means it should be rendering as jalapeños.
Help?!
Check the tomcat’s encoding.
According to the Servlet spec (see http://wiki.apache.org/tomcat/FAQ/CharacterEncoding) the default one is not UTF-8, but ISO-8859-1
Also take a look at http://wiki.apache.org/tomcat/FAQ/CharacterEncoding#Q3 . This might well solve your issues.