Re: [Zope-CMF] Re: Decode for Record objects

2008-01-10 Thread Charlie Clark
Am 10.01.2008 um 13:13 schrieb Hanno Schlichting: ZPT uses Unicode internally in Zope 2.10 and newer, so you need to decode your non-unicode values before passing them into a Page Template. ... using something like CMFDefault.utils.decode() assuming it knows how to handle the particular

[Zope-CMF] Re: Decode for Record objects

2008-01-10 Thread Hanno Schlichting
Charlie Clark wrote: If I have non-ASCII data in an RDBMS that I wish to use in a CMF site or even straight ZPT's you get a UnicodeError when accessing the non-ASCII Values which you get around using the decode utility. ZPT uses Unicode internally in Zope 2.10 and newer, so you need to decode