]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-150771: Fix email serialization for shift_jis and euc-jp (GH-151120) (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 16 Jun 2026 12:18:56 +0000 (14:18 +0200)
committerGitHub <noreply@github.com>
Tue, 16 Jun 2026 12:18:56 +0000 (12:18 +0000)
commitab61101f96477df9d09ceaabe3b9219f28b1ab59
treef2ec5bb80c3c57a3e8d55ee4cca973ea601be4fe
parent488a03bd2b6ee594dfa65fbb7c1e7c60c41389c4
[3.15] gh-150771: Fix email serialization for shift_jis and euc-jp (GH-151120) (GH-151541)

Encode the payload with output_charset instead of input_charset.
(cherry picked from commit 0777a58d8012bbdd0d72654b56f9112686ae6ff0)

Co-authored-by: dev <b.chouksey27@gmail.com>
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]