Forward port some fixes that were in email 2.5 but for some reason didn't make
authorBarry Warsaw <barry@python.org>
Wed, 26 Jul 2006 05:54:46 +0000 (05:54 +0000)
committerBarry Warsaw <barry@python.org>
Wed, 26 Jul 2006 05:54:46 +0000 (05:54 +0000)
commitd92ae78bdbab63a68e88fb561a2bc9555d8cef6c
tree309a26b8b0749aac42b3b947db4df0cebfbe3258
parent9815f8b25238e22fc14f8305b0bb53711bbb3de6
Forward port some fixes that were in email 2.5 but for some reason didn't make
it into email 4.0.  Specifically, in Message.get_content_charset(), handle RFC
2231 headers that contain an encoding not known to Python, or a character in
the data that isn't in the charset encoding.  Also forward port the
appropriate unit tests.
Lib/email/message.py
Lib/email/test/test_email.py
Lib/email/test/test_email_renamed.py