]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-149891: Add more encoding aliases (GH-149892) (GH-150961)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 5 Jun 2026 12:45:22 +0000 (14:45 +0200)
committerGitHub <noreply@github.com>
Fri, 5 Jun 2026 12:45:22 +0000 (15:45 +0300)
commite8384cf1a0349871a7ec1d857b8e3c7037d727e9
treef37fa77f79d7997efa3e4076a0b487642b3d3c3a
parent85e75a73d4f8e3cf28db97fe15ffdf28eb1f5641
[3.15] gh-149891: Add more encoding aliases (GH-149892) (GH-150961)

Support all aliases officially registered in IANA, except
Extended_UNIX_Code_Packed_Format_for_Japanese.

New names:
KSC_5601, KS_C_5601-1989, iso-ir-149, GB_2312-80, windows-936, mac,
CCSID00858, CCSID01140, and a number of "cs"-prefixed names.

Fix csHPRoman8, which was not normalized.
(cherry picked from commit 49f4ecfb08e6192ddc9f782553c775ccbdc2dfdb)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/encodings/aliases.py
Misc/NEWS.d/next/Library/2026-05-15-19-52-41.gh-issue-149891.BJUIGB.rst [new file with mode: 0644]