Content-Length: 307265 | pFad | https://github.com/python/cpython/pull/137460

5C [3.14] gh-58124: Avoid CP_UTF8 in UnicodeDecodeError (GH-137415) by miss-islington · Pull Request #137460 · python/cpython · GitHub
Skip to content

[3.14] gh-58124: Avoid CP_UTF8 in UnicodeDecodeError (GH-137415)#137460

Merged
vstinner merged 1 commit into
python:3.14from
miss-islington:backport-ce1b747-3.14
Oct 7, 2025
Merged

[3.14] gh-58124: Avoid CP_UTF8 in UnicodeDecodeError (GH-137415)#137460
vstinner merged 1 commit into
python:3.14from
miss-islington:backport-ce1b747-3.14

Conversation

@miss-islington

@miss-islington miss-islington commented Aug 6, 2025

Copy link
Copy Markdown
Contributor

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>

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vstinner vstinner merged commit 57c8e3e into python:3.14 Oct 7, 2025
48 checks passed
@miss-islington miss-islington deleted the backport-ce1b747-3.14 branch January 2, 2026 18:44
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









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/python/cpython/pull/137460

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy