Is there a way to enforce UTF-8 encoding on POST operations for tomcat 7, regardless of what the browser may send to tomcat?
It runs with the latest JRE from http://java.sun.com/getjava
Is there a way to enforce UTF-8 encoding on POST operations for tomcat 7, regardless of what the browser may send to tomcat?
It runs with the latest JRE from http://java.sun.com/getjava
You can't "enforce" UTF-8 encoding on post operations, you rather have the ability to convert requests to UTF-8 by creating a servlet filter, for this check these links:
http://www.javaservletsjspweb.in/2009/05/character-encoding-filter-java-servlets.html#.U0CQ46JqSMg
http://dertompson.com/2007/01/29/encoding-filter-for-java-web-applications/