[Zope-dev] Should PageTemplate._text be a unicode or an encoded string in Zope 2.9.3?

Chris Withers chris at simplistix.co.uk
Mon Jul 17 11:55:42 EDT 2006


Andreas Jung wrote:
> 
>> I've had problems when it's an encoded string, but that seems to be what
>> is stored when you save a ZPT via the ZMI or WebDAV...
>>
> ZPT in pre-Zope 2.10 knows nothing about unicode...it can be anything :-)

And what about 2.10?

FWIW, this seems to be problematic due to Zope 3's i18n stuff returning 
unicodes.

Prior to that, everything was a happy utf-8 encoded string.

What does Zope 2.10 do with all of this?

cheers,

Chris

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


More information about the Zope-Dev mailing list