tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Yet again a problem with POSTs and encodings
Date Mon, 03 Dec 2007 15:36:11 GMT
> From: Александър Шопов [mailto:ash@contact.bg] 
> Subject: Yet again a problem with POSTs and encodings
> 
> My problem is that I am trying to POST non ASCII data to 
> tomcat, but it gets recoded in ISO8859-1 interpretation 
> of UTF-8 byte sequence.

Have you tried implementing a filter to set the request encoding?  There's an example here:
http://www.jguru.com/forums/view.jsp?EID=1350462

This bug report also provides some information:
http://issues.apache.org/bugzilla/show_bug.cgi?id=36814

IIRC, the HTTP spec requires Tomcat to assume 8859-1 for parameter encoding, in lieu of information
to the contrary.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus
for use only by the intended recipient. If you received this in error, please contact the
sender and delete the e-mail and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message