Re: How to control encoding of response.sendRedirect? (Tomcat 5.5.17)

2007-09-23 Thread Alex Funk
Thanks to all that responded, that helped me a lot to make sense from it all. >> On 22/09/2007, at 10:27 AM, Mark Thomas wrote: >>> Check the HTTP spec. I am pretty sure (but haven't checked) that the >>> headers must always be in ISO-8859-1. Yes, the RFC2616 says: message-header = field-name "

How to control encoding of response.sendRedirect? (Tomcat 5.5.17)

2007-09-21 Thread Alex Funk
Hi, if I use HTTPServletResponse.sendRedirect with a String that contains an URL with Unicode characters, the Location-Header contains the characters encoded in ISO-8859-1. I have set URIEncoding="UTF-8" in my connector in server.xml, since other links in my webapp use this encoding, so that's