On Tue, Apr 14, 2009 at 7:18 PM, Anand Chitipothu <[email protected]>wrote:

>
> 2009/4/15 [email protected] <[email protected]>:
> > there is definitely something wrong with web.input.
> > this is data received from paypal payment notification and it gives error
> on
> > web.input()
> >
> > can anyone point out how to fix this?
> [...]
> >   File "/usr/lib64/python2.5/encodings/utf_8.py", line 16, in decode
> >     return codecs.utf_8_decode(input, errors, True)
> > UnicodeDecodeError: 'utf8' codec can't decode byte 0xe9 in position 5:
> > unexpected end of data" while reading upstream,   request: "POST
> > /paypal_notify HTTP/1.0", upstream:
>
> Try web.input(_unicode=False)

why cant we make _unicode=False default, because it is causing so many
problems

--~--~---------~--~----~------------~-------~--~----~
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