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 |
|---|---|---|---|---|
| 007554 | unicode/part2/line 18782 NormalizationTest.txt |
a゙्𑍍ְb␊a゙्𑍍ְb
|
29 B | |
| 007555 | unicode/part2/line 18783 NormalizationTest.txt |
a゙𑍍्ְb␊a゙𑍍्ְb
|
29 B | |
| 007556 | unicode/part2/line 18784 NormalizationTest.txt |
à֮𑍦̕b␊à֮𑍦̕b␊à֮𑍦̕b
|
37 B | |
| 007557 | unicode/part2/line 18785 NormalizationTest.txt |
a֮𑍦̀̕b␊a֮𑍦̀̕b
|
25 B | |
| 007558 | unicode/part2/line 18786 NormalizationTest.txt |
à֮𑍧̕b␊à֮𑍧̕b␊à֮𑍧̕b
|
37 B | |
| 007559 | unicode/part2/line 18787 NormalizationTest.txt |
a֮𑍧̀̕b␊a֮𑍧̀̕b
|
25 B | |
| 007560 | unicode/part2/line 18788 NormalizationTest.txt |
à֮𑍨̕b␊à֮𑍨̕b␊à֮𑍨̕b
|
37 B | |
| 007561 | unicode/part2/line 18789 NormalizationTest.txt |
a֮𑍨̀̕b␊a֮𑍨̀̕b
|
25 B | |
| 007562 | unicode/part2/line 18790 NormalizationTest.txt |
à֮𑍩̕b␊à֮𑍩̕b␊à֮𑍩̕b
|
37 B | |
| 007563 | unicode/part2/line 18791 NormalizationTest.txt |
a֮𑍩̀̕b␊a֮𑍩̀̕b
|
25 B | |
| 007564 | unicode/part2/line 18792 NormalizationTest.txt |
à֮𑍪̕b␊à֮𑍪̕b␊à֮𑍪̕b
|
37 B | |
| 007565 | unicode/part2/line 18793 NormalizationTest.txt |
a֮𑍪̀̕b␊a֮𑍪̀̕b
|
25 B | |
| 007566 | unicode/part2/line 18794 NormalizationTest.txt |
à֮𑍫̕b␊à֮𑍫̕b␊à֮𑍫̕b
|
37 B | |
| 007567 | unicode/part2/line 18795 NormalizationTest.txt |
a֮𑍫̀̕b␊a֮𑍫̀̕b
|
25 B | |
| 007568 | unicode/part2/line 18796 NormalizationTest.txt |
à֮𑍬̕b␊à֮𑍬̕b␊à֮𑍬̕b
|
37 B | |
| 007569 | unicode/part2/line 18797 NormalizationTest.txt |
a֮𑍬̀̕b␊a֮𑍬̀̕b
|
25 B | |
| 007570 | unicode/part2/line 18798 NormalizationTest.txt |
à֮𑍰̕b␊à֮𑍰̕b␊à֮𑍰̕b
|
37 B | |
| 007571 | unicode/part2/line 18799 NormalizationTest.txt |
a֮𑍰̀̕b␊a֮𑍰̀̕b
|
25 B | |
| 007572 | unicode/part2/line 18800 NormalizationTest.txt |
à֮𑍱̕b␊à֮𑍱̕b␊à֮𑍱̕b
|
37 B | |
| 007573 | unicode/part2/line 18801 NormalizationTest.txt |
a֮𑍱̀̕b␊a֮𑍱̀̕b
|
25 B | |
| 007574 | unicode/part2/line 18802 NormalizationTest.txt |
à֮𑍲̕b␊à֮𑍲̕b␊à֮𑍲̕b
|
37 B | |
| 007575 | unicode/part2/line 18803 NormalizationTest.txt |
a֮𑍲̀̕b␊a֮𑍲̀̕b
|
25 B | |
| 007576 | unicode/part2/line 18804 NormalizationTest.txt |
à֮𑍳̕b␊à֮𑍳̕b␊à֮𑍳̕b
|
37 B | |
| 007577 | unicode/part2/line 18805 NormalizationTest.txt |
a֮𑍳̀̕b␊a֮𑍳̀̕b
|
25 B | |
| 007578 | unicode/part2/line 18806 NormalizationTest.txt |
à֮𑍴̕b␊à֮𑍴̕b␊à֮𑍴̕b
|
37 B | |
| 007579 | unicode/part2/line 18807 NormalizationTest.txt |
a֮𑍴̀̕b␊a֮𑍴̀̕b
|
25 B | |
| 007580 | unicode/part2/line 18808 NormalizationTest.txt |
a゙्ְb␊a゙्ְb
|
29 B | |
| 007581 | unicode/part2/line 18809 NormalizationTest.txt |
a゙्ְb␊a゙्ְb
|
29 B | |
| 007582 | unicode/part2/line 18810 NormalizationTest.txt |
a゙्ְb␊a゙्ְb
|
29 B | |
| 007583 | unicode/part2/line 18811 NormalizationTest.txt |
a゙्ְb␊a゙्ְb
|
29 B | |
| 007584 | unicode/part2/line 18812 NormalizationTest.txt |
a゙्ְb␊a゙्ְb
|
29 B | |
| 007585 | unicode/part2/line 18813 NormalizationTest.txt |
a゙्ְb␊a゙्ְb
|
29 B | |
| 007586 | unicode/part2/line 18814 NormalizationTest.txt |
a゙्𑑂ְb␊a゙्𑑂ְb
|
29 B | |
| 007587 | unicode/part2/line 18815 NormalizationTest.txt |
a゙𑑂्ְb␊a゙𑑂्ְb
|
29 B | |
| 007588 | unicode/part2/line 18816 NormalizationTest.txt |
a𖿰़𑑆゙b␊a𖿰़𑑆゙b
|
33 B | |
| 007589 | unicode/part2/line 18817 NormalizationTest.txt |
a𖿰𑑆़゙b␊a𖿰𑑆़゙b
|
33 B | |
| 007590 | unicode/part2/line 18818 NormalizationTest.txt |
à֮𑑞̕b␊à֮𑑞̕b␊à֮𑑞̕b
|
37 B | |
| 007591 | unicode/part2/line 18819 NormalizationTest.txt |
a֮𑑞̀̕b␊a֮𑑞̀̕b
|
25 B | |
| 007592 | unicode/part2/line 18820 NormalizationTest.txt |
a゙्𑓂ְb␊a゙्𑓂ְb
|
29 B | |
| 007593 | unicode/part2/line 18821 NormalizationTest.txt |
a゙𑓂्ְb␊a゙𑓂्ְb
|
29 B | |
| 007594 | unicode/part2/line 18822 NormalizationTest.txt |
a𖿰़𑓃゙b␊a𖿰़𑓃゙b
|
33 B | |
| 007595 | unicode/part2/line 18823 NormalizationTest.txt |
a𖿰𑓃़゙b␊a𖿰𑓃़゙b
|
33 B | |
| 007596 | unicode/part2/line 18824 NormalizationTest.txt |
a゙्𑖿ְb␊a゙्𑖿ְb
|
29 B | |
| 007597 | unicode/part2/line 18825 NormalizationTest.txt |
a゙𑖿्ְb␊a゙𑖿्ְb
|
29 B | |
| 007598 | unicode/part2/line 18826 NormalizationTest.txt |
a𖿰़𑗀゙b␊a𖿰़𑗀゙b
|
33 B | |
| 007599 | unicode/part2/line 18827 NormalizationTest.txt |
a𖿰𑗀़゙b␊a𖿰𑗀़゙b
|
33 B | |
| 007600 | unicode/part2/line 18828 NormalizationTest.txt |
a゙्𑘿ְb␊a゙्𑘿ְb
|
29 B | |
| 007601 | unicode/part2/line 18829 NormalizationTest.txt |
a゙𑘿्ְb␊a゙𑘿्ְb
|
29 B | |
| 007602 | unicode/part2/line 18830 NormalizationTest.txt |
a゙्𑚶ְb␊a゙्𑚶ְb
|
29 B | |
| 007603 | unicode/part2/line 18831 NormalizationTest.txt |
a゙𑚶्ְb␊a゙𑚶्ְb
|
29 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