Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 17469 invoked from network); 5 Apr 2008 01:05:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Apr 2008 01:05:51 -0000 Received: (qmail 80120 invoked by uid 500); 5 Apr 2008 01:05:50 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 80085 invoked by uid 500); 5 Apr 2008 01:05:50 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 80073 invoked by uid 99); 5 Apr 2008 01:05:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Apr 2008 18:05:50 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Apr 2008 01:05:07 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1JhwqN-0007XV-5a for user@geronimo.apache.org; Fri, 04 Apr 2008 18:05:19 -0700 Message-ID: <16508391.post@talk.nabble.com> Date: Fri, 4 Apr 2008 18:05:19 -0700 (PDT) From: Bill Brown To: user@geronimo.apache.org Subject: Re: JSP Charset encoding issue In-Reply-To: <5eb405c70804041223v1839f071nd6a8a45d3db5dca1@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: wbrown@colorfulsoftware.com References: <16495245.post@talk.nabble.com> <16496129.post@talk.nabble.com> <5eb405c70804041223v1839f071nd6a8a45d3db5dca1@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Greetings Jarek: I tried your recommendation and it looks like the embedded tomcat in geronimo is also giving the same ISO-8859-1 header response. Here is what I have without apache in front: Server: Apache-Coyote/1.1 Content-Type: text/html;charset=ISO-8859-1 Transfer-Encoding: chunked Date: Sat, 05 Apr 2008 01:01:49 GMT 200 OK Do you think there is some configuration I can do to the embedded tomcat running in geronimo? Thanks for looking at this. Bill. Jarek Gawor-2 wrote: > > Is your Geronimo server running behind Apache httpd server? The > "server" header looks like it's a response from Apache httpd server. > If so, what happens if you connect directly to the Geronimo server? > > Jarek > > On Fri, Apr 4, 2008 at 3:17 PM, Bill Brown > wrote: >> >> Greetings: >> >> I also want to note that I am using the latest Geronimo 2.1 release and >> have >> added starting the server with "-Dfile.encoding=UTF-8" but that doesn't >> seem >> to help. >> >> Thanks for any insight or input for this issue. >> >> Bill. >> >> >> >> >> Bill Brown wrote: >> > >> > Greetings: >> > >> > I am checking the standards compliance for some of my jsp pages that >> > render as XHTML. I have run into the issue where my jsp file is >> encoded >> > as UTF-8 (according to the eclipse editor) and it includes the > > version="1.0" encoding="UTF-8"?> at the top of the file. However >> Firefox >> > / IE6 and the validator site are reporting that the http-header for >> > encoding being sent is ISO-8859-1 and so the page breaks for that >> > validation. Here is the response header: >> > >> > Date: Fri, 04 Apr 2008 18:43:47 GMT >> > Server: Apache/2.2.4 (Ubuntu) DAV/2 SVN/1.4.4 mod_jk/1.2.23 >> mod_ssl/2.2.4 >> > OpenSSL/0.9.8e >> > Vary: Accept-Encoding >> > Content-Encoding: gzip >> > Content-Type: text/html;charset=ISO-8859-1 >> > Via: 1.1 127.0.0.1 >> > Keep-Alive: timeout=15, max=100 >> > Connection: Keep-Alive >> > Transfer-Encoding: chunked >> > >> > Is there a setting somewhere in geronimo I can use to set the >> Content-Type >> > header to UTF-8 ? >> > >> > Thanks for your feedback. >> > Bill. >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/JSP-Charset-encoding-issue-tp16495245s134p16496129.html >> >> >> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/JSP-Charset-encoding-issue-tp16495245s134p16508391.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.