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 |
|---|---|---|---|---|
| 006350 | unicode/part2/line 17578 NormalizationTest.txt |
a᷺̖ٟ֚b␊a᷺̖ٟ֚b
|
23 B | |
| 006351 | unicode/part2/line 17579 NormalizationTest.txt |
a᷺ٟ̖֚b␊a᷺ٟ̖֚b
|
23 B | |
| 006352 | unicode/part2/line 17580 NormalizationTest.txt |
aْٰٰܑb␊aْٰٰܑb
|
21 B | |
| 006353 | unicode/part2/line 17581 NormalizationTest.txt |
aْٰٰܑb␊aْٰٰܑb
|
21 B | |
| 006354 | unicode/part2/line 17582 NormalizationTest.txt |
à֮ۖ̕b␊à֮ۖ̕b␊à֮ۖ̕b
|
31 B | |
| 006355 | unicode/part2/line 17583 NormalizationTest.txt |
a֮ۖ̀̕b␊a֮ۖ̀̕b
|
21 B | |
| 006356 | unicode/part2/line 17584 NormalizationTest.txt |
à֮ۗ̕b␊à֮ۗ̕b␊à֮ۗ̕b
|
31 B | |
| 006357 | unicode/part2/line 17585 NormalizationTest.txt |
a֮ۗ̀̕b␊a֮ۗ̀̕b
|
21 B | |
| 006358 | unicode/part2/line 17586 NormalizationTest.txt |
à֮ۘ̕b␊à֮ۘ̕b␊à֮ۘ̕b
|
31 B | |
| 006359 | unicode/part2/line 17587 NormalizationTest.txt |
a֮ۘ̀̕b␊a֮ۘ̀̕b
|
21 B | |
| 006360 | unicode/part2/line 17588 NormalizationTest.txt |
à֮ۙ̕b␊à֮ۙ̕b␊à֮ۙ̕b
|
31 B | |
| 006361 | unicode/part2/line 17589 NormalizationTest.txt |
a֮ۙ̀̕b␊a֮ۙ̀̕b
|
21 B | |
| 006362 | unicode/part2/line 17590 NormalizationTest.txt |
à֮ۚ̕b␊à֮ۚ̕b␊à֮ۚ̕b
|
31 B | |
| 006363 | unicode/part2/line 17591 NormalizationTest.txt |
a֮ۚ̀̕b␊a֮ۚ̀̕b
|
21 B | |
| 006364 | unicode/part2/line 17592 NormalizationTest.txt |
à֮ۛ̕b␊à֮ۛ̕b␊à֮ۛ̕b
|
31 B | |
| 006365 | unicode/part2/line 17593 NormalizationTest.txt |
a֮ۛ̀̕b␊a֮ۛ̀̕b
|
21 B | |
| 006366 | unicode/part2/line 17594 NormalizationTest.txt |
à֮ۜ̕b␊à֮ۜ̕b␊à֮ۜ̕b
|
31 B | |
| 006367 | unicode/part2/line 17595 NormalizationTest.txt |
a֮ۜ̀̕b␊a֮ۜ̀̕b
|
21 B | |
| 006368 | unicode/part2/line 17596 NormalizationTest.txt |
à֮۟̕b␊à֮۟̕b␊à֮۟̕b
|
31 B | |
| 006369 | unicode/part2/line 17597 NormalizationTest.txt |
a֮۟̀̕b␊a֮۟̀̕b
|
21 B | |
| 006370 | unicode/part2/line 17598 NormalizationTest.txt |
à֮۠̕b␊à֮۠̕b␊à֮۠̕b
|
31 B | |
| 006371 | unicode/part2/line 17599 NormalizationTest.txt |
a֮۠̀̕b␊a֮۠̀̕b
|
21 B | |
| 006372 | unicode/part2/line 17600 NormalizationTest.txt |
à֮ۡ̕b␊à֮ۡ̕b␊à֮ۡ̕b
|
31 B | |
| 006373 | unicode/part2/line 17601 NormalizationTest.txt |
a֮ۡ̀̕b␊a֮ۡ̀̕b
|
21 B | |
| 006374 | unicode/part2/line 17602 NormalizationTest.txt |
à֮ۢ̕b␊à֮ۢ̕b␊à֮ۢ̕b
|
31 B | |
| 006375 | unicode/part2/line 17603 NormalizationTest.txt |
a֮ۢ̀̕b␊a֮ۢ̀̕b
|
21 B | |
| 006376 | unicode/part2/line 17604 NormalizationTest.txt |
a᷺̖ۣ֚b␊a᷺̖ۣ֚b
|
23 B | |
| 006377 | unicode/part2/line 17605 NormalizationTest.txt |
a᷺ۣ̖֚b␊a᷺ۣ̖֚b
|
23 B | |
| 006378 | unicode/part2/line 17606 NormalizationTest.txt |
à֮ۤ̕b␊à֮ۤ̕b␊à֮ۤ̕b
|
31 B | |
| 006379 | unicode/part2/line 17607 NormalizationTest.txt |
a֮ۤ̀̕b␊a֮ۤ̀̕b
|
21 B | |
| 006380 | unicode/part2/line 17608 NormalizationTest.txt |
à֮ۧ̕b␊à֮ۧ̕b␊à֮ۧ̕b
|
31 B | |
| 006381 | unicode/part2/line 17609 NormalizationTest.txt |
a֮ۧ̀̕b␊a֮ۧ̀̕b
|
21 B | |
| 006382 | unicode/part2/line 17610 NormalizationTest.txt |
à֮ۨ̕b␊à֮ۨ̕b␊à֮ۨ̕b
|
31 B | |
| 006383 | unicode/part2/line 17611 NormalizationTest.txt |
a֮ۨ̀̕b␊a֮ۨ̀̕b
|
21 B | |
| 006384 | unicode/part2/line 17612 NormalizationTest.txt |
a᷺̖۪֚b␊a᷺̖۪֚b
|
23 B | |
| 006385 | unicode/part2/line 17613 NormalizationTest.txt |
a᷺۪̖֚b␊a᷺۪̖֚b
|
23 B | |
| 006386 | unicode/part2/line 17614 NormalizationTest.txt |
à֮۫̕b␊à֮۫̕b␊à֮۫̕b
|
31 B | |
| 006387 | unicode/part2/line 17615 NormalizationTest.txt |
a֮۫̀̕b␊a֮۫̀̕b
|
21 B | |
| 006388 | unicode/part2/line 17616 NormalizationTest.txt |
à֮۬̕b␊à֮۬̕b␊à֮۬̕b
|
31 B | |
| 006389 | unicode/part2/line 17617 NormalizationTest.txt |
a֮۬̀̕b␊a֮۬̀̕b
|
21 B | |
| 006390 | unicode/part2/line 17618 NormalizationTest.txt |
a᷺̖ۭ֚b␊a᷺̖ۭ֚b
|
23 B | |
| 006391 | unicode/part2/line 17619 NormalizationTest.txt |
a᷺ۭ̖֚b␊a᷺ۭ̖֚b
|
23 B | |
| 006392 | unicode/part2/line 17620 NormalizationTest.txt |
aٰܑܑౕb␊aٰܑܑౕb
|
23 B | |
| 006393 | unicode/part2/line 17621 NormalizationTest.txt |
aٰܑܑౕb␊aٰܑܑౕb
|
23 B | |
| 006394 | unicode/part2/line 17622 NormalizationTest.txt |
à֮ܰ̕b␊à֮ܰ̕b␊à֮ܰ̕b
|
31 B | |
| 006395 | unicode/part2/line 17623 NormalizationTest.txt |
a֮ܰ̀̕b␊a֮ܰ̀̕b
|
21 B | |
| 006396 | unicode/part2/line 17624 NormalizationTest.txt |
a᷺̖ܱ֚b␊a᷺̖ܱ֚b
|
23 B | |
| 006397 | unicode/part2/line 17625 NormalizationTest.txt |
a᷺ܱ̖֚b␊a᷺ܱ̖֚b
|
23 B | |
| 006398 | unicode/part2/line 17626 NormalizationTest.txt |
à֮ܲ̕b␊à֮ܲ̕b␊à֮ܲ̕b
|
31 B | |
| 006399 | unicode/part2/line 17627 NormalizationTest.txt |
a֮ܲ̀̕b␊a֮ܲ̀̕b
|
21 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