Why identical-looking text can be different

The same visible character can be encoded as one Unicode code point or as a base character followed by a combining mark. For example, é can be U+00E9 or the sequence U+0065 U+0301. A direct comparison sees different sequences even when the text looks identical.

café / cafe\u0301

NFC and NFKC

Unicode Standard Annex #15 defines normalization. NFC composes canonical equivalents where possible. NFKC additionally applies compatibility mappings, which can be useful for search but may change semantics. Treat normalization as a deliberate transformation, not a cosmetic fix, and record which form your system expects.

Compare before transforming

Use Compare two strings exactly to inspect raw differences and whether the strings become equal after NFC. The tool reports equality; it does not decide which representation is correct for your application.

Reproduce a synthetic incident

Original fixtures checked on 22 October 2026. No user text is included. Download all cases and independent encoding counts.

Composed and decomposed café

Raw strings differ; NFC makes these two equivalent. NFKC may also change compatibility symbols, so it is not a cosmetic universal fix.

Original text · Expected text

\u{63}\u{61}\u{66}\u{65}\u{301}

6 UTF-8 bytes · 5 UTF-16 units · 5 code points in the downloaded original. Compare the original and expected text in Compare; use Inspect to check offsets and Clean to choose a minimal transformation. The original remains in the editor.