tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Tye" <tt...@ticnet.com>
Subject Re: charset used for parameters decoding on HTTP request Tomcat3.x,4
Date Tue, 13 Feb 2001 02:20:18 GMT
You will still need to fix the actual parameter parsing routine to delay
applying the encoding until the name and parameter are parsed out of the
input stream...

----- Original Message -----
From: <cmanolache@yahoo.com>
To: <tomcat-dev@jakarta.apache.org>
Sent: Monday, February 12, 2001 1:14 PM
Subject: Re: charset used for parameters decoding on HTTP request
Tomcat3.x,4


> > I would like to know the policy for the request's parameters decoding in
> > Tomcat 3.x.
>
> AFAIK there are still problems in both 3.2.x and 3.3(dev). Fixing this is
> one of the highest things on my todo list, and you should expect a
> solution before 3.3 beta ( i.e. in about a month ).
>
> The solution will likely use a special module that will try to "guess" the
> encoding using the common hints ( Content-Type, Accept-Language, the
> common solution of passing a charset parameter ). It is not possible to
> use the setCharset() method from Servlet2.3 - but in most cases you'll not
> have to.

Good Idea.
BTW, Netscape navigator 4.7x seems to return the charset header value when
it is not the same as the default encoding.

Tim


Mime
View raw message