mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
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.
Also, this resolves SF bug #1414018.