You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 073ed7d
Browse filesBrowse the repository at this point in the historyBrowse files
gh-85014: Fix the description of email.utils.encode_rfc2231()
The docstring and the documentation said that the string "is returned
as-is" when neither charset nor language is given. The function always
percent-encodes the string, as RFC 2231 requires for characters such as
the space. Without charset and language it only leaves out the
charset'language' prefix.
The behavior is correct and is not changed.
0 commit comments