[ZPT] Newbie: Questions?

Dieter Maurer dieter at handshake.de
Mon Jan 24 13:36:19 EST 2005


Martin Jennings wrote at 2005-1-24 11:24 +0100:
>When I looked at the source code for the header in the ZMI the charset is
>set to 'utf-8'.

Where did you look to?

To find out the "Content-Type" header of a page, I usually
use "wget -S ...". Some browsers tell it as well (with something
like "page properties").

>When I manually change the coding via the webbrowser (IE6) then the
>display is correct.

This would mean that your pages do not have the correct encoding.

If necessary, set it with something like
"RESPONSE.setHeader('Content-Type', 'text/html; charset=...')"
How this looks exactly depends where you make the call.

>I checked the 'header' template in /portal_skins/plone_templates and the
>default charset is 'utf-8'.

And this is what you manually set in your browser?


Your questions seem more concerned with Plone/Archetypes.
They are better on a Plone or Archetypes mailing list...

-- 
Dieter


More information about the ZPT mailing list