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

Chris Withers chrisw at nipltd.com
Wed Sep 3 14:16:27 EDT 2003


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.

Hmmm, I have a gut feeling that this isn't the corerct solution to the problem 
you're experiencing. See if you can consult some python unicode gurus on #python 
or comp.lang.python...

cheers,

Chris




More information about the Zope mailing list