21 Feb
2007
21 Feb
'07
8:30 p.m.
--On 21. Februar 2007 21:27:38 +0100 Dieter Maurer <dieter@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