How Computers Store Text - ASCII, Unicode, UTF-8, UTF-16, and UTF-32
3-Second Blueprint (English)
- ASCII maps basic English characters to 7-bit numbers (such as 'A' = 65), whereas Unicode assigns code points across world scripts.
- UTF-16 encodes code points above 16 bits by subtracting 0x10000 and splitting bits across 110110 and 110111 surrogate headers.
- UTF-8 uses 1 to 4 bytes with leading length-prefix bits—starting with 0 for single-byte ASCII—and 10 headers on continuation bytes.
7-Bit ASCII & Code PointsUTF-32 Fixed-Width StorageUTF-16 Surrogate PairsUTF-8 Prefix & 10 HeadersBinary Encoding & Decoding
3-Sekunden-Fazit (Deutsch)
- ASCII ordnet englischen Zeichen 7-Bit-Zahlen zu (z. B. ‚A‘ = 65), während Unicode weltweiten Schriften Codepunkte zuweist.
- UTF-16 kodiert große Codepunkte durch Abzug von 0x10000 und Aufteilung auf zwei 16-Bit-Wörter mit den Headern 110110 und 110111.
- UTF-8 nutzt 1 bis 4 Bytes mit Längen-Präfixbits (0 für 1-Byte-ASCII) sowie dem Präfix 10 in jedem Folgebyte.
7-Bit-ASCII & CodepunkteUTF-32 mit fester BreiteUTF-16-SurrogatpaareUTF-8-Präfix & 10-FolgebytesBinäre Kodierung/Dekodierung
Note / Hinweis: Blueprints are AI-generated educational summaries (0% Politics · 0% Religion · 0% Brainrot) and do not constitute medical, legal, or financial advice. / KI-generierte Zusammenfassung zu Bildungszwecken – ersetzt keine medizinische, rechtliche oder finanzielle Fachberatung.