23 Jul
2002
23 Jul
'02
9:49 p.m.
Gilberto Gil Pereira writes:
I'm trying to pass a variable from an text field in a DTMLFile to a python method.It works as expected, except if i insert chars with an ascii code bigger than 127. For example, if i insert the string "execução" (i hope 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 "execução". Python uses it for output. The string itself is probably correct. Check its length, e.g. Dieter