Skip to content

Latest commit

 

History

History
4 lines (4 loc) · 282 Bytes

2024-02-29-17-06-54.gh-issue-76511.WqjRLP.rst

File metadata and controls

4 lines (4 loc) · 282 Bytes

Fix UnicodeEncodeError in :meth:`email.Message.as_string` that results when a message that claims to be in the ascii character set actually has non-ascii characters. Non-ascii characters are now replaced with the U+FFFD replacement character, like in the replace error handler.