tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rohit Seth <>
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 .


View this message in context:
Sent from the Tomcat - User mailing list archive at

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message