]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-150771: Fix email serialization for shift_jis and euc-jp (GH-151120) main
authordev <b.chouksey27@gmail.com>
Tue, 16 Jun 2026 11:49:54 +0000 (17:19 +0530)
committerGitHub <noreply@github.com>
Tue, 16 Jun 2026 11:49:54 +0000 (14:49 +0300)
commit0777a58d8012bbdd0d72654b56f9112686ae6ff0
tree23ce91999f93e7292be95e2685692f5a325ed514
parent11f032f904c8019b332a3c367f335e05cde63628
gh-150771: Fix email serialization for shift_jis and euc-jp (GH-151120)

Encode the payload with output_charset instead of input_charset.
Lib/email/contentmanager.py
Lib/test/test_email/test_contentmanager.py
Misc/NEWS.d/next/Library/2026-06-09-12-00-00.gh-issue-150771.K7mNx2.rst [new file with mode: 0644]