Try to output type(event.description) and see if it is unicode or not.

If its not then you may try to call .decode("utf-8") on it


#coding: utf-8
a = u"Юникод"
print type(a) # <type 'unicode'>
b = "Не юникод"
print type(b) # <type 'str'>
print type(b.decode("utf-8")) # <type 'unicode'>

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