hi guys
ever since web.py 0.3 there is a lot of web.py unicode errors
for example, why is an error being raised here? shouldnt safeunicode handle
this?
File "/home/mark/work/common/web/webapi.py", line 222, in input
return storify(out, *requireds, **defaults)
File "/home/mark/work/common/web/utils.py", line 141, in storify
value = getvalue(value)
File "/home/mark/work/common/web/utils.py", line 128, in getvalue
return unicodify(x.value)
File "/home/mark/work/common/web/utils.py", line 123, in unicodify
if _unicode and isinstance(s, str): return safeunicode(s)
File "/home/mark/work/common/web/utils.py", line 231, in safeunicode
return obj.decode(encoding)
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 bytes in position 4-8:
unsupported Unicode code range" while reading upstream,*
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---