What Is Unicode?
Unicode is the international standard used to represent text consistently across computers, phones, websites, programming languages and operating systems.
Practical references for Unicode, encodings, normalization, escaping, and text diagnostics.
Unicode is the international standard used to represent text consistently across computers, phones, websites, programming languages and operating systems.
Unicode defines characters and code points. UTF-8 encodes those code points as bytes for files, databases, web pages, APIs and network messages.
Compare UTF-8 and UTF-16 with byte examples, surrogate pairs, byte order, BOM behavior and practical guidance for developers.
Learn what Unicode code points are, how U+ notation works, and how code points differ from glyphs, bytes, code units and visible characters.
Understand Unicode code points, UTF-8 bytes, UTF-16 code units, surrogate pairs, grapheme clusters and why string length can mislead.
Learn how grapheme clusters represent user-perceived characters, why emoji and combining marks affect length, and how to handle text safely.
Learn NFC, NFD, NFKC and NFKD, canonical and compatibility equivalence, and safe normalization for comparison, search and identifiers.
Compare NFC and NFD Unicode normalization with composed and decomposed examples, byte counts, equality checks and developer guidance.
Learn why text becomes garbled, how UTF-8 bytes turn into mojibake such as café and It’s, and how to repair it safely.
A safe workflow for diagnosing broken UTF-8, validating bytes, reversing mojibake, handling double encoding and auditing repairs.
Learn how zero-width spaces, joiners, non-breaking spaces, bidi controls and other invisible Unicode characters affect text.
A safe workflow for detecting, previewing and removing unwanted zero-width Unicode characters without breaking emoji or language text.
Learn how Unicode escape syntax works across JavaScript, JSON, Python, PHP, Java, HTML, CSS and URLs.
Compare literal Unicode characters, named HTML entities, numeric character references, code points and UTF-8 bytes.
Choose the right Unicode length unit for UI limits, storage limits, APIs, JavaScript, Python and PHP.