>  for r in res:
>    print r.first_name

This is actually not a web.py bug. web.py is correctly returning the
Unicode values, it's just that Python doesn't think your screen can
support them and crashes.

One thing you can try is to add a file sitecustomize.py in your
site-packages directory that reads:

import sys
sys.setdefaultencoding('utf-8')

I've asked Guido to try to fix this by default but I suspect it won't
be done until Python 3000.

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