tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rohit Seth <rohit.s...@kronos.com>
Subject Supporting accented characters in URL with URIEncoding=UTF-8
Date Tue, 04 Dec 2007 12:22:37 GMT

I tried to search the issue in forum but couldn't find any solution. We need
to support special characters in URL (like ます or õñü). After going through
various articles we have done following changes to accomplish the same 

1. Added URIEncoding="UTF-8" in connector element.
2. Modified code to set encoding for request and response.

After these changes we are observing following behavior:

1. If url doesn't contain any special character, everything is fine.
2. If url contains a latin character like õñü, value gets corrupted.
3. If url contains a UTF-8 character like ます, values are proper. In this
case even the latin characters are also correct.

I would appreciate any help / insight .

rohit 


-- 
View this message in context: http://www.nabble.com/Supporting-accented-characters-in-URL-with-URIEncoding%3DUTF-8-tf4942812.html#a14149705
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
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