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
5,928 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 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 | |
| 000448 | unicode/part1/U+0675 NormalizationTest.txt |
ٵ␊اٴ
|
7 B | |
| 000449 | unicode/part1/U+0676 NormalizationTest.txt |
ٶ␊وٴ
|
7 B | |
| 000450 | unicode/part1/U+0677 NormalizationTest.txt |
ٷ␊ۇٴ
|
7 B | |
| 000451 | unicode/part1/U+0678 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 | |
| 000458 | unicode/part1/U+0958 NormalizationTest.txt |
क़␊क़
|
10 B | |
| 000459 | unicode/part1/U+0959 NormalizationTest.txt |
ख़␊ख़
|
10 B | |
| 000460 | unicode/part1/U+095A NormalizationTest.txt |
ग़␊ग़
|
10 B | |
| 000461 | unicode/part1/U+095B NormalizationTest.txt |
ज़␊ज़
|
10 B | |
| 000462 | unicode/part1/U+095C NormalizationTest.txt |
ड़␊ड़
|
10 B | |
| 000463 | unicode/part1/U+095D NormalizationTest.txt |
ढ़␊ढ़
|
10 B | |
| 000464 | unicode/part1/U+095E NormalizationTest.txt |
फ़␊फ़
|
10 B | |
| 000465 | unicode/part1/U+095F NormalizationTest.txt |
य़␊य़
|
10 B | |
| 000466 | unicode/part1/U+09CB NormalizationTest.txt |
ো␊ো
|
10 B | |
| 000467 | unicode/part1/U+09CC NormalizationTest.txt |
ৌ␊ৌ
|
10 B | |
| 000468 | unicode/part1/U+09DC NormalizationTest.txt |
ড়␊ড়
|
10 B | |
| 000469 | unicode/part1/U+09DD NormalizationTest.txt |
ঢ়␊ঢ়
|
10 B | |
| 000470 | unicode/part1/U+09DF NormalizationTest.txt |
য়␊য়
|
10 B | |
| 000471 | unicode/part1/U+0A33 NormalizationTest.txt |
ਲ਼␊ਲ਼
|
10 B | |
| 000472 | unicode/part1/U+0A36 NormalizationTest.txt |
ਸ਼␊ਸ਼
|
10 B | |
| 000473 | unicode/part1/U+0A59 NormalizationTest.txt |
ਖ਼␊ਖ਼
|
10 B | |
| 000474 | unicode/part1/U+0A5A NormalizationTest.txt |
ਗ਼␊ਗ਼
|
10 B | |
| 000475 | unicode/part1/U+0A5B NormalizationTest.txt |
ਜ਼␊ਜ਼
|
10 B | |
| 000476 | unicode/part1/U+0A5E 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 | |
| 000480 | unicode/part1/U+0B5C NormalizationTest.txt |
ଡ଼␊ଡ଼
|
10 B | |
| 000481 | unicode/part1/U+0B5D 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 | |
| 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 |
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