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.

For PageTemplates, the template would need to provide the encoding
information in some way (though I do not know precisely how this should

Zope maillist  -
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to