gh-58124: Avoid CP_UTF8 in UnicodeDecodeError#137415
Conversation
Fix name of the Python encoding in Unicode errors of the code page codec: use "cp65000" and "cp65001" instead of "CP_UTF7" and "CP_UTF8" which are not valid Python code names.
|
I don't think that this change should be backported to stable branches (such as 3.14). |
serhiy-storchaka
left a comment
There was a problem hiding this comment.
LGTM, but please add a NEWS entry.
Why not? There was a bug. |
|
Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
Fix name of the Python encoding in Unicode errors of the code page codec: use "cp65000" and "cp65001" instead of "CP_UTF7" and "CP_UTF8" which are not valid Python code names. (cherry picked from commit ce1b747) Co-authored-by: Victor Stinner <vstinner@python.org>
Fix name of the Python encoding in Unicode errors of the code page codec: use "cp65000" and "cp65001" instead of "CP_UTF7" and "CP_UTF8" which are not valid Python code names. (cherry picked from commit ce1b747) Co-authored-by: Victor Stinner <vstinner@python.org>
|
GH-137460 is a backport of this pull request to the 3.14 branch. |
|
Ok, let me backport the changes to stable branches in this case. |
|
GH-137461 is a backport of this pull request to the 3.13 branch. |
…7461) gh-58124: Avoid CP_UTF8 in UnicodeDecodeError (GH-137415) Fix name of the Python encoding in Unicode errors of the code page codec: use "cp65000" and "cp65001" instead of "CP_UTF7" and "CP_UTF8" which are not valid Python code names. (cherry picked from commit ce1b747) Co-authored-by: Victor Stinner <vstinner@python.org>
Fix name of the Python encoding in Unicode errors of the code page codec: use "cp65000" and "cp65001" instead of "CP_UTF7" and "CP_UTF8" which are not valid Python code names.
…7460) gh-58124: Avoid CP_UTF8 in UnicodeDecodeError (GH-137415) Fix name of the Python encoding in Unicode errors of the code page codec: use "cp65000" and "cp65001" instead of "CP_UTF7" and "CP_UTF8" which are not valid Python code names. (cherry picked from commit ce1b747) Co-authored-by: Victor Stinner <vstinner@python.org>
Fix name of the Python encoding in Unicode errors of the code page codec: use "cp65000" and "cp65001" instead of "CP_UTF7" and "CP_UTF8" which are not valid Python code names.