Skip to content

Implement charset aliases #3

@Slamdunk

Description

@Slamdunk

The library doesn't take into account charset aliases:

if (null === self::$encodings) {
self::$encodings = array_change_key_case(
array_flip(mb_list_encodings()),
CASE_LOWER
);
}

The library should take into account:

  1. mb_encoding_aliases
  2. https://wiki.mozilla.org/I18n:Charset_Aliases

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions