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 |
|---|---|---|---|---|
| 006600 | unicode/part2/line 17828 NormalizationTest.txt |
à֮࣬̕b␊à֮࣬̕b␊à֮࣬̕b
|
34 B | |
| 006601 | unicode/part2/line 17829 NormalizationTest.txt |
a֮࣬̀̕b␊a֮࣬̀̕b
|
23 B | |
| 006602 | unicode/part2/line 17830 NormalizationTest.txt |
a᷺̖࣭֚b␊a᷺̖࣭֚b
|
25 B | |
| 006603 | unicode/part2/line 17831 NormalizationTest.txt |
a᷺࣭̖֚b␊a᷺࣭̖֚b
|
25 B | |
| 006604 | unicode/part2/line 17832 NormalizationTest.txt |
a᷺̖࣮֚b␊a᷺̖࣮֚b
|
25 B | |
| 006605 | unicode/part2/line 17833 NormalizationTest.txt |
a᷺࣮̖֚b␊a᷺࣮̖֚b
|
25 B | |
| 006606 | unicode/part2/line 17834 NormalizationTest.txt |
a᷺̖࣯֚b␊a᷺̖࣯֚b
|
25 B | |
| 006607 | unicode/part2/line 17835 NormalizationTest.txt |
a᷺࣯̖֚b␊a᷺࣯̖֚b
|
25 B | |
| 006608 | unicode/part2/line 17836 NormalizationTest.txt |
aﬞًࣰٌb␊aﬞًࣰٌb
|
25 B | |
| 006609 | unicode/part2/line 17837 NormalizationTest.txt |
aﬞࣰًٌb␊aﬞࣰًٌb
|
25 B | |
| 006610 | unicode/part2/line 17838 NormalizationTest.txt |
aًٌࣱٍb␊aًٌࣱٍb
|
23 B | |
| 006611 | unicode/part2/line 17839 NormalizationTest.txt |
aًࣱٌٍb␊aًࣱٌٍb
|
23 B | |
| 006612 | unicode/part2/line 17840 NormalizationTest.txt |
aٌٍࣲؘb␊aٌٍࣲؘb
|
23 B | |
| 006613 | unicode/part2/line 17841 NormalizationTest.txt |
aٌࣲٍؘb␊aٌࣲٍؘb
|
23 B | |
| 006614 | unicode/part2/line 17842 NormalizationTest.txt |
à֮ࣳ̕b␊à֮ࣳ̕b␊à֮ࣳ̕b
|
34 B | |
| 006615 | unicode/part2/line 17843 NormalizationTest.txt |
a֮ࣳ̀̕b␊a֮ࣳ̀̕b
|
23 B | |
| 006616 | unicode/part2/line 17844 NormalizationTest.txt |
à֮ࣴ̕b␊à֮ࣴ̕b␊à֮ࣴ̕b
|
34 B | |
| 006617 | unicode/part2/line 17845 NormalizationTest.txt |
a֮ࣴ̀̕b␊a֮ࣴ̀̕b
|
23 B | |
| 006618 | unicode/part2/line 17846 NormalizationTest.txt |
à֮ࣵ̕b␊à֮ࣵ̕b␊à֮ࣵ̕b
|
34 B | |
| 006619 | unicode/part2/line 17847 NormalizationTest.txt |
a֮ࣵ̀̕b␊a֮ࣵ̀̕b
|
23 B | |
| 006620 | unicode/part2/line 17848 NormalizationTest.txt |
a᷺̖ࣶ֚b␊a᷺̖ࣶ֚b
|
25 B | |
| 006621 | unicode/part2/line 17849 NormalizationTest.txt |
a᷺ࣶ̖֚b␊a᷺ࣶ̖֚b
|
25 B | |
| 006622 | unicode/part2/line 17850 NormalizationTest.txt |
à֮ࣷ̕b␊à֮ࣷ̕b␊à֮ࣷ̕b
|
34 B | |
| 006623 | unicode/part2/line 17851 NormalizationTest.txt |
a֮ࣷ̀̕b␊a֮ࣷ̀̕b
|
23 B | |
| 006624 | unicode/part2/line 17852 NormalizationTest.txt |
à֮ࣸ̕b␊à֮ࣸ̕b␊à֮ࣸ̕b
|
34 B | |
| 006625 | unicode/part2/line 17853 NormalizationTest.txt |
a֮ࣸ̀̕b␊a֮ࣸ̀̕b
|
23 B | |
| 006626 | unicode/part2/line 17854 NormalizationTest.txt |
a᷺̖ࣹ֚b␊a᷺̖ࣹ֚b
|
25 B | |
| 006627 | unicode/part2/line 17855 NormalizationTest.txt |
a᷺ࣹ̖֚b␊a᷺ࣹ̖֚b
|
25 B | |
| 006628 | unicode/part2/line 17856 NormalizationTest.txt |
a᷺̖ࣺ֚b␊a᷺̖ࣺ֚b
|
25 B | |
| 006629 | unicode/part2/line 17857 NormalizationTest.txt |
a᷺ࣺ̖֚b␊a᷺ࣺ̖֚b
|
25 B | |
| 006630 | unicode/part2/line 17858 NormalizationTest.txt |
à֮ࣻ̕b␊à֮ࣻ̕b␊à֮ࣻ̕b
|
34 B | |
| 006631 | unicode/part2/line 17859 NormalizationTest.txt |
a֮ࣻ̀̕b␊a֮ࣻ̀̕b
|
23 B | |
| 006632 | unicode/part2/line 17860 NormalizationTest.txt |
à֮ࣼ̕b␊à֮ࣼ̕b␊à֮ࣼ̕b
|
34 B | |
| 006633 | unicode/part2/line 17861 NormalizationTest.txt |
a֮ࣼ̀̕b␊a֮ࣼ̀̕b
|
23 B | |
| 006634 | unicode/part2/line 17862 NormalizationTest.txt |
à֮ࣽ̕b␊à֮ࣽ̕b␊à֮ࣽ̕b
|
34 B | |
| 006635 | unicode/part2/line 17863 NormalizationTest.txt |
a֮ࣽ̀̕b␊a֮ࣽ̀̕b
|
23 B | |
| 006636 | unicode/part2/line 17864 NormalizationTest.txt |
à֮ࣾ̕b␊à֮ࣾ̕b␊à֮ࣾ̕b
|
34 B | |
| 006637 | unicode/part2/line 17865 NormalizationTest.txt |
a֮ࣾ̀̕b␊a֮ࣾ̀̕b
|
23 B | |
| 006638 | unicode/part2/line 17866 NormalizationTest.txt |
à֮ࣿ̕b␊à֮ࣿ̕b␊à֮ࣿ̕b
|
34 B | |
| 006639 | unicode/part2/line 17867 NormalizationTest.txt |
a֮ࣿ̀̕b␊a֮ࣿ̀̕b
|
23 B | |
| 006640 | unicode/part2/line 17868 NormalizationTest.txt |
a𖿰़़゙b␊a𖿰़़゙b
|
31 B | |
| 006641 | unicode/part2/line 17869 NormalizationTest.txt |
a𖿰़़゙b␊a𖿰़़゙b
|
31 B | |
| 006642 | unicode/part2/line 17870 NormalizationTest.txt |
a゙््ְb␊a゙््ְb
|
27 B | |
| 006643 | unicode/part2/line 17871 NormalizationTest.txt |
a゙््ְb␊a゙््ְb
|
27 B | |
| 006644 | unicode/part2/line 17872 NormalizationTest.txt |
à֮॑̕b␊à֮॑̕b␊à֮॑̕b
|
34 B | |
| 006645 | unicode/part2/line 17873 NormalizationTest.txt |
a֮॑̀̕b␊a֮॑̀̕b
|
23 B | |
| 006646 | unicode/part2/line 17874 NormalizationTest.txt |
a᷺̖॒֚b␊a᷺̖॒֚b
|
25 B | |
| 006647 | unicode/part2/line 17875 NormalizationTest.txt |
a᷺॒̖֚b␊a᷺॒̖֚b
|
25 B | |
| 006648 | unicode/part2/line 17876 NormalizationTest.txt |
à֮॓̕b␊à֮॓̕b␊à֮॓̕b
|
34 B | |
| 006649 | unicode/part2/line 17877 NormalizationTest.txt |
a֮॓̀̕b␊a֮॓̀̕b
|
23 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