roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tsarfion <>
Subject Content-Type in HTTP-Header is ISO-8859-1 instead of UTF-8
Date Sun, 15 Oct 2006 18:56:19 GMT

I'm using Roller 3.0 RC3. Some pages have the charset ISO-8859-1 instead of
UTF-8 in the HTTP header. It is the case for all the pages with a *.do path
in the URL at least.

Here is a response with a wrong charset:

HTTP/1.1 200 OK
Date: Sun, 15 Oct 2006 10:04:43 GMT
Server: Apache/2.0.54 (Debian GNU/Linux) mod_jk/1.2.14 PHP/4.3.10-16
Content-Language: de-CH
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html;charset=ISO-8859-1

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html xmlns="">
<title>Front Page: New Entry</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

When I edit a text with German umlauts it does not get stored correctly in
the database and does not display correctly. When I switch the encoding to
UTF-8 manually in my browser and save a message with umlauts, it is stored
and correctly. When a view the web log entry as a guest, the charset in the
HTTP response is UTF-8.

The code in the JSPs and the configuration settings seem to set the charset

Thank you for your help.

View this message in context:
Sent from the Roller - User mailing list archive at

View raw message