Also, have a look at this slidedeck: http://farmdev.com/talks/unicode/

It's from a PyCon 2008 talk, "Unicode In Python, Completely Demystified" A 
video of the talk is at http://www.youtube.com/watch?v=cecJ9o5GGmw, but the 
audio's miserable, and the slides are pretty good, so it may be all you 
need to get your head around what's going on.

Also, in your code example, the error says Unicode*Encode*Error, *not*Decode, 
so try 
val.*encode*('utf-8')(not val.*decode*('utf-8')).

— John

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/DgoBL-3OoD4J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to