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
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
009850 regression/tail/marks to reorder ending at 10 Focused regression eeeeeẹ́ 10 bytes, ending in U+0301 U+0323. 10 B
009851 regression/tail/marks to reorder ending at 11 Focused regression eeeeeeẹ́ 11 bytes, ending in U+0301 U+0323. 11 B
009852 regression/tail/marks to reorder ending at 12 Focused regression eeeeeeeẹ́ 12 bytes, ending in U+0301 U+0323. 12 B
009853 regression/tail/marks to reorder ending at 13 Focused regression eeeeeeeeẹ́ 13 bytes, ending in U+0301 U+0323. 13 B
009854 regression/tail/marks to reorder ending at 14 Focused regression eeeeeeeeeẹ́ 14 bytes, ending in U+0301 U+0323. 14 B
009855 regression/tail/marks to reorder ending at 15 Focused regression eeeeeeeeeeẹ́ 15 bytes, ending in U+0301 U+0323. 15 B
009856 regression/tail/marks to reorder ending at 16 Focused regression eeeeeeeeeeeẹ́ 16 bytes, ending in U+0301 U+0323. 16 B
009857 regression/tail/marks to reorder ending at 17 Focused regression eeeeeeeeeeeeẹ́ 17 bytes, ending in U+0301 U+0323. 17 B
009858 regression/tail/marks to reorder ending at 18 Focused regression eeeeeeeeeeeeeẹ́ 18 bytes, ending in U+0301 U+0323. 18 B
009859 regression/tail/marks to reorder ending at 19 Focused regression eeeeeeeeeeeeeeẹ́ 19 bytes, ending in U+0301 U+0323. 19 B
009860 regression/tail/marks to reorder ending at 20 Focused regression eeeeeeeeeeeeeeeẹ́ 20 bytes, ending in U+0301 U+0323. 20 B
009861 regression/tail/marks to reorder ending at 21 Focused regression eeeeeeeeeeeeeeeeẹ́ 21 bytes, ending in U+0301 U+0323. 21 B
009862 regression/tail/marks to reorder ending at 22 Focused regression eeeeeeeeeeeeeeeeeẹ́ 22 bytes, ending in U+0301 U+0323. 22 B
009863 regression/tail/marks to reorder ending at 23 Focused regression eeeeeeeeeeeeeeeeeeẹ́ 23 bytes, ending in U+0301 U+0323. 23 B
009864 regression/tail/marks to reorder ending at 24 Focused regression eeeeeeeeeeeeeeeeeeeẹ́ 24 bytes, ending in U+0301 U+0323. 24 B
009865 regression/tail/marks to reorder ending at 25 Focused regression eeeeeeeeeeeeeeeeeeeeẹ́ 25 bytes, ending in U+0301 U+0323. 25 B
009866 regression/tail/marks to reorder ending at 26 Focused regression eeeeeeeeeeeeeeeeeeeeeẹ́ 26 bytes, ending in U+0301 U+0323. 26 B
009867 regression/tail/marks to reorder ending at 27 Focused regression eeeeeeeeeeeeeeeeeeeeeeẹ́ 27 bytes, ending in U+0301 U+0323. 27 B
009868 regression/tail/marks to reorder ending at 28 Focused regression eeeeeeeeeeeeeeeeeeeeeeeẹ́ 28 bytes, ending in U+0301 U+0323. 28 B
009869 regression/tail/marks to reorder ending at 29 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeẹ́ 29 bytes, ending in U+0301 U+0323. 29 B
009870 regression/tail/marks to reorder ending at 30 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeẹ́ 30 bytes, ending in U+0301 U+0323. 30 B
009871 regression/tail/marks to reorder ending at 31 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeẹ́ 31 bytes, ending in U+0301 U+0323. 31 B
009872 regression/tail/marks to reorder ending at 32 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeẹ́ 32 bytes, ending in U+0301 U+0323. 32 B
009873 regression/tail/marks to reorder ending at 33 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeẹ́ 33 bytes, ending in U+0301 U+0323. 33 B
009874 regression/tail/marks to reorder ending at 34 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeẹ́ 34 bytes, ending in U+0301 U+0323. 34 B
009875 regression/tail/marks to reorder ending at 35 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeẹ́ 35 bytes, ending in U+0301 U+0323. 35 B
009876 regression/tail/marks to reorder ending at 36 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeẹ́ 36 bytes, ending in U+0301 U+0323. 36 B
009877 regression/tail/marks to reorder ending at 37 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeẹ́ 37 bytes, ending in U+0301 U+0323. 37 B
009878 regression/tail/marks to reorder ending at 38 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeẹ́ 38 bytes, ending in U+0301 U+0323. 38 B
009879 regression/tail/marks to reorder ending at 39 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeẹ́ 39 bytes, ending in U+0301 U+0323. 39 B
009880 regression/tail/marks to reorder ending at 40 Focused regression eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeẹ́ 40 bytes, ending in U+0301 U+0323. 40 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.