On 2007-09-30 23:22:20 +0200, Axel Müller <[EMAIL PROTECTED]> said:

Hi all,

I have written the line '<meta http-equiv="Content-Type"
content="text/html; charset=utf-8"/>' in the header of my main
skin-file but it does'nt show up in the browser. The lines above and
below this one are displayed.

I can't find out what's wrong with my headers. Any suggestions?

Zope reads the meta-header when it reads your file to determine the file encoding. It then converts it to unicode and sends a real Content-Type header. This way it would be possible to have mixed encodings on the disk which is of course not possible in one page.

<metal:block xmlns:metal="http://xml.zope.org/namespaces/metal";
    metal:define-macro="page" >
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html xmlns="http://www.w3.org/1999/xhtml";
<head metal:define-macro="head">
<meta http-equiv="expires" content="43200"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="Revisit-after" content="10 days"/>



Christian Zagrodnick

gocept gmbh & co. kg  ·  forsterstrasse 29 · 06112 halle/saale
www.gocept.com · fon. +49 345 12298894 · fax. +49 345 12298891

Zope3-users mailing list

Reply via email to