Fix really weird encoding issue with Python 2.6

- Legacy-Id: 5150
This commit is contained in:
Ole Laursen 2012-12-21 11:46:42 +00:00
parent 819e80f033
commit f22b14a8a4
2 changed files with 2 additions and 1 deletions

View file

@ -201,7 +201,7 @@ def update_history_with_changes(changes, send_email=True):
def parse_review_email(text):
msg = email.message_from_string(text)
msg = email.message_from_string(text.encode("utf-8"))
# doc
doc_name = ""

View file

@ -127,6 +127,7 @@ class IANASyncTestCase(django.test.TestCase):
msg = """From: "%(person)s via RT" <drafts-lastcall@iana.org>
Date: Thu, 10 May 2012 12:00:00 +0000
Subject: [IANA #12345] Last Call: <%(draft)s-%(rev)s.txt> (Long text) to Informational RFC
(BEGIN IANA LAST CALL COMMENTS)
IESG: