Skip to content

proposal: x/text: expose MIBenum via identifier package #47577

Closed
@rykov

Description

@rykov

I am having trouble finding a way to store and look-up a specific encoding by MIBenum. It would be much more convenient and compact to have access to the MIBenum, rather than using a string name. I would like to start a discussion about exposing MIBenum via the ID() method for Encoding by moving identifier.Interface, identifier.MIB, out of an internal package, as well as exposing FindMIB for ianaindex.Index.

MIB enum is part of the IANA standard as described here:
https://www.iana.org/assignments/character-sets/character-sets.xhtml

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions