>  File "/usr/lib/python2.4/site-packages/web/httpserver.py", line 215,
> in log
>    print >> outfile, msg.encode('utf-8')
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position
> 71: ordinal not in range(128)

Try to change the line that caused the exception in httpserver.py to
the following:

from utils import safestr
import sys
print >> outfile, safestr(msg, sys.getdefaultencoding())

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