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

Andreas Jung lists at zopyx.com
Wed Feb 21 15:30:29 EST 2007



--On 21. Februar 2007 21:27:38 +0100 Dieter Maurer <dieter at handshake.de> 
wrote:

> Andreas Jung wrote at 2007-2-20 17:52 +0100:
>> ...
>> I can reproduce this error. Obviously
>> RestrictedPython.compile_restricted_eval() can't deal correctly with
>> unicode strings.
>
> Newer Python versions need to know the encoding of the source.
>
> In standard Python scripts, a coding comment in the form "# -*- coding
> ..." is used.
>

This has absolutely nothing to do with the problem.

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/20070221/5b2f5706/attachment.bin


More information about the Zope mailing list