[Zope] Change the encoding of a single ZPT page
Chris Withers
chris at simplistix.co.uk
Wed Aug 30 02:39:56 EDT 2006
Dieter Maurer wrote:
> The "default-zpublisher-encoding" is relevant only when
>
> 1. the request returns a unicode object
>
> and
>
> 2. the "Content-Type" response header does not specify a
> charset.
>
> Ensure that your page sets the "Content-Type" response header
> correctly.
Personally, I find returning a unicode and setting the
default-zpublisher-encoding easier and cleaner...
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
More information about the Zope
mailing list