[Zope-CMF] Hot to globally set character encoding?

Maciej Żarski maciej at bmpg.pl
Mon Aug 18 16:22:53 EDT 2003


I have already tried this, but it doesn't work as expected. It seems that
the response character encoding
is already set before a template starts to render.

Maciej Zarski


----- Original Message -----
From: "Sam Brauer" <sam at webslingerz.com>
To: "Maciej Żarski" <maciej at bmpg.pl>
Cc: <zope-cmf at zope.org>
Sent: Monday, August 18, 2003 2:50 PM
Subject: Re: [Zope-CMF] Hot to globally set character encoding?


> I haven't done this myself, but I would try setting it as a meta tag in
> main_template (the template that produces the main html structure of all
> of the CMF pages).
>
> Customize the template zpt_generic/main_template
> and add the following tag to the html head.
>
> <meta http-equiv="Content-Type"
>        content="text/html;charset=utf-8" />
>
>







More information about the Zope-CMF mailing list