[Zope] DTML and ISO-8859-1
Dieter Maurer
dieter@handshake.de
Tue, 23 Jul 2002 23:49:57 +0200
Gilberto Gil Pereira writes:
> I'm trying to pass a variable from an text field in a DTMLFile to a py=
thon=20
> method.It works as expected, except if i insert chars with an ascii co=
de=20
> bigger than 127. For example, if i insert the string "execu=E7=E3o" (i=
hope=20
> you see it right), i get the string "execu\xe7\xe3o".
Are you sure?
The above (with the hexadecimal escapse) is the ("repr") representation=
of=20
"execu=E7=E3o". Python uses it for output. The string itself is probabl=
y
correct. Check its length, e.g.
Dieter