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? cheers, Chris
----- Original Message ----- From: "Chris Withers" <chrisw@nipltd.com> To: "Gilles Lenfant" <gilles@pilotsystems.net> Cc: "Maik Jablonski" <maik.jablonski@uni-bielefeld.de>; <zope@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
Gilles Lenfant wrote:
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".
Indeed. this may be a problem, but I know little abotu how unicode is supposed to work in Zope... I'll no doubt find otu soon enough though ;-) Chris
participants (2)
-
Chris Withers -
Gilles Lenfant