[Zope] Re: problem with input elements and unicode/utf-8

Andreas Jung lists at zopyx.com
Tue Feb 20 11:52:52 EST 2007



--On 19. Februar 2007 12:29:34 -0800 Jostein Leira <jleira at yahoo.com> wrote:

>
>   If it contains either of the tal-lines below I get the following error
> message:
>      <div tal:content="python:unicode('hei på deg','utf8')" />
>

I can reproduce this error. Obviously 
RestrictedPython.compile_restricted_eval() can't deal correctly with
unicode strings.

*SIGH*

A-life-w/o-unicode-could-be-a-better-life,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20070220/0296ed2f/attachment.bin


More information about the Zope mailing list