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

5,928 of 11,911 cases

Case Name Expected Note Size
000095 unicode/part1/U+00EC NormalizationTest.txt ì␊ì Line 144: LATIN SMALL LETTER I WITH GRAVE. Its distinct columns, one per line. 6 B
000096 unicode/part1/U+00ED NormalizationTest.txt í␊í Line 145: LATIN SMALL LETTER I WITH ACUTE. Its distinct columns, one per line. 6 B
000097 unicode/part1/U+00EE NormalizationTest.txt î␊î Line 146: LATIN SMALL LETTER I WITH CIRCUMFLEX. Its distinct columns, one per line. 6 B
000098 unicode/part1/U+00EF NormalizationTest.txt ï␊ï Line 147: LATIN SMALL LETTER I WITH DIAERESIS. Its distinct columns, one per line. 6 B
000099 unicode/part1/U+00F1 NormalizationTest.txt ñ␊ñ Line 148: LATIN SMALL LETTER N WITH TILDE. Its distinct columns, one per line. 6 B
000100 unicode/part1/U+00F2 NormalizationTest.txt ò␊ò Line 149: LATIN SMALL LETTER O WITH GRAVE. Its distinct columns, one per line. 6 B
000101 unicode/part1/U+00F3 NormalizationTest.txt ó␊ó Line 150: LATIN SMALL LETTER O WITH ACUTE. Its distinct columns, one per line. 6 B
000102 unicode/part1/U+00F4 NormalizationTest.txt ô␊ô Line 151: LATIN SMALL LETTER O WITH CIRCUMFLEX. Its distinct columns, one per line. 6 B
000103 unicode/part1/U+00F5 NormalizationTest.txt õ␊õ Line 152: LATIN SMALL LETTER O WITH TILDE. Its distinct columns, one per line. 6 B
000104 unicode/part1/U+00F6 NormalizationTest.txt ö␊ö Line 153: LATIN SMALL LETTER O WITH DIAERESIS. Its distinct columns, one per line. 6 B
000105 unicode/part1/U+00F9 NormalizationTest.txt ù␊ù Line 154: LATIN SMALL LETTER U WITH GRAVE. Its distinct columns, one per line. 6 B
000106 unicode/part1/U+00FA NormalizationTest.txt ú␊ú Line 155: LATIN SMALL LETTER U WITH ACUTE. Its distinct columns, one per line. 6 B
000107 unicode/part1/U+00FB NormalizationTest.txt û␊û Line 156: LATIN SMALL LETTER U WITH CIRCUMFLEX. Its distinct columns, one per line. 6 B
000108 unicode/part1/U+00FC NormalizationTest.txt ü␊ü Line 157: LATIN SMALL LETTER U WITH DIAERESIS. Its distinct columns, one per line. 6 B
000109 unicode/part1/U+00FD NormalizationTest.txt ý␊ý Line 158: LATIN SMALL LETTER Y WITH ACUTE. Its distinct columns, one per line. 6 B
000110 unicode/part1/U+00FF NormalizationTest.txt ÿ␊ÿ Line 159: LATIN SMALL LETTER Y WITH DIAERESIS. Its distinct columns, one per line. 6 B
000111 unicode/part1/U+0100 NormalizationTest.txt Ā␊Ā Line 160: LATIN CAPITAL LETTER A WITH MACRON. Its distinct columns, one per line. 6 B
000112 unicode/part1/U+0101 NormalizationTest.txt ā␊ā Line 161: LATIN SMALL LETTER A WITH MACRON. Its distinct columns, one per line. 6 B
000113 unicode/part1/U+0102 NormalizationTest.txt Ă␊Ă Line 162: LATIN CAPITAL LETTER A WITH BREVE. Its distinct columns, one per line. 6 B
000114 unicode/part1/U+0103 NormalizationTest.txt ă␊ă Line 163: LATIN SMALL LETTER A WITH BREVE. Its distinct columns, one per line. 6 B
000115 unicode/part1/U+0104 NormalizationTest.txt Ą␊Ą Line 164: LATIN CAPITAL LETTER A WITH OGONEK. Its distinct columns, one per line. 6 B
000116 unicode/part1/U+0105 NormalizationTest.txt ą␊ą Line 165: LATIN SMALL LETTER A WITH OGONEK. Its distinct columns, one per line. 6 B
000117 unicode/part1/U+0106 NormalizationTest.txt Ć␊Ć Line 166: LATIN CAPITAL LETTER C WITH ACUTE. Its distinct columns, one per line. 6 B
000118 unicode/part1/U+0107 NormalizationTest.txt ć␊ć Line 167: LATIN SMALL LETTER C WITH ACUTE. Its distinct columns, one per line. 6 B
000119 unicode/part1/U+0108 NormalizationTest.txt Ĉ␊Ĉ Line 168: LATIN CAPITAL LETTER C WITH CIRCUMFLEX. Its distinct columns, one per line. 6 B
000120 unicode/part1/U+0109 NormalizationTest.txt ĉ␊ĉ Line 169: LATIN SMALL LETTER C WITH CIRCUMFLEX. Its distinct columns, one per line. 6 B
000121 unicode/part1/U+010A NormalizationTest.txt Ċ␊Ċ Line 170: LATIN CAPITAL LETTER C WITH DOT ABOVE. Its distinct columns, one per line. 6 B
000122 unicode/part1/U+010B NormalizationTest.txt ċ␊ċ Line 171: LATIN SMALL LETTER C WITH DOT ABOVE. Its distinct columns, one per line. 6 B
000123 unicode/part1/U+010C NormalizationTest.txt Č␊Č Line 172: LATIN CAPITAL LETTER C WITH CARON. Its distinct columns, one per line. 6 B
000124 unicode/part1/U+010D NormalizationTest.txt č␊č Line 173: LATIN SMALL LETTER C WITH CARON. Its distinct columns, one per line. 6 B
000125 unicode/part1/U+010E NormalizationTest.txt Ď␊Ď Line 174: LATIN CAPITAL LETTER D WITH CARON. Its distinct columns, one per line. 6 B
000126 unicode/part1/U+010F NormalizationTest.txt ď␊ď Line 175: LATIN SMALL LETTER D WITH CARON. Its distinct columns, one per line. 6 B
000127 unicode/part1/U+0113 NormalizationTest.txt ē␊ē Line 177: LATIN SMALL LETTER E WITH MACRON. Its distinct columns, one per line. 6 B
000128 unicode/part1/U+0114 NormalizationTest.txt Ĕ␊Ĕ Line 178: LATIN CAPITAL LETTER E WITH BREVE. Its distinct columns, one per line. 6 B
000129 unicode/part1/U+0115 NormalizationTest.txt ĕ␊ĕ Line 179: LATIN SMALL LETTER E WITH BREVE. Its distinct columns, one per line. 6 B
000130 unicode/part1/U+0116 NormalizationTest.txt Ė␊Ė Line 180: LATIN CAPITAL LETTER E WITH DOT ABOVE. Its distinct columns, one per line. 6 B
000131 unicode/part1/U+0117 NormalizationTest.txt ė␊ė Line 181: LATIN SMALL LETTER E WITH DOT ABOVE. Its distinct columns, one per line. 6 B
000132 unicode/part1/U+0118 NormalizationTest.txt Ę␊Ę Line 182: LATIN CAPITAL LETTER E WITH OGONEK. Its distinct columns, one per line. 6 B
000133 unicode/part1/U+0119 NormalizationTest.txt ę␊ę Line 183: LATIN SMALL LETTER E WITH OGONEK. Its distinct columns, one per line. 6 B
000134 unicode/part1/U+011A NormalizationTest.txt Ě␊Ě Line 184: LATIN CAPITAL LETTER E WITH CARON. Its distinct columns, one per line. 6 B
000135 unicode/part1/U+011B NormalizationTest.txt ě␊ě Line 185: LATIN SMALL LETTER E WITH CARON. Its distinct columns, one per line. 6 B
000136 unicode/part1/U+011C NormalizationTest.txt Ĝ␊Ĝ Line 186: LATIN CAPITAL LETTER G WITH CIRCUMFLEX. Its distinct columns, one per line. 6 B
000137 unicode/part1/U+011D NormalizationTest.txt ĝ␊ĝ Line 187: LATIN SMALL LETTER G WITH CIRCUMFLEX. Its distinct columns, one per line. 6 B
000138 unicode/part1/U+011E NormalizationTest.txt Ğ␊Ğ Line 188: LATIN CAPITAL LETTER G WITH BREVE. Its distinct columns, one per line. 6 B
000139 unicode/part1/U+011F NormalizationTest.txt ğ␊ğ Line 189: LATIN SMALL LETTER G WITH BREVE. Its distinct columns, one per line. 6 B
000140 unicode/part1/U+0120 NormalizationTest.txt Ġ␊Ġ Line 190: LATIN CAPITAL LETTER G WITH DOT ABOVE. Its distinct columns, one per line. 6 B
000141 unicode/part1/U+0121 NormalizationTest.txt ġ␊ġ Line 191: LATIN SMALL LETTER G WITH DOT ABOVE. Its distinct columns, one per line. 6 B
000142 unicode/part1/U+0122 NormalizationTest.txt Ģ␊Ģ Line 192: LATIN CAPITAL LETTER G WITH CEDILLA. Its distinct columns, one per line. 6 B
000143 unicode/part1/U+0123 NormalizationTest.txt ģ␊ģ Line 193: LATIN SMALL LETTER G WITH CEDILLA. Its distinct columns, one per line. 6 B
000144 unicode/part1/U+0124 NormalizationTest.txt Ĥ␊Ĥ Line 194: LATIN CAPITAL LETTER H WITH CIRCUMFLEX. Its distinct columns, one per line. 6 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.