Hi,

had some trouble with uploading files:

Due to

  defaults.setdefault('_unicode', True) # force unicode conversion by
default.

in webapi.py L222 web.py raised exceptions when binary files where
uploaded.
(UnicodeDecodeError: 'utf8' codec can't decode byte 0xe4 in position
0: unexpected end of data).

What's the reason for forcing unicode at this point? Did I miss
something?

The only solution was to disable the line mentioned above.

Cheers, Martin

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