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
956 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 000491 | unicode/part1/U+0CCB NormalizationTest.txt |
ೋ␊ೋ
|
13 B | |
| 000492 | unicode/part1/U+0D4A NormalizationTest.txt |
ൊ␊ൊ
|
10 B | |
| 000493 | unicode/part1/U+0D4B NormalizationTest.txt |
ോ␊ോ
|
10 B | |
| 000494 | unicode/part1/U+0D4C NormalizationTest.txt |
ൌ␊ൌ
|
10 B | |
| 000495 | unicode/part1/U+0DDA NormalizationTest.txt |
ේ␊ේ
|
10 B | |
| 000496 | unicode/part1/U+0DDC NormalizationTest.txt |
ො␊ො
|
10 B | |
| 000497 | unicode/part1/U+0DDD NormalizationTest.txt |
ෝ␊ෝ
|
13 B | |
| 000498 | unicode/part1/U+0DDE NormalizationTest.txt |
ෞ␊ෞ
|
10 B | |
| 000523 | unicode/part1/U+1026 NormalizationTest.txt |
ဦ␊ဦ
|
10 B | |
| 000525 | unicode/part1/U+1B06 NormalizationTest.txt |
ᬆ␊ᬆ
|
10 B | |
| 000526 | unicode/part1/U+1B08 NormalizationTest.txt |
ᬈ␊ᬈ
|
10 B | |
| 000527 | unicode/part1/U+1B0A NormalizationTest.txt |
ᬊ␊ᬊ
|
10 B | |
| 000528 | unicode/part1/U+1B0C NormalizationTest.txt |
ᬌ␊ᬌ
|
10 B | |
| 000529 | unicode/part1/U+1B0E NormalizationTest.txt |
ᬎ␊ᬎ
|
10 B | |
| 000530 | unicode/part1/U+1B12 NormalizationTest.txt |
ᬒ␊ᬒ
|
10 B | |
| 000531 | unicode/part1/U+1B3B NormalizationTest.txt |
ᬻ␊ᬻ
|
10 B | |
| 000532 | unicode/part1/U+1B3D NormalizationTest.txt |
ᬽ␊ᬽ
|
10 B | |
| 000533 | unicode/part1/U+1B40 NormalizationTest.txt |
ᭀ␊ᭀ
|
10 B | |
| 000534 | unicode/part1/U+1B41 NormalizationTest.txt |
ᭁ␊ᭁ
|
10 B | |
| 000535 | unicode/part1/U+1B43 NormalizationTest.txt |
ᭃ␊ᭃ
|
10 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 | |
| 000650 | unicode/part1/U+1E12 NormalizationTest.txt |
Ḓ␊Ḓ
|
7 B | |
| 000651 | unicode/part1/U+1E13 NormalizationTest.txt |
ḓ␊ḓ
|
7 B | |
| 000652 | unicode/part1/U+1E15 NormalizationTest.txt |
ḕ␊ḕ
|
9 B | |
| 000653 | unicode/part1/U+1E16 NormalizationTest.txt |
Ḗ␊Ḗ
|
9 B | |
| 000654 | unicode/part1/U+1E17 NormalizationTest.txt |
ḗ␊ḗ
|
9 B | |
| 000655 | unicode/part1/U+1E18 NormalizationTest.txt |
Ḙ␊Ḙ
|
7 B | |
| 000656 | unicode/part1/U+1E19 NormalizationTest.txt |
ḙ␊ḙ
|
7 B | |
| 000657 | unicode/part1/U+1E1A NormalizationTest.txt |
Ḛ␊Ḛ
|
7 B | |
| 000658 | unicode/part1/U+1E1B NormalizationTest.txt |
ḛ␊ḛ
|
7 B | |
| 000659 | unicode/part1/U+1E1C NormalizationTest.txt |
Ḝ␊Ḝ
|
9 B | |
| 000660 | unicode/part1/U+1E1D NormalizationTest.txt |
ḝ␊ḝ
|
9 B | |
| 000661 | unicode/part1/U+1E1E NormalizationTest.txt |
Ḟ␊Ḟ
|
7 B | |
| 000662 | unicode/part1/U+1E1F NormalizationTest.txt |
ḟ␊ḟ
|
7 B | |
| 000663 | unicode/part1/U+1E20 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