We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52810e5 commit e2f3984Copy full SHA for e2f3984
1 file changed
Misc/NEWS.d/next/Library/2026-06-09-12-00-00.gh-issue-150771.K7mNx2.rst
@@ -1,4 +1,4 @@
1
Fix :mod:`email` messages created with ``shift_jis`` or ``euc-jp`` charsets.
2
-:func:`email.contentmanager.set_text_content` now stores the payload using
3
-the output charset (``iso-2022-jp``) so :func:`str` on the message no longer
4
-raises :exc:`UnicodeEncodeError`.
+``set_content()`` now stores the payload using the output charset
+(``iso-2022-jp``) so printing the message no longer raises
+:exc:`UnicodeEncodeError`.
0 commit comments