<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
There is the following settings : in
<pre>$MYWEBAPP/WEB-INF/config/opencms.properties
defaultContentEncoding=UTF-8
In /etc/profiles
I set the following environment variable :
CATALINA_OPTS="-Dfile.encoding=UTF-8"
</pre>
Despite thoses settings, my HTML static page are still exported with
the charset iso-8859-1, <br>
<br>
Has anybody any explanation ?<br>
<br>
Thanks<br>
<br>
<pre class="moz-signature" cols="72">--
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 : <a class="moz-txt-link-freetext"
href="mailto:xavier.ottolini@adelis.com">mailto:xavier.ottolini@adelis.com</a>
<a class="moz-txt-link-freetext" href="http://www.adelis.com">http://www.adelis.com</a>
</pre>
<br>
Xavier Ottolini a écrit :<br>
<blockquote cite="mid415D1FE1.5050408@adelis.com" type="cite">Hi , <br>
<br>
I published a whole project. All the pages are encoded in UTF-8. In the
page header, there is the following code : <br>
<meta http-equiv="Content-Type" content="text/html;
charset=<cms:property name="content-encoding" default="utf-8"
/>"> <br>
<br>
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. <br>
<br>
We use Tomcat 4.1 as J2EE server, Apache HTTPD as front server and
OpenCMS 5.1. <br>
<br>
Is it necessary to add settings in Tomcat, Apache or OpenCms ? <br>
<br>
Thanks </blockquote>
<pre class="moz-signature" cols="72"><a class="moz-txt-link-freetext"
href="http://www.adelis.com"></a>
</pre>
</body>
</html>