]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43323: Fix UnicodeEncodeError in the email module (GH-32137)
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 30 Apr 2022 10:17:23 +0000 (13:17 +0300)
committerGitHub <noreply@github.com>
Sat, 30 Apr 2022 10:17:23 +0000 (13:17 +0300)
commite91dee87edcf6dee5dd78053004d76e5f05456d4
tree39267dc065a5ce04396423837df258e7c808056b
parent3483299a24e41a7f2e958369cb3573d7c2253e33
bpo-43323: Fix UnicodeEncodeError in the email module (GH-32137)

It was raised if the charset itself contains characters not encodable
in UTF-8 (in particular \udcxx characters representing non-decodable
bytes in the source).
Lib/email/_encoded_words.py
Lib/email/_header_value_parser.py
Lib/test/test_email/test__encoded_words.py
Lib/test/test_email/test_email.py
Lib/test/test_email/test_headerregistry.py
Misc/NEWS.d/next/Library/2022-03-27-12-40-16.bpo-43323.9mFPuI.rst [new file with mode: 0644]