geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Brown <wbr...@colorfulsoftware.com>
Subject Re: JSP Charset encoding issue
Date Fri, 04 Apr 2008 19:17:47 GMT

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 <?xml
> 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.


Mime
View raw message