I have an extremely simple web.py script which has a form which takes
data and spits it back out:

When I post something like this:

Jardin Botanico

It spits it back out fine. But with text with unicode characters:

Praça Antônio Barbosa Ferraz Júnior

I get:

<type 'exceptions.UnicodeDecodeError'> at /myapp
'utf8' codec can't decode bytes in position 3-5: invalid data


I use web.input().data to access the form input. Should I be using
something else?

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to