{
  "id": "character_encoding",
  "kind": "datatype",
  "status": "draft",
  "name": "Character encoding (charset)",
  "doc": "Name of the character encoding of a text, as in the charset parameter of a MIME type, an HTML meta tag, an XML declaration or a file's metadata. The IANA Character Sets registry lists the names and aliases for use on the Internet: up to 40 printable US-ASCII characters, compared without regard to case, such as UTF-8, ISO-8859-1, windows-1251 and KOI8-R. Software also writes unregistered spellings (utf8, cp1251). Field names are charset, encoding and character_set.",
  "is_pii": false,
  "categories": [
    "texts",
    "software"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "examples": [
    {
      "value": "UTF-8",
      "description": "Unicode, preferred MIME name in the IANA registry",
      "valid": true
    },
    {
      "value": "windows-1251",
      "description": "Windows Cyrillic code page",
      "valid": true
    },
    {
      "value": "KOI8-R",
      "description": "Russian KOI8 encoding",
      "valid": true
    },
    {
      "value": "Shift_JIS",
      "description": "Japanese encoding",
      "valid": true
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.iana.org/assignments/character-sets/character-sets.xhtml"
    },
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Character_encoding"
    }
  ],
  "translations": {
    "ru": {
      "name": "Кодировка символов",
      "doc": "Название кодировки текста, например UTF-8, windows-1251 или KOI8-R, по реестру Character Sets IANA."
    }
  },
  "quality": {
    "score": 55,
    "missing": [
      "regexp",
      "negative example",
      "mapping (Wikidata, Schema.org, ...)",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/texts/character_encoding.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/texts/character_encoding.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/texts/character_encoding.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/character_encoding",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/character_encoding.json"
  }
}