]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-149891: Add more encoding aliases (GH-149892)
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 5 Jun 2026 12:08:04 +0000 (15:08 +0300)
committerGitHub <noreply@github.com>
Fri, 5 Jun 2026 12:08:04 +0000 (12:08 +0000)
commit49f4ecfb08e6192ddc9f782553c775ccbdc2dfdb
tree9aaaae0dbd46f33b78211b7e4189db6786eb17c8
parente4db68b9c990ed1bb7562094bee2e73f4450d42b
gh-149891: Add more encoding aliases (GH-149892)

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.
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]