{
  "updated": "2026-10-29",
  "method": "Exact strings, without normalization, BOM, terminator or separators. Bits = encoded bytes × 8. ASCII uses its 7-bit repertoire stored in zero-padded 8-bit bytes; null means unrepresentable. UTF-16 is serialized big-endian (UTF-16BE).",
  "sources": [
    "https://www.rfc-editor.org/rfc/rfc3629",
    "https://www.unicode.org/faq/utf_bom.html"
  ],
  "rows": [
    {
      "label": "English",
      "text": "Hello",
      "codePoints": [
        "U+0048",
        "U+0065",
        "U+006C",
        "U+006C",
        "U+006F"
      ],
      "ascii": {
        "bytes": 5,
        "bits": 40
      },
      "utf8": {
        "bytes": 5,
        "bits": 40
      },
      "utf16": {
        "bytes": 10,
        "bits": 80
      }
    },
    {
      "label": "Accented",
      "text": "café",
      "codePoints": [
        "U+0063",
        "U+0061",
        "U+0066",
        "U+00E9"
      ],
      "ascii": null,
      "utf8": {
        "bytes": 5,
        "bits": 40
      },
      "utf16": {
        "bytes": 8,
        "bits": 64
      }
    },
    {
      "label": "Greek",
      "text": "Ελλάδα",
      "codePoints": [
        "U+0395",
        "U+03BB",
        "U+03BB",
        "U+03AC",
        "U+03B4",
        "U+03B1"
      ],
      "ascii": null,
      "utf8": {
        "bytes": 12,
        "bits": 96
      },
      "utf16": {
        "bytes": 12,
        "bits": 96
      }
    },
    {
      "label": "Chinese",
      "text": "中文",
      "codePoints": [
        "U+4E2D",
        "U+6587"
      ],
      "ascii": null,
      "utf8": {
        "bytes": 6,
        "bits": 48
      },
      "utf16": {
        "bytes": 4,
        "bits": 32
      }
    },
    {
      "label": "Emoji",
      "text": "😀",
      "codePoints": [
        "U+1F600"
      ],
      "ascii": null,
      "utf8": {
        "bytes": 4,
        "bits": 32
      },
      "utf16": {
        "bytes": 4,
        "bits": 32
      }
    },
    {
      "label": "Skin tone",
      "text": "👍🏽",
      "codePoints": [
        "U+1F44D",
        "U+1F3FD"
      ],
      "ascii": null,
      "utf8": {
        "bytes": 8,
        "bits": 64
      },
      "utf16": {
        "bytes": 8,
        "bits": 64
      }
    },
    {
      "label": "ZWJ family",
      "text": "👨‍👩‍👧‍👦",
      "codePoints": [
        "U+1F468",
        "U+200D",
        "U+1F469",
        "U+200D",
        "U+1F467",
        "U+200D",
        "U+1F466"
      ],
      "ascii": null,
      "utf8": {
        "bytes": 25,
        "bits": 200
      },
      "utf16": {
        "bytes": 22,
        "bits": 176
      }
    }
  ],
  "workedExample": {
    "text": "Hi!",
    "encoding": "UTF-8",
    "rows": [
      {
        "character": "H",
        "codePoint": "U+0048",
        "decimalByte": 72,
        "binary": "01001000"
      },
      {
        "character": "i",
        "codePoint": "U+0069",
        "decimalByte": 105,
        "binary": "01101001"
      },
      {
        "character": "!",
        "codePoint": "U+0021",
        "decimalByte": 33,
        "binary": "00100001"
      }
    ],
    "binary": "01001000 01101001 00100001"
  }
}
