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

Gilles Lenfant gilles at pilotsystems.net
Fri Aug 29 17:38:06 EDT 2003


----- Original Message -----
From: "Chris Withers" <chrisw at nipltd.com>
To: "Gilles Lenfant" <gilles at pilotsystems.net>
Cc: <zope at zope.org>
Sent: Friday, August 29, 2003 3:59 PM
Subject: Re: [Zope] Charset HTTP header switched to UTF-8. Bug or feature ?


> Gilles Lenfant wrote:
> >>>>import sys
> >>>>sys.getdefaultencoding()
> >
> > iso-8859-1
>
> Shouldn't that be ASCII?

No, I changed it cause there are lots of  "UnicodeError: char not in
range(128)" if I stay ASCII with some products. That's OK now.
But this has - apparently - no connection with the problem I stated.

>
> > And my system locales are set to that charset too.
> > If it's a feature, is there some place where we can stand what charset
> > should be used for publishing objects behind such or such folder.
> > After further tests, I noticed this on DTML as well as ZPT templates.
>
> Like i said, you'd have to ask someone who knows. Submitting a collector
issue
> is about the best I can offer, sorry :-S

You're right, gonna do this.

Cheers

--Gilles





More information about the Zope mailing list