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 |
|---|---|---|---|---|
| 000417 | unicode/part1/U+04DB NormalizationTest.txt |
ӛ␊ӛ
|
7 B | |
| 000418 | unicode/part1/U+04DC NormalizationTest.txt |
Ӝ␊Ӝ
|
7 B | |
| 000419 | unicode/part1/U+04DD NormalizationTest.txt |
ӝ␊ӝ
|
7 B | |
| 000420 | unicode/part1/U+04DE NormalizationTest.txt |
Ӟ␊Ӟ
|
7 B | |
| 000421 | unicode/part1/U+04DF NormalizationTest.txt |
ӟ␊ӟ
|
7 B | |
| 000422 | unicode/part1/U+04E2 NormalizationTest.txt |
Ӣ␊Ӣ
|
7 B | |
| 000423 | unicode/part1/U+04E3 NormalizationTest.txt |
ӣ␊ӣ
|
7 B | |
| 000424 | unicode/part1/U+04E4 NormalizationTest.txt |
Ӥ␊Ӥ
|
7 B | |
| 000425 | unicode/part1/U+04E5 NormalizationTest.txt |
ӥ␊ӥ
|
7 B | |
| 000426 | unicode/part1/U+04E6 NormalizationTest.txt |
Ӧ␊Ӧ
|
7 B | |
| 000427 | unicode/part1/U+04E7 NormalizationTest.txt |
ӧ␊ӧ
|
7 B | |
| 000428 | unicode/part1/U+04EA NormalizationTest.txt |
Ӫ␊Ӫ
|
7 B | |
| 000429 | unicode/part1/U+04EB NormalizationTest.txt |
ӫ␊ӫ
|
7 B | |
| 000430 | unicode/part1/U+04EC NormalizationTest.txt |
Ӭ␊Ӭ
|
7 B | |
| 000431 | unicode/part1/U+04ED NormalizationTest.txt |
ӭ␊ӭ
|
7 B | |
| 000432 | unicode/part1/U+04EE NormalizationTest.txt |
Ӯ␊Ӯ
|
7 B | |
| 000433 | unicode/part1/U+04EF NormalizationTest.txt |
ӯ␊ӯ
|
7 B | |
| 000434 | unicode/part1/U+04F0 NormalizationTest.txt |
Ӱ␊Ӱ
|
7 B | |
| 000435 | unicode/part1/U+04F1 NormalizationTest.txt |
ӱ␊ӱ
|
7 B | |
| 000436 | unicode/part1/U+04F2 NormalizationTest.txt |
Ӳ␊Ӳ
|
7 B | |
| 000437 | unicode/part1/U+04F3 NormalizationTest.txt |
ӳ␊ӳ
|
7 B | |
| 000438 | unicode/part1/U+04F4 NormalizationTest.txt |
Ӵ␊Ӵ
|
7 B | |
| 000439 | unicode/part1/U+04F5 NormalizationTest.txt |
ӵ␊ӵ
|
7 B | |
| 000440 | unicode/part1/U+04F8 NormalizationTest.txt |
Ӹ␊Ӹ
|
7 B | |
| 000441 | unicode/part1/U+04F9 NormalizationTest.txt |
ӹ␊ӹ
|
7 B | |
| 000443 | unicode/part1/U+0622 NormalizationTest.txt |
آ␊آ
|
7 B | |
| 000444 | unicode/part1/U+0623 NormalizationTest.txt |
أ␊أ
|
7 B | |
| 000445 | unicode/part1/U+0624 NormalizationTest.txt |
ؤ␊ؤ
|
7 B | |
| 000446 | unicode/part1/U+0625 NormalizationTest.txt |
إ␊إ
|
7 B | |
| 000447 | unicode/part1/U+0626 NormalizationTest.txt |
ئ␊ئ
|
7 B | |
| 000452 | unicode/part1/U+06C0 NormalizationTest.txt |
ۀ␊ۀ
|
7 B | |
| 000453 | unicode/part1/U+06C2 NormalizationTest.txt |
ۂ␊ۂ
|
7 B | |
| 000454 | unicode/part1/U+06D3 NormalizationTest.txt |
ۓ␊ۓ
|
7 B | |
| 000455 | unicode/part1/U+0929 NormalizationTest.txt |
ऩ␊ऩ
|
10 B | |
| 000456 | unicode/part1/U+0931 NormalizationTest.txt |
ऱ␊ऱ
|
10 B | |
| 000457 | unicode/part1/U+0934 NormalizationTest.txt |
ऴ␊ऴ
|
10 B | |
| 000466 | unicode/part1/U+09CB NormalizationTest.txt |
ো␊ো
|
10 B | |
| 000467 | unicode/part1/U+09CC NormalizationTest.txt |
ৌ␊ৌ
|
10 B | |
| 000477 | unicode/part1/U+0B48 NormalizationTest.txt |
ୈ␊ୈ
|
10 B | |
| 000478 | unicode/part1/U+0B4B NormalizationTest.txt |
ୋ␊ୋ
|
10 B | |
| 000479 | unicode/part1/U+0B4C NormalizationTest.txt |
ୌ␊ୌ
|
10 B | |
| 000482 | unicode/part1/U+0B94 NormalizationTest.txt |
ஔ␊ஔ
|
10 B | |
| 000483 | unicode/part1/U+0BCA NormalizationTest.txt |
ொ␊ொ
|
10 B | |
| 000484 | unicode/part1/U+0BCB NormalizationTest.txt |
ோ␊ோ
|
10 B | |
| 000485 | unicode/part1/U+0BCC NormalizationTest.txt |
ௌ␊ௌ
|
10 B | |
| 000486 | unicode/part1/U+0C48 NormalizationTest.txt |
ై␊ై
|
10 B | |
| 000487 | unicode/part1/U+0CC0 NormalizationTest.txt |
ೀ␊ೀ
|
10 B | |
| 000488 | unicode/part1/U+0CC7 NormalizationTest.txt |
ೇ␊ೇ
|
10 B | |
| 000489 | unicode/part1/U+0CC8 NormalizationTest.txt |
ೈ␊ೈ
|
10 B | |
| 000490 | unicode/part1/U+0CCA NormalizationTest.txt |
ೊ␊ೊ
|
10 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