Skip to content

[Validator] Charset validator should have been named Encoding instead #58227

Closed as not planned
@zerkms

Description

@zerkms

Description

The two terms are not interchangeable:

  • Charset determines a collection of available glyphs (Unicode). So Charset validator would possibly check if the codepoint makes sense for the character set.
  • Encoding determines how the corresponding glyphs are encoded in bytes (utf8, utf16, etc). So the Encoding validator would verify if the bytes representation can be decoded back to a series of codepoint.

Originally defined at #53154

Example

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions