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 |
|---|---|---|---|---|
| 007804 | unicode/part2/line 19032 NormalizationTest.txt |
à֮𞀦̕b␊à֮𞀦̕b␊à֮𞀦̕b
|
37 B | |
| 007805 | unicode/part2/line 19033 NormalizationTest.txt |
a֮𞀦̀̕b␊a֮𞀦̀̕b
|
25 B | |
| 007806 | unicode/part2/line 19034 NormalizationTest.txt |
à֮𞀧̕b␊à֮𞀧̕b␊à֮𞀧̕b
|
37 B | |
| 007807 | unicode/part2/line 19035 NormalizationTest.txt |
a֮𞀧̀̕b␊a֮𞀧̀̕b
|
25 B | |
| 007808 | unicode/part2/line 19036 NormalizationTest.txt |
à֮𞀨̕b␊à֮𞀨̕b␊à֮𞀨̕b
|
37 B | |
| 007809 | unicode/part2/line 19037 NormalizationTest.txt |
a֮𞀨̀̕b␊a֮𞀨̀̕b
|
25 B | |
| 007810 | unicode/part2/line 19038 NormalizationTest.txt |
à֮𞀩̕b␊à֮𞀩̕b␊à֮𞀩̕b
|
37 B | |
| 007811 | unicode/part2/line 19039 NormalizationTest.txt |
a֮𞀩̀̕b␊a֮𞀩̀̕b
|
25 B | |
| 007812 | unicode/part2/line 19040 NormalizationTest.txt |
à֮𞀪̕b␊à֮𞀪̕b␊à֮𞀪̕b
|
37 B | |
| 007813 | unicode/part2/line 19041 NormalizationTest.txt |
a֮𞀪̀̕b␊a֮𞀪̀̕b
|
25 B | |
| 007814 | unicode/part2/line 19042 NormalizationTest.txt |
à֮𞂏̕b␊à֮𞂏̕b␊à֮𞂏̕b
|
37 B | |
| 007815 | unicode/part2/line 19043 NormalizationTest.txt |
a֮𞂏̀̕b␊a֮𞂏̀̕b
|
25 B | |
| 007816 | unicode/part2/line 19044 NormalizationTest.txt |
à֮𞄰̕b␊à֮𞄰̕b␊à֮𞄰̕b
|
37 B | |
| 007817 | unicode/part2/line 19045 NormalizationTest.txt |
a֮𞄰̀̕b␊a֮𞄰̀̕b
|
25 B | |
| 007818 | unicode/part2/line 19046 NormalizationTest.txt |
à֮𞄱̕b␊à֮𞄱̕b␊à֮𞄱̕b
|
37 B | |
| 007819 | unicode/part2/line 19047 NormalizationTest.txt |
a֮𞄱̀̕b␊a֮𞄱̀̕b
|
25 B | |
| 007820 | unicode/part2/line 19048 NormalizationTest.txt |
à֮𞄲̕b␊à֮𞄲̕b␊à֮𞄲̕b
|
37 B | |
| 007821 | unicode/part2/line 19049 NormalizationTest.txt |
a֮𞄲̀̕b␊a֮𞄲̀̕b
|
25 B | |
| 007822 | unicode/part2/line 19050 NormalizationTest.txt |
à֮𞄳̕b␊à֮𞄳̕b␊à֮𞄳̕b
|
37 B | |
| 007823 | unicode/part2/line 19051 NormalizationTest.txt |
a֮𞄳̀̕b␊a֮𞄳̀̕b
|
25 B | |
| 007824 | unicode/part2/line 19052 NormalizationTest.txt |
à֮𞄴̕b␊à֮𞄴̕b␊à֮𞄴̕b
|
37 B | |
| 007825 | unicode/part2/line 19053 NormalizationTest.txt |
a֮𞄴̀̕b␊a֮𞄴̀̕b
|
25 B | |
| 007826 | unicode/part2/line 19054 NormalizationTest.txt |
à֮𞄵̕b␊à֮𞄵̕b␊à֮𞄵̕b
|
37 B | |
| 007827 | unicode/part2/line 19055 NormalizationTest.txt |
a֮𞄵̀̕b␊a֮𞄵̀̕b
|
25 B | |
| 007828 | unicode/part2/line 19056 NormalizationTest.txt |
à֮𞄶̕b␊à֮𞄶̕b␊à֮𞄶̕b
|
37 B | |
| 007829 | unicode/part2/line 19057 NormalizationTest.txt |
a֮𞄶̀̕b␊a֮𞄶̀̕b
|
25 B | |
| 007830 | unicode/part2/line 19058 NormalizationTest.txt |
à֮𞊮̕b␊à֮𞊮̕b␊à֮𞊮̕b
|
37 B | |
| 007831 | unicode/part2/line 19059 NormalizationTest.txt |
a֮𞊮̀̕b␊a֮𞊮̀̕b
|
25 B | |
| 007832 | unicode/part2/line 19060 NormalizationTest.txt |
à֮𞋬̕b␊à֮𞋬̕b␊à֮𞋬̕b
|
37 B | |
| 007833 | unicode/part2/line 19061 NormalizationTest.txt |
a֮𞋬̀̕b␊a֮𞋬̀̕b
|
25 B | |
| 007834 | unicode/part2/line 19062 NormalizationTest.txt |
à֮𞋭̕b␊à֮𞋭̕b␊à֮𞋭̕b
|
37 B | |
| 007835 | unicode/part2/line 19063 NormalizationTest.txt |
a֮𞋭̀̕b␊a֮𞋭̀̕b
|
25 B | |
| 007836 | unicode/part2/line 19064 NormalizationTest.txt |
à֮𞋮̕b␊à֮𞋮̕b␊à֮𞋮̕b
|
37 B | |
| 007837 | unicode/part2/line 19065 NormalizationTest.txt |
a֮𞋮̀̕b␊a֮𞋮̀̕b
|
25 B | |
| 007838 | unicode/part2/line 19066 NormalizationTest.txt |
à֮𞋯̕b␊à֮𞋯̕b␊à֮𞋯̕b
|
37 B | |
| 007839 | unicode/part2/line 19067 NormalizationTest.txt |
a֮𞋯̀̕b␊a֮𞋯̀̕b
|
25 B | |
| 007840 | unicode/part2/line 19068 NormalizationTest.txt |
à̕𞓬͜b␊à̕𞓬͜b␊à̕𞓬͜b
|
37 B | |
| 007841 | unicode/part2/line 19069 NormalizationTest.txt |
à𞓬̕͜b␊à𞓬̕͜b␊à𞓬̕͜b
|
37 B | |
| 007842 | unicode/part2/line 19070 NormalizationTest.txt |
à̕𞓭͜b␊à̕𞓭͜b␊à̕𞓭͜b
|
37 B | |
| 007843 | unicode/part2/line 19071 NormalizationTest.txt |
à𞓭̕͜b␊à𞓭̕͜b␊à𞓭̕͜b
|
37 B | |
| 007844 | unicode/part2/line 19072 NormalizationTest.txt |
a᷺̖𞓮֚b␊a᷺̖𞓮֚b
|
27 B | |
| 007845 | unicode/part2/line 19073 NormalizationTest.txt |
a᷺𞓮̖֚b␊a᷺𞓮̖֚b
|
27 B | |
| 007846 | unicode/part2/line 19074 NormalizationTest.txt |
à֮𞓯̕b␊à֮𞓯̕b␊à֮𞓯̕b
|
37 B | |
| 007847 | unicode/part2/line 19075 NormalizationTest.txt |
a֮𞓯̀̕b␊a֮𞓯̀̕b
|
25 B | |
| 007848 | unicode/part2/line 19076 NormalizationTest.txt |
à֮̕b␊à֮̕b␊à֮̕b
|
37 B | |
| 007849 | unicode/part2/line 19077 NormalizationTest.txt |
à֮̕b␊à֮̕b
|
25 B | |
| 007850 | unicode/part2/line 19078 NormalizationTest.txt |
a᷺̖֚b␊a᷺̖֚b
|
27 B | |
| 007851 | unicode/part2/line 19079 NormalizationTest.txt |
a᷺̖֚b␊a᷺̖֚b
|
27 B | |
| 007852 | unicode/part2/line 19080 NormalizationTest.txt |
à֮̕b␊à֮̕b␊à֮̕b
|
37 B | |
| 007853 | unicode/part2/line 19081 NormalizationTest.txt |
à֮̕b␊à֮̕b
|
25 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