Compliance cases
These are the 11,911 inputs a submission must normalize. Each output must match the expected text byte for byte. You can run the suite without reading it, or open any case to see its input and expected output.
NFC as UAX #15 defines it, pinned to Unicode 17.0.0: canonical decomposition, canonical ordering of combining marks, then canonical composition, with Hangul by arithmetic. The decomposition, combining class and composition tables are what make the Wasm big, so size is ranked on the gzipped download. The compliance suite has every line of NormalizationTest.txt, every other assigned code point, every quick-check Maybe and No character in context, targeted cases on exclusions, blocking, Hangul, long runs of marks and 16-byte boundaries, and seeded random text. A UAX #15 reference, ICU and Python agree on every answer.
Run the full compliance suite locally. Replace your-component.wasm
with your compiled component.
Download the suite
curl -fLo normalize_nfc.comply.wasm https://calculated.world/comply/normalize_nfc.wasm
npx qipok your-component.wasm --suite normalize_nfc.comply.wasm
All 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 000600 | unicode/part1/U+1D9E NormalizationTest.txt |
ᶞ␊ð
|
6 B | |
| 000601 | unicode/part1/U+1D9F NormalizationTest.txt |
ᶟ␊ɜ
|
6 B | |
| 000602 | unicode/part1/U+1DA0 NormalizationTest.txt |
ᶠ␊f
|
5 B | |
| 000603 | unicode/part1/U+1DA1 NormalizationTest.txt |
ᶡ␊ɟ
|
6 B | |
| 000604 | unicode/part1/U+1DA2 NormalizationTest.txt |
ᶢ␊ɡ
|
6 B | |
| 000605 | unicode/part1/U+1DA3 NormalizationTest.txt |
ᶣ␊ɥ
|
6 B | |
| 000606 | unicode/part1/U+1DA4 NormalizationTest.txt |
ᶤ␊ɨ
|
6 B | |
| 000607 | unicode/part1/U+1DA5 NormalizationTest.txt |
ᶥ␊ɩ
|
6 B | |
| 000608 | unicode/part1/U+1DA6 NormalizationTest.txt |
ᶦ␊ɪ
|
6 B | |
| 000609 | unicode/part1/U+1DA7 NormalizationTest.txt |
ᶧ␊ᵻ
|
7 B | |
| 000610 | unicode/part1/U+1DA8 NormalizationTest.txt |
ᶨ␊ʝ
|
6 B | |
| 000611 | unicode/part1/U+1DA9 NormalizationTest.txt |
ᶩ␊ɭ
|
6 B | |
| 000612 | unicode/part1/U+1DAA NormalizationTest.txt |
ᶪ␊ᶅ
|
7 B | |
| 000613 | unicode/part1/U+1DAB NormalizationTest.txt |
ᶫ␊ʟ
|
6 B | |
| 000614 | unicode/part1/U+1DAC NormalizationTest.txt |
ᶬ␊ɱ
|
6 B | |
| 000615 | unicode/part1/U+1DAD NormalizationTest.txt |
ᶭ␊ɰ
|
6 B | |
| 000616 | unicode/part1/U+1DAE NormalizationTest.txt |
ᶮ␊ɲ
|
6 B | |
| 000617 | unicode/part1/U+1DAF NormalizationTest.txt |
ᶯ␊ɳ
|
6 B | |
| 000618 | unicode/part1/U+1DB0 NormalizationTest.txt |
ᶰ␊ɴ
|
6 B | |
| 000619 | unicode/part1/U+1DB1 NormalizationTest.txt |
ᶱ␊ɵ
|
6 B | |
| 000620 | unicode/part1/U+1DB2 NormalizationTest.txt |
ᶲ␊ɸ
|
6 B | |
| 000621 | unicode/part1/U+1DB3 NormalizationTest.txt |
ᶳ␊ʂ
|
6 B | |
| 000622 | unicode/part1/U+1DB4 NormalizationTest.txt |
ᶴ␊ʃ
|
6 B | |
| 000623 | unicode/part1/U+1DB5 NormalizationTest.txt |
ᶵ␊ƫ
|
6 B | |
| 000624 | unicode/part1/U+1DB6 NormalizationTest.txt |
ᶶ␊ʉ
|
6 B | |
| 000625 | unicode/part1/U+1DB7 NormalizationTest.txt |
ᶷ␊ʊ
|
6 B | |
| 000626 | unicode/part1/U+1DB8 NormalizationTest.txt |
ᶸ␊ᴜ
|
7 B | |
| 000627 | unicode/part1/U+1DB9 NormalizationTest.txt |
ᶹ␊ʋ
|
6 B | |
| 000628 | unicode/part1/U+1DBA NormalizationTest.txt |
ᶺ␊ʌ
|
6 B | |
| 000629 | unicode/part1/U+1DBB NormalizationTest.txt |
ᶻ␊z
|
5 B | |
| 000630 | unicode/part1/U+1DBC NormalizationTest.txt |
ᶼ␊ʐ
|
6 B | |
| 000631 | unicode/part1/U+1DBD NormalizationTest.txt |
ᶽ␊ʑ
|
6 B | |
| 000632 | unicode/part1/U+1DBE NormalizationTest.txt |
ᶾ␊ʒ
|
6 B | |
| 000633 | unicode/part1/U+1DBF NormalizationTest.txt |
ᶿ␊θ
|
6 B | |
| 000634 | unicode/part1/U+1E00 NormalizationTest.txt |
Ḁ␊Ḁ
|
7 B | |
| 000635 | unicode/part1/U+1E01 NormalizationTest.txt |
ḁ␊ḁ
|
7 B | |
| 000636 | unicode/part1/U+1E02 NormalizationTest.txt |
Ḃ␊Ḃ
|
7 B | |
| 000637 | unicode/part1/U+1E03 NormalizationTest.txt |
ḃ␊ḃ
|
7 B | |
| 000638 | unicode/part1/U+1E04 NormalizationTest.txt |
Ḅ␊Ḅ
|
7 B | |
| 000639 | unicode/part1/U+1E05 NormalizationTest.txt |
ḅ␊ḅ
|
7 B | |
| 000640 | unicode/part1/U+1E06 NormalizationTest.txt |
Ḇ␊Ḇ
|
7 B | |
| 000641 | unicode/part1/U+1E07 NormalizationTest.txt |
ḇ␊ḇ
|
7 B | |
| 000642 | unicode/part1/U+1E08 NormalizationTest.txt |
Ḉ␊Ḉ
|
9 B | |
| 000643 | unicode/part1/U+1E09 NormalizationTest.txt |
ḉ␊ḉ
|
9 B | |
| 000644 | unicode/part1/U+1E0B NormalizationTest.txt |
ḋ␊ḋ
|
7 B | |
| 000645 | unicode/part1/U+1E0D NormalizationTest.txt |
ḍ␊ḍ
|
7 B | |
| 000646 | unicode/part1/U+1E0E NormalizationTest.txt |
Ḏ␊Ḏ
|
7 B | |
| 000647 | unicode/part1/U+1E0F NormalizationTest.txt |
ḏ␊ḏ
|
7 B | |
| 000648 | unicode/part1/U+1E10 NormalizationTest.txt |
Ḑ␊Ḑ
|
7 B | |
| 000649 | unicode/part1/U+1E11 NormalizationTest.txt |
ḑ␊ḑ
|
7 B |
Where these rules come from
NFC is defined by UAX #15, Unicode Normalization Forms,
and chapter 3.11 of the Unicode Standard, here pinned to Unicode 17.0.0.
Every answer is agreed by a direct reading of UAX #15 over the pinned data files,
ICU
78.3 and Python’s unicodedata.normalize; the suite’s own tests
add Node.js’s String.prototype.normalize.
Combining marks merge into the character before them, so each case also lists its
code points.
- NormalizationTest.txt — Unicode’s conformance test, the source of the 8,868 unicode cases; each case is one line, its distinct columns on separate lines
- The Unicode Character Database — combining classes, decompositions and composition exclusions, the source of the 157 ucd cases