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
002850 unicode/part1/U+FB00 NormalizationTest.txt ff␊ff Line 14075: LATIN SMALL LIGATURE FF. Its distinct columns, one per line. 6 B
002851 unicode/part1/U+FB01 NormalizationTest.txt fi␊fi Line 14076: LATIN SMALL LIGATURE FI. Its distinct columns, one per line. 6 B
002852 unicode/part1/U+FB02 NormalizationTest.txt fl␊fl Line 14077: LATIN SMALL LIGATURE FL. Its distinct columns, one per line. 6 B
002853 unicode/part1/U+FB03 NormalizationTest.txt ffi␊ffi Line 14078: LATIN SMALL LIGATURE FFI. Its distinct columns, one per line. 7 B
002854 unicode/part1/U+FB04 NormalizationTest.txt ffl␊ffl Line 14079: LATIN SMALL LIGATURE FFL. Its distinct columns, one per line. 7 B
002855 unicode/part1/U+FB05 NormalizationTest.txt ſt␊st Line 14080: LATIN SMALL LIGATURE LONG S T. Its distinct columns, one per line. 6 B
002856 unicode/part1/U+FB06 NormalizationTest.txt st␊st Line 14081: LATIN SMALL LIGATURE ST. Its distinct columns, one per line. 6 B
002857 unicode/part1/U+FB13 NormalizationTest.txt ﬓ␊մն Line 14082: ARMENIAN SMALL LIGATURE MEN NOW. Its distinct columns, one per line. 8 B
002858 unicode/part1/U+FB14 NormalizationTest.txt ﬔ␊մե Line 14083: ARMENIAN SMALL LIGATURE MEN ECH. Its distinct columns, one per line. 8 B
002859 unicode/part1/U+FB15 NormalizationTest.txt ﬕ␊մի Line 14084: ARMENIAN SMALL LIGATURE MEN INI. Its distinct columns, one per line. 8 B
002860 unicode/part1/U+FB16 NormalizationTest.txt ﬖ␊վն Line 14085: ARMENIAN SMALL LIGATURE VEW NOW. Its distinct columns, one per line. 8 B
002861 unicode/part1/U+FB17 NormalizationTest.txt ﬗ␊մխ Line 14086: ARMENIAN SMALL LIGATURE MEN XEH. Its distinct columns, one per line. 8 B
002862 unicode/part1/U+FB1D NormalizationTest.txt יִ␊יִ Line 14087: HEBREW LETTER YOD WITH HIRIQ. Its distinct columns, one per line. 8 B
002863 unicode/part1/U+FB1F NormalizationTest.txt ײַ␊ײַ Line 14088: HEBREW LIGATURE YIDDISH YOD YOD PATAH. Its distinct columns, one per line. 8 B
002864 unicode/part1/U+FB20 NormalizationTest.txt ﬠ␊ע Line 14089: HEBREW LETTER ALTERNATIVE AYIN. Its distinct columns, one per line. 6 B
002865 unicode/part1/U+FB21 NormalizationTest.txt ﬡ␊א Line 14090: HEBREW LETTER WIDE ALEF. Its distinct columns, one per line. 6 B
002866 unicode/part1/U+FB22 NormalizationTest.txt ﬢ␊ד Line 14091: HEBREW LETTER WIDE DALET. Its distinct columns, one per line. 6 B
002867 unicode/part1/U+FB23 NormalizationTest.txt ﬣ␊ה Line 14092: HEBREW LETTER WIDE HE. Its distinct columns, one per line. 6 B
002868 unicode/part1/U+FB24 NormalizationTest.txt ﬤ␊כ Line 14093: HEBREW LETTER WIDE KAF. Its distinct columns, one per line. 6 B
002869 unicode/part1/U+FB25 NormalizationTest.txt ﬥ␊ל Line 14094: HEBREW LETTER WIDE LAMED. Its distinct columns, one per line. 6 B
002870 unicode/part1/U+FB26 NormalizationTest.txt ﬦ␊ם Line 14095: HEBREW LETTER WIDE FINAL MEM. Its distinct columns, one per line. 6 B
002871 unicode/part1/U+FB27 NormalizationTest.txt ﬧ␊ר Line 14096: HEBREW LETTER WIDE RESH. Its distinct columns, one per line. 6 B
002872 unicode/part1/U+FB28 NormalizationTest.txt ﬨ␊ת Line 14097: HEBREW LETTER WIDE TAV. Its distinct columns, one per line. 6 B
002873 unicode/part1/U+FB29 NormalizationTest.txt ﬩␊+ Line 14098: HEBREW LETTER ALTERNATIVE PLUS SIGN. Its distinct columns, one per line. 5 B
002874 unicode/part1/U+FB2A NormalizationTest.txt שׁ␊שׁ Line 14099: HEBREW LETTER SHIN WITH SHIN DOT. Its distinct columns, one per line. 8 B
002875 unicode/part1/U+FB2B NormalizationTest.txt שׂ␊שׂ Line 14100: HEBREW LETTER SHIN WITH SIN DOT. Its distinct columns, one per line. 8 B
002876 unicode/part1/U+FB2C NormalizationTest.txt שּׁ␊שּׁ Line 14101: HEBREW LETTER SHIN WITH DAGESH AND SHIN DOT. Its distinct columns, one per line. 10 B
002877 unicode/part1/U+FB2D NormalizationTest.txt שּׂ␊שּׂ Line 14102: HEBREW LETTER SHIN WITH DAGESH AND SIN DOT. Its distinct columns, one per line. 10 B
002878 unicode/part1/U+FB2E NormalizationTest.txt אַ␊אַ Line 14103: HEBREW LETTER ALEF WITH PATAH. Its distinct columns, one per line. 8 B
002879 unicode/part1/U+FB2F NormalizationTest.txt אָ␊אָ Line 14104: HEBREW LETTER ALEF WITH QAMATS. Its distinct columns, one per line. 8 B
002880 unicode/part1/U+FB30 NormalizationTest.txt אּ␊אּ Line 14105: HEBREW LETTER ALEF WITH MAPIQ. Its distinct columns, one per line. 8 B
002881 unicode/part1/U+FB31 NormalizationTest.txt בּ␊בּ Line 14106: HEBREW LETTER BET WITH DAGESH. Its distinct columns, one per line. 8 B
002882 unicode/part1/U+FB32 NormalizationTest.txt גּ␊גּ Line 14107: HEBREW LETTER GIMEL WITH DAGESH. Its distinct columns, one per line. 8 B
002883 unicode/part1/U+FB33 NormalizationTest.txt דּ␊דּ Line 14108: HEBREW LETTER DALET WITH DAGESH. Its distinct columns, one per line. 8 B
002884 unicode/part1/U+FB34 NormalizationTest.txt הּ␊הּ Line 14109: HEBREW LETTER HE WITH MAPIQ. Its distinct columns, one per line. 8 B
002885 unicode/part1/U+FB35 NormalizationTest.txt וּ␊וּ Line 14110: HEBREW LETTER VAV WITH DAGESH. Its distinct columns, one per line. 8 B
002886 unicode/part1/U+FB36 NormalizationTest.txt זּ␊זּ Line 14111: HEBREW LETTER ZAYIN WITH DAGESH. Its distinct columns, one per line. 8 B
002887 unicode/part1/U+FB38 NormalizationTest.txt טּ␊טּ Line 14112: HEBREW LETTER TET WITH DAGESH. Its distinct columns, one per line. 8 B
002888 unicode/part1/U+FB39 NormalizationTest.txt יּ␊יּ Line 14113: HEBREW LETTER YOD WITH DAGESH. Its distinct columns, one per line. 8 B
002889 unicode/part1/U+FB3A NormalizationTest.txt ךּ␊ךּ Line 14114: HEBREW LETTER FINAL KAF WITH DAGESH. Its distinct columns, one per line. 8 B
002890 unicode/part1/U+FB3B NormalizationTest.txt כּ␊כּ Line 14115: HEBREW LETTER KAF WITH DAGESH. Its distinct columns, one per line. 8 B
002891 unicode/part1/U+FB3C NormalizationTest.txt לּ␊לּ Line 14116: HEBREW LETTER LAMED WITH DAGESH. Its distinct columns, one per line. 8 B
002892 unicode/part1/U+FB3E NormalizationTest.txt מּ␊מּ Line 14117: HEBREW LETTER MEM WITH DAGESH. Its distinct columns, one per line. 8 B
002893 unicode/part1/U+FB40 NormalizationTest.txt נּ␊נּ Line 14118: HEBREW LETTER NUN WITH DAGESH. Its distinct columns, one per line. 8 B
002894 unicode/part1/U+FB41 NormalizationTest.txt סּ␊סּ Line 14119: HEBREW LETTER SAMEKH WITH DAGESH. Its distinct columns, one per line. 8 B
002895 unicode/part1/U+FB43 NormalizationTest.txt ףּ␊ףּ Line 14120: HEBREW LETTER FINAL PE WITH DAGESH. Its distinct columns, one per line. 8 B
002896 unicode/part1/U+FB44 NormalizationTest.txt פּ␊פּ Line 14121: HEBREW LETTER PE WITH DAGESH. Its distinct columns, one per line. 8 B
002897 unicode/part1/U+FB46 NormalizationTest.txt צּ␊צּ Line 14122: HEBREW LETTER TSADI WITH DAGESH. Its distinct columns, one per line. 8 B
002898 unicode/part1/U+FB47 NormalizationTest.txt קּ␊קּ Line 14123: HEBREW LETTER QOF WITH DAGESH. Its distinct columns, one per line. 8 B
002899 unicode/part1/U+FB48 NormalizationTest.txt רּ␊רּ Line 14124: HEBREW LETTER RESH WITH DAGESH. Its distinct columns, one per line. 8 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.