tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zsolt Koppany" <zkoppanyl...@intland.com>
Subject Does from a filter setCharacterEncoding work for tc-5.0.27?
Date Wed, 02 Feb 2005 14:33:07 GMT
Hi,

Does setCharacterEncoding work under tc-5.0.27 with java-1.4.2-06? To get
UTF-8 request parameter I need to do:

String par = request.getParameter("filename");
String filename = new String(par.getBytes("ISO8859-1"), "UTF-8");

request.setCharacterEncoding("UTF-8") doesn't seem to help from a filter.

Is it my mistake?


Zsolt Koppany
Phone: +49-711-722 1874
--
Intland Software GmbH, Schulze-Delitzsch-Strasse 16
D-70565 Stuttgart, Germany
Phone: +49-711-722 1873, e-mail:zsolt.koppany@intland.com
Fax: +49-711-722 1835

 




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message