Skip to content

ibm866 encoding label appears incorrect in tests #5663

@ChALkeR

Description

@ChALkeR

['866', 'ibm-866'],
['cp866', 'ibm-866'],
['csibm866', 'ibm-866'],
['ibm866', 'ibm-866'],

new TextDecoder('866').encoding should instead be ibm866, not ibm-866

See https://encoding.spec.whatwg.org/#names-and-labels (and https://encoding.spec.whatwg.org/encodings.json)

Likewise, new TextDecoder('shift-jis').encoding should be shift_jis, not shift-jis:

['csshiftjis', 'shift-jis'],
['ms932', 'shift-jis'],
['ms_kanji', 'shift-jis'],
['shift-jis', 'shift-jis'],
['shift_jis', 'shift-jis'],
['sjis', 'shift-jis'],
['windows-31j', 'shift-jis'],
['x-sjis', 'shift-jis'],

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions