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
1,936 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 007404 | unicode/part2/line 18632 NormalizationTest.txt |
à֮︦̕b␊à֮︦̕b␊à֮︦̕b
|
34 B | |
| 007405 | unicode/part2/line 18633 NormalizationTest.txt |
a֮︦̀̕b␊a֮︦̀̕b
|
23 B | |
| 007406 | unicode/part2/line 18634 NormalizationTest.txt |
a᷺̖︧֚b␊a᷺̖︧֚b
|
25 B | |
| 007407 | unicode/part2/line 18635 NormalizationTest.txt |
a᷺︧̖֚b␊a᷺︧̖֚b
|
25 B | |
| 007408 | unicode/part2/line 18636 NormalizationTest.txt |
a᷺̖︨֚b␊a᷺̖︨֚b
|
25 B | |
| 007409 | unicode/part2/line 18637 NormalizationTest.txt |
a᷺︨̖֚b␊a᷺︨̖֚b
|
25 B | |
| 007410 | unicode/part2/line 18638 NormalizationTest.txt |
a᷺̖︩֚b␊a᷺̖︩֚b
|
25 B | |
| 007411 | unicode/part2/line 18639 NormalizationTest.txt |
a᷺︩̖֚b␊a᷺︩̖֚b
|
25 B | |
| 007412 | unicode/part2/line 18640 NormalizationTest.txt |
a᷺̖︪֚b␊a᷺̖︪֚b
|
25 B | |
| 007413 | unicode/part2/line 18641 NormalizationTest.txt |
a᷺︪̖֚b␊a᷺︪̖֚b
|
25 B | |
| 007414 | unicode/part2/line 18642 NormalizationTest.txt |
a᷺̖︫֚b␊a᷺̖︫֚b
|
25 B | |
| 007415 | unicode/part2/line 18643 NormalizationTest.txt |
a᷺︫̖֚b␊a᷺︫̖֚b
|
25 B | |
| 007416 | unicode/part2/line 18644 NormalizationTest.txt |
a᷺̖︬֚b␊a᷺̖︬֚b
|
25 B | |
| 007417 | unicode/part2/line 18645 NormalizationTest.txt |
a᷺︬̖֚b␊a᷺︬̖֚b
|
25 B | |
| 007418 | unicode/part2/line 18646 NormalizationTest.txt |
a᷺̖︭֚b␊a᷺̖︭֚b
|
25 B | |
| 007419 | unicode/part2/line 18647 NormalizationTest.txt |
a᷺︭̖֚b␊a᷺︭̖֚b
|
25 B | |
| 007420 | unicode/part2/line 18648 NormalizationTest.txt |
à֮︮̕b␊à֮︮̕b␊à֮︮̕b
|
34 B | |
| 007421 | unicode/part2/line 18649 NormalizationTest.txt |
a֮︮̀̕b␊a֮︮̀̕b
|
23 B | |
| 007422 | unicode/part2/line 18650 NormalizationTest.txt |
à֮︯̕b␊à֮︯̕b␊à֮︯̕b
|
34 B | |
| 007423 | unicode/part2/line 18651 NormalizationTest.txt |
a֮︯̀̕b␊a֮︯̀̕b
|
23 B | |
| 007424 | unicode/part2/line 18652 NormalizationTest.txt |
a᷺̖𐇽֚b␊a᷺̖𐇽֚b
|
27 B | |
| 007425 | unicode/part2/line 18653 NormalizationTest.txt |
a᷺𐇽̖֚b␊a᷺𐇽̖֚b
|
27 B | |
| 007426 | unicode/part2/line 18654 NormalizationTest.txt |
a᷺̖𐋠֚b␊a᷺̖𐋠֚b
|
27 B | |
| 007427 | unicode/part2/line 18655 NormalizationTest.txt |
a᷺𐋠̖֚b␊a᷺𐋠̖֚b
|
27 B | |
| 007428 | unicode/part2/line 18656 NormalizationTest.txt |
à֮𐍶̕b␊à֮𐍶̕b␊à֮𐍶̕b
|
37 B | |
| 007429 | unicode/part2/line 18657 NormalizationTest.txt |
a֮𐍶̀̕b␊a֮𐍶̀̕b
|
25 B | |
| 007430 | unicode/part2/line 18658 NormalizationTest.txt |
à֮𐍷̕b␊à֮𐍷̕b␊à֮𐍷̕b
|
37 B | |
| 007431 | unicode/part2/line 18659 NormalizationTest.txt |
a֮𐍷̀̕b␊a֮𐍷̀̕b
|
25 B | |
| 007432 | unicode/part2/line 18660 NormalizationTest.txt |
à֮𐍸̕b␊à֮𐍸̕b␊à֮𐍸̕b
|
37 B | |
| 007433 | unicode/part2/line 18661 NormalizationTest.txt |
a֮𐍸̀̕b␊a֮𐍸̀̕b
|
25 B | |
| 007434 | unicode/part2/line 18662 NormalizationTest.txt |
à֮𐍹̕b␊à֮𐍹̕b␊à֮𐍹̕b
|
37 B | |
| 007435 | unicode/part2/line 18663 NormalizationTest.txt |
a֮𐍹̀̕b␊a֮𐍹̀̕b
|
25 B | |
| 007436 | unicode/part2/line 18664 NormalizationTest.txt |
à֮𐍺̕b␊à֮𐍺̕b␊à֮𐍺̕b
|
37 B | |
| 007437 | unicode/part2/line 18665 NormalizationTest.txt |
a֮𐍺̀̕b␊a֮𐍺̀̕b
|
25 B | |
| 007438 | unicode/part2/line 18666 NormalizationTest.txt |
a᷺̖𐨍֚b␊a᷺̖𐨍֚b
|
27 B | |
| 007439 | unicode/part2/line 18667 NormalizationTest.txt |
a᷺𐨍̖֚b␊a᷺𐨍̖֚b
|
27 B | |
| 007440 | unicode/part2/line 18668 NormalizationTest.txt |
à֮𐨏̕b␊à֮𐨏̕b␊à֮𐨏̕b
|
37 B | |
| 007441 | unicode/part2/line 18669 NormalizationTest.txt |
a֮𐨏̀̕b␊a֮𐨏̀̕b
|
25 B | |
| 007442 | unicode/part2/line 18670 NormalizationTest.txt |
à֮𐨸̕b␊à֮𐨸̕b␊à֮𐨸̕b
|
37 B | |
| 007443 | unicode/part2/line 18671 NormalizationTest.txt |
a֮𐨸̀̕b␊a֮𐨸̀̕b
|
25 B | |
| 007444 | unicode/part2/line 18672 NormalizationTest.txt |
a̴𐨹𖿰b␊a̴𐨹𖿰b
|
25 B | |
| 007445 | unicode/part2/line 18673 NormalizationTest.txt |
a𐨹̴𖿰b␊a𐨹̴𖿰b
|
25 B | |
| 007446 | unicode/part2/line 18674 NormalizationTest.txt |
a᷺̖𐨺֚b␊a᷺̖𐨺֚b
|
27 B | |
| 007447 | unicode/part2/line 18675 NormalizationTest.txt |
a᷺𐨺̖֚b␊a᷺𐨺̖֚b
|
27 B | |
| 007448 | unicode/part2/line 18676 NormalizationTest.txt |
a゙्𐨿ְb␊a゙्𐨿ְb
|
29 B | |
| 007449 | unicode/part2/line 18677 NormalizationTest.txt |
a゙𐨿्ְb␊a゙𐨿्ְb
|
29 B | |
| 007450 | unicode/part2/line 18678 NormalizationTest.txt |
à֮𐫥̕b␊à֮𐫥̕b␊à֮𐫥̕b
|
37 B | |
| 007451 | unicode/part2/line 18679 NormalizationTest.txt |
a֮𐫥̀̕b␊a֮𐫥̀̕b
|
25 B | |
| 007452 | unicode/part2/line 18680 NormalizationTest.txt |
a᷺̖𐫦֚b␊a᷺̖𐫦֚b
|
27 B | |
| 007453 | unicode/part2/line 18681 NormalizationTest.txt |
a᷺𐫦̖֚b␊a᷺𐫦̖֚b
|
27 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