[Zope] default-zpublisher-encoding and zpt encoding

Andreas Jung lists at zopyx.com
Wed Apr 2 10:16:38 EDT 2008



--On 2. April 2008 15:59:58 +0200 Yuri <yurj at alfa.it> wrote:

> default-zpublisher-encoding in zope.conf seems not to work in zope 2.7.9,
> the server response don't set any charset.
>
> While:
>  <head tal:define="dummy
> python:request.RESPONSE.setHeader('Content-Type','text/html;;
> charset=ISO-8859-1')">
>
> works, and the characters are displayed ok. But I cannot modify all the
> templates around and I'm looking for a general solution.
>
> The problem is to replicate a 2.6 Zope (run with -L it_IT) with 2.7.9.
>
> Zope 2.6 returns:
>
>  Content-Type: text/html; charset=iso-8859-1
>
> while Zope 2.7.9 returns:
>
>  Content-Type: text/html
>
> Here the zope.conf part (default-zpublisher-encoding is ok,
> default_zpublisher_encoding don't exists in zopeschema.xml):
>

Zope 2.6 and Zope 2.7 are a absolutely out-of-date.

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20080402/25bf94e8/attachment.bin


More information about the Zope mailing list