[Zope] Re: Charset HTTP header switched to UTF-8. Bug or feature ?

Gilles Lenfant gilles at pilotsystems.net
Fri Sep 5 12:06:04 EDT 2003


----- Original Message -----
From: "Chris Withers" <chrisw at nipltd.com>
To: "Gilles Lenfant" <gilles at pilotsystems.net>
Cc: "Maik Jablonski" <maik.jablonski at uni-bielefeld.de>; <zope at zope.org>
Sent: Thursday, September 04, 2003 10:48 AM
Subject: Re: [Zope] Re: Charset HTTP header switched to UTF-8. Bug or
feature ?


> Gilles Lenfant wrote:
> > Say my Zope servers :-)
> >
> > http://yourzopeserver/any_manage_page
> >
> > Return this HTTP header...
> >
> > Content-Type: text/html;charset=iso-8859-1
>
> Did this happen before you changed the system default encoding?
>

You're right (sorry)...

I removed the sitecustomize.py and there's no more charset declaration in
the HTTP Content-Type header.
But my original question is still "Why does Zope encode the response with
utf-8 charset when nothing is set programmatically ?"
IMHO, this is "stupid".

Cheers

--Gilles





More information about the Zope mailing list