[z3-five] unicodes and strings in Zope 2.9's ZPT with Zope 3's i18n

Chris Withers chris at simplistix.co.uk
Tue Jul 11 19:45:36 CEST 2006


Lennart Regebro wrote:
> On 7/11/06, Chris Withers <chris at simplistix.co.uk> wrote:
>> I'm surprised no-one else has bumped into this unless I'm doing
>> something stupid...
> 
> I actually only have that problem if I do the translation within
> python and then return unicode strings directly. It seems to me that
> the ZPTs handle it correctly themselves in i18n statements.  (Zope
> 2.9).

Where in the ZPT/publishing stack do the unicodes get encode to strings 
then?

Chris

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


More information about the z3-five mailing list