Skip to content

Add aliases for IBM00858 and IBM01140 #149801

@serhiy-storchaka

Description

@serhiy-storchaka

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytopic-unicodetype-bugAn unexpected behavior, bug, or error

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions