Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 20772 invoked from network); 4 Feb 2002 09:45:32 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 4 Feb 2002 09:45:32 -0000 Received: (qmail 10899 invoked by uid 97); 4 Feb 2002 09:45:37 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 10863 invoked by uid 97); 4 Feb 2002 09:45:36 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 10852 invoked from network); 4 Feb 2002 09:45:35 -0000 Sender: jfclere@vtxrm2.bcn.fsc.net Message-ID: <3C5E58F3.56714241@fujitsu-siemens.com> Date: Mon, 04 Feb 2002 10:48:35 +0100 From: jean-frederic clere Reply-To: jfrederic.clere@fujitsu-siemens.com X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.7 i686) X-Accept-Language: en, fr, de MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: setContentType References: <09EA654CE8D4D31199D900105A9E05CA58D2DC@ismail.momenta.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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: For additional commands, e-mail: