tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jean-frederic clere <jfrederic.cl...@fujitsu-siemens.com>
Subject Re: setContentType
Date Mon, 04 Feb 2002 09:48:35 GMT
Will Droste wrote:
> 
> OS: W2k
> Tomcat: 4.0.1
> Java: 1.3.1
> Using Tomcat as a standalone HTTP/1.1 server.
> 
> Don't know if this is a bug or not..  I do a
> setContentType("text/xml;charset=UnicodeLittle") on the response object
> and
> the response headers are returned in UnicodeLittle not ASCII.

I have done the same with response.setContentType("text/xml;charset=Cp037"); all
(headers + content) are returned in EBCDIC. Sounds like a bug.

>  I only
> expected the body of the request to be UnicodeLittle not the headers and
> status line.  To make things more confusing the chunk encoding lines are
> in
> ASCII and not UnicodeLittle.  If the status line is encoding along the
> headers I expected the whole response to be encoded.
> 
> Thanks for any help in advance.
> 
> Regards,
> Will Droste

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message