Shouldn't this be used:

from email.Header import Header
str(Header(unicode(sender_name), header_charset))

as described in http://mg.pov.lt/blog/unicode-emails-in-python.html ?

Domas



--
Archive: 
http://www.openplans.org/projects/listen/lists/listen-dev/archive/2009/05/1241676196942
To unsubscribe send an email with subject "unsubscribe" to 
[email protected].  Please contact 
[email protected] for questions.

Reply via email to