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 happen). -- Dieter _______________________________________________ Zope maillist - [email protected] http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
