tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: URIEncoding
Date Thu, 26 Jul 2007 19:06:36 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Frederic,

Frederic Bastian wrote:
> The matter is that Tomcat won't get the correct values of the parameters
> in the URL. For instance :
> 
> If my URI looks like : http://host/?query=%C3%A9%C3%A8
> The URI encoding is UTF-8
> 
> By default, Tomcat will read this url in ISO-8859-1.

Yes, but you said that you changed the <Connector> to use UTF-8. Is it
not working? Or, are you looking for an alternative so that you don't
/have to/ set the <Connector>'s URIEncoding?

> If I add into server.xml the attribut URIEncoding="UTF-8" to the
> Connector, Tomcat will correctly read the "query" parameter.
> I would like Tomcat to read correctly URL in UTF-8, but without
> modifying server.xml.

Aah, I get it. I don't believe this is possible. I'd love to hear from a
Tomcat developer, though, just to be safe.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGqPC89CaO5/Lv0PARAsppAKCk/bkUphulQmhqOt9rsvvM6kWwKgCgjQkM
CtW/PpMkqPJfrMF9I6Jz/fQ=
=tfXB
-----END PGP SIGNATURE-----

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