[opencms-dev] Re: Published pages are not in UTF-8
Xavier Ottolini
xavier.ottolini at adelis.com
Fri Oct 1 15:31:56 CEST 2004
There is the following settings : in
$MYWEBAPP/WEB-INF/config/opencms.properties
defaultContentEncoding=UTF-8
In /etc/profiles
I set the following environment variable :
CATALINA_OPTS="-Dfile.encoding=UTF-8"
Despite thoses settings, my HTML static page are still exported with the
charset iso-8859-1,
Has anybody any explanation ?
Thanks
--
Xavier
Développeur multimédia
Adelis
37, rue d'Engwiller
F-67350 La Walck
Téléphone : +33 (0) 3 88 72 29 10
Télécopie : +33 (0) 3 88 72 29 19
E-mail : mailto:xavier.ottolini at adelis.com
http://www.adelis.com
Xavier Ottolini a écrit :
> Hi ,
>
> I published a whole project. All the pages are encoded in UTF-8. In
> the page header, there is the following code :
> <meta http-equiv="Content-Type" content="text/html;
> charset=<cms:property name="content-encoding" default="utf-8" />">
>
> As soon as the pages are not published, the encoding is utf-8. But
> when the pages are published, the browser does not recognize the utf-8
> encoding. It uses the iso-8859-1 encoding.
>
> We use Tomcat 4.1 as J2EE server, Apache HTTPD as front server and
> OpenCMS 5.1.
>
> Is it necessary to add settings in Tomcat, Apache or OpenCms ?
>
> Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20041001/5609f89a/attachment.htm>
More information about the opencms-dev
mailing list