[Patches] [ python-Patches-1368247 ] unicode in email.MIMEText and email/Charset.py

SourceForge.net noreply at sourceforge.net
Sun Mar 12 14:07:53 CET 2006


Patches item #1368247, was opened at 2005-11-28 09:15
Message generated for change (Settings changed) made by bwarsaw
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1368247&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Library (Lib)
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Damjan Georgievski (gdamjan)
>Assigned to: Barry A. Warsaw (bwarsaw)
Summary: unicode in email.MIMEText and email/Charset.py

Initial Comment:
This is the test case that fails in python 2.4.1:
from email.MIMEText import MIMEText
msg =
MIMEText(u'\u043a\u0438\u0440\u0438\u043b\u0438\u0446\u0430')
msg.set_charset('utf-8')
msg.as_string()

And attached is a patch to correct it.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1368247&group_id=5470


More information about the Patches mailing list