You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sven Köhler <sk...@upb.de> on 2007/02/23 19:22:58 UTC

charset for querystring decoding

Hi,

as far as i remember, tomcat always uses a default-charset for decoding
the querystring. A call to request.setCharacterEncoding() only matters
for decoding POST-data.

Somewhere, this charset can be changed - for example to UTF-8.

Where can it be changed?
And if you know: what's the reason, that the charset is not configurable
via request.setCharacterEncoding() ?


Thanks,
  Sven


Re: charset for querystring decoding

Posted by Sven Köhler <sk...@upb.de>.
> Oh! This sounds, like it's a "bug" and like it might be fixed in tomcat
> 6, for example. Now i'm curious, and will test tomcat 6 ...

Ahh damn - i didn't read properly.

It's the old story: it's NOT a bug, it's a feature ;-)




Re: charset for querystring decoding

Posted by Sven Köhler <sk...@upb.de>.
>> From: news [mailto:news@sea.gmane.org] On Behalf Of Sven Köhler
>> Subject: charset for querystring decoding
>>
>> And if you know: what's the reason, that the charset is not 
>> configurable via request.setCharacterEncoding() ?
> 
> Might want to check out the FAQ entry on the topic:
> http://tomcat.apache.org/faq/misc.html#tomcat5CharEncoding

Oh! This sounds, like it's a "bug" and like it might be fixed in tomcat
6, for example. Now i'm curious, and will test tomcat 6 ...


RE: charset for querystring decoding

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: news [mailto:news@sea.gmane.org] On Behalf Of Sven Köhler
> Subject: charset for querystring decoding
> 
> And if you know: what's the reason, that the charset is not 
> configurable via request.setCharacterEncoding() ?

Might want to check out the FAQ entry on the topic:
http://tomcat.apache.org/faq/misc.html#tomcat5CharEncoding

 - 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