Skip to content

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

Open
bhuvi27 wants to merge 1 commit into
python:3.14from
bhuvi27:backport-3.14-gh-150771
Open

[3.14] gh-150771: Fix email serialization for shift_jis and euc-jp (GH-151120)#152952
bhuvi27 wants to merge 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant