-
-
Notifications
You must be signed in to change notification settings - Fork 34.6k
Add aliases for IBM00858 and IBM01140 #149801
Copy link
Copy link
Closed
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-unicodetype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Metadata
Metadata
Assignees
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-unicodetype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Projects
Status
Done
Bug report
It turned out that for two encodings, IBM00858 and IBM01140, we do not have aliases for their officially registered names, nor for official aliases. Instead we only have names and aliases with stripped 0s -- cp858, ibm858, cp1140, ibm1140.
We keep 0 in the name of IBM037 (aka cp037).
On Windows, different codecs are used for cp00858 and cp858, and only the latter works on Linux.
cc @malemburg
Linked PRs