diff options
author | R. David Murray <rdmurray@bitdance.com> | 2011-01-07 23:25:30 (GMT) |
---|---|---|
committer | R. David Murray <rdmurray@bitdance.com> | 2011-01-07 23:25:30 (GMT) |
commit | 9253214fd9fe22b8b2b4ca5bb28952df8cab3e8c (patch) | |
tree | 30d925a75c0b3bd542c00d6dbd667e72178056a7 /Doc/library/email.generator.rst | |
parent | 6f0022d84af15d51ffa1606991f2b6e9e56448ed (diff) | |
download | cpython-9253214fd9fe22b8b2b4ca5bb28952df8cab3e8c.zip cpython-9253214fd9fe22b8b2b4ca5bb28952df8cab3e8c.tar.gz cpython-9253214fd9fe22b8b2b4ca5bb28952df8cab3e8c.tar.bz2 |
#10686: recode non-ASCII headers to 'unknown-8bit' instead of ?s.
This applies only when generating strings from non-RFC compliant binary
input; it makes the existing recoding behavior more consistent (ie:
now no data is lost when recoding).
Diffstat (limited to 'Doc/library/email.generator.rst')
-rw-r--r-- | Doc/library/email.generator.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/email.generator.rst b/Doc/library/email.generator.rst index 22d8b09..85b32fe 100644 --- a/Doc/library/email.generator.rst +++ b/Doc/library/email.generator.rst @@ -79,8 +79,8 @@ Here are the public methods of the :class:`Generator` class, imported from the Messages parsed with a Bytes parser that have a :mailheader:`Content-Transfer-Encoding` of 8bit will be converted to a - use a 7bit Content-Transfer-Encoding. Any other non-ASCII bytes in the - message structure will be converted to '?' characters. + use a 7bit Content-Transfer-Encoding. Non-ASCII bytes in the headers + will be :rfc:`2047` encoded with a charset of `unknown-8bit`. .. versionchanged:: 3.2 Added support for re-encoding 8bit message bodies, and the *linesep* |