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
Clear

332 of 11,911 cases

Case Name Expected Note Size
009781 regression/tail/qa ending at 8 Focused regression eeeeeक़ 8 bytes, ending in U+0958. 8 B
009782 regression/tail/qa ending at 9 Focused regression eeeeeeक़ 9 bytes, ending in U+0958. 9 B
009783 regression/tail/qa ending at 10 Focused regression eeeeeeeक़ 10 bytes, ending in U+0958. 10 B
009784 regression/tail/qa ending at 11 Focused regression eeeeeeeeक़ 11 bytes, ending in U+0958. 11 B
009785 regression/tail/qa ending at 12 Focused regression eeeeeeeeeक़ 12 bytes, ending in U+0958. 12 B
009786 regression/tail/qa ending at 13 Focused regression eeeeeeeeeeक़ 13 bytes, ending in U+0958. 13 B
009787 regression/tail/qa ending at 14 Focused regression eeeeeeeeeeeक़ 14 bytes, ending in U+0958. 14 B
009788 regression/tail/qa ending at 15 Focused regression eeeeeeeeeeeeक़ 15 bytes, ending in U+0958. 15 B
009789 regression/tail/qa ending at 16 Focused regression eeeeeeeeeeeeeक़ 16 bytes, ending in U+0958. 16 B
009790 regression/tail/qa ending at 17 Focused regression eeeeeeeeeeeeeeक़ 17 bytes, ending in U+0958. 17 B
009791 regression/tail/qa ending at 18 Focused regression eeeeeeeeeeeeeeeक़ 18 bytes, ending in U+0958. 18 B
009792 regression/tail/qa ending at 19 Focused regression eeeeeeeeeeeeeeeeक़ 19 bytes, ending in U+0958. 19 B
009793 regression/tail/qa ending at 20 Focused regression eeeeeeeeeeeeeeeeeक़ 20 bytes, ending in U+0958. 20 B
009794 regression/tail/qa ending at 21 Focused regression eeeeeeeeeeeeeeeeeeक़ 21 bytes, ending in U+0958. 21 B
009795 regression/tail/qa ending at 22 Focused regression eeeeeeeeeeeeeeeeeeeक़ 22 bytes, ending in U+0958. 22 B
009796 regression/tail/qa ending at 23 Focused regression eeeeeeeeeeeeeeeeeeeeक़ 23 bytes, ending in U+0958. 23 B
009797 regression/tail/qa ending at 24 Focused regression eeeeeeeeeeeeeeeeeeeeeक़ 24 bytes, ending in U+0958. 24 B
009798 regression/tail/qa ending at 25 Focused regression eeeeeeeeeeeeeeeeeeeeeeक़ 25 bytes, ending in U+0958. 25 B
009799 regression/tail/qa ending at 26 Focused regression eeeeeeeeeeeeeeeeeeeeeeeक़ 26 bytes, ending in U+0958. 26 B
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

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.