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
009800 regression/tail/qa ending at 27 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeक़ 27 bytes, ending in U+0958. 27 B
009801 regression/tail/qa ending at 28 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeक़ 28 bytes, ending in U+0958. 28 B
009802 regression/tail/qa ending at 29 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeक़ 29 bytes, ending in U+0958. 29 B
009803 regression/tail/qa ending at 30 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeक़ 30 bytes, ending in U+0958. 30 B
009804 regression/tail/qa ending at 31 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeक़ 31 bytes, ending in U+0958. 31 B
009805 regression/tail/qa ending at 32 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeक़ 32 bytes, ending in U+0958. 32 B
009806 regression/tail/qa ending at 33 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeक़ 33 bytes, ending in U+0958. 33 B
009807 regression/tail/qa ending at 34 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeक़ 34 bytes, ending in U+0958. 34 B
009808 regression/tail/qa ending at 35 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeक़ 35 bytes, ending in U+0958. 35 B
009809 regression/tail/qa ending at 36 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeक़ 36 bytes, ending in U+0958. 36 B
009810 regression/tail/qa ending at 37 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeक़ 37 bytes, ending in U+0958. 37 B
009811 regression/tail/qa ending at 38 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeक़ 38 bytes, ending in U+0958. 38 B
009812 regression/tail/qa ending at 39 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeक़ 39 bytes, ending in U+0958. 39 B
009813 regression/tail/qa ending at 40 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeक़ 40 bytes, ending in U+0958. 40 B
009814 regression/tail/qa ending at 41 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeक़ 41 bytes, ending in U+0958. 41 B
009815 regression/tail/qa ending at 42 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeक़ 42 bytes, ending in U+0958. 42 B
009816 regression/tail/qa ending at 43 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeक़ 43 bytes, ending in U+0958. 43 B
009817 regression/tail/qa ending at 44 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeक़ 44 bytes, ending in U+0958. 44 B
009818 regression/tail/qa ending at 45 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeक़ 45 bytes, ending in U+0958. 45 B
009819 regression/tail/qa ending at 46 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeक़ 46 bytes, ending in U+0958. 46 B
009820 regression/tail/qa ending at 47 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeक़ 47 bytes, ending in U+0958. 47 B
009821 regression/tail/qa ending at 48 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeक़ 48 bytes, ending in U+0958. 48 B
009822 regression/tail/qa ending at 49 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeक़ 49 bytes, ending in U+0958. 49 B
009823 regression/tail/qa ending at 50 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeक़ 50 bytes, ending in U+0958. 50 B
009824 regression/tail/qa ending at 51 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 51 bytes, ending in U+0958. 51 B
009825 regression/tail/qa ending at 52 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 52 bytes, ending in U+0958. 52 B
009826 regression/tail/qa ending at 53 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 53 bytes, ending in U+0958. 53 B
009827 regression/tail/qa ending at 54 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 54 bytes, ending in U+0958. 54 B
009828 regression/tail/qa ending at 55 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 55 bytes, ending in U+0958. 55 B
009829 regression/tail/qa ending at 56 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 56 bytes, ending in U+0958. 56 B
009830 regression/tail/qa ending at 57 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 57 bytes, ending in U+0958. 57 B
009831 regression/tail/qa ending at 58 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 58 bytes, ending in U+0958. 58 B
009832 regression/tail/qa ending at 59 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 59 bytes, ending in U+0958. 59 B
009833 regression/tail/qa ending at 60 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 60 bytes, ending in U+0958. 60 B
009834 regression/tail/qa ending at 61 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 61 bytes, ending in U+0958. 61 B
009835 regression/tail/qa ending at 62 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 62 bytes, ending in U+0958. 62 B
009836 regression/tail/qa ending at 63 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 63 bytes, ending in U+0958. 63 B
009837 regression/tail/qa ending at 64 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 64 bytes, ending in U+0958. 64 B
009838 regression/tail/qa ending at 65 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 65 bytes, ending in U+0958. 65 B
009839 regression/tail/qa ending at 66 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 66 bytes, ending in U+0958. 66 B
009840 regression/tail/qa ending at 67 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 67 bytes, ending in U+0958. 67 B
009841 regression/tail/qa ending at 68 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 68 bytes, ending in U+0958. 68 B
009842 regression/tail/qa ending at 69 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 69 bytes, ending in U+0958. 69 B
009843 regression/tail/qa ending at 70 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee… 70 bytes, ending in U+0958. 70 B
009844 regression/tail/marks to reorder ending at 4 Focused regression ̣́ 4 bytes, ending in U+0301 U+0323. 4 B
009845 regression/tail/marks to reorder ending at 5 Focused regression ẹ́ 5 bytes, ending in U+0301 U+0323. 5 B
009846 regression/tail/marks to reorder ending at 6 Focused regression eẹ́ 6 bytes, ending in U+0301 U+0323. 6 B
009847 regression/tail/marks to reorder ending at 7 Focused regression eeẹ́ 7 bytes, ending in U+0301 U+0323. 7 B
009848 regression/tail/marks to reorder ending at 8 Focused regression eeeẹ́ 8 bytes, ending in U+0301 U+0323. 8 B
009849 regression/tail/marks to reorder ending at 9 Focused regression eeeeẹ́ 9 bytes, ending in U+0301 U+0323. 9 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.