Skip to content

[3.14] gh-150771: Fix email serialization for shift_jis and euc-jp (GH-151120) - #152952

Merged
terryjreedy merged 1 commit into
python:3.14from
bhuvi27:backport-3.14-gh-150771
Sep 8, 2026
Merged

[3.14] gh-150771: Fix email serialization for shift_jis and euc-jp (GH-151120)#152952
terryjreedy merged 1 commit into
python:3.14from
bhuvi27:backport-3.14-gh-150771

Conversation

@bhuvi27

@bhuvi27 bhuvi27 commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Manual backport of #151120 to 3.14 (miss-islington couldn't cherry-pick cleanly).

Encode the payload with output_charset instead of input_charset in set_text_content().

The test_set_text_charset_cp949 test from the main-branch fix is omitted because it depends on gh-53144 (charset support improvements), which is not on 3.14.

…-jp (pythonGH-151120)

Encode the payload with output_charset instead of input_charset.
(cherry picked from commit 0777a58)
@bhuvi27
bhuvi27 requested a review from a team as a code owner July 3, 2026 11:34
@terryjreedy
terryjreedy merged commit 665ceff into python:3.14 Sep 8, 2026
49 of 52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants