[Zope] UnicodeDecodeError

Chris Withers chris at simplistix.co.uk
Wed May 25 15:54:48 EDT 2005


Joern Wallstabe wrote:
> Seem Zopes ZPT system is trying to do the encoding, depending on on 
> setHeader() method.
> So if this header is set you can simply return unicode strings.

It's actually lower down in the stack... ZPublisher encodes the 
response, and has a stoopid hard coded default of 'latin-1' that it 
returns ;-)

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk



More information about the Zope mailing list