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

727 of 11,911 cases

Case Name Expected Note Size
008134 unicode/part4/line 19369 NormalizationTest.txt ḕ␊ḕ␊ḕ Line 19369: LATIN SMALL LETTER E WITH MACRON, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 14 B
008135 unicode/part4/line 19370 NormalizationTest.txt ḕ␊ḕ␊ḕ Line 19370: LATIN SMALL LETTER E WITH MACRON, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 14 B
008136 unicode/part4/line 19371 NormalizationTest.txt Ḗ␊Ḗ␊Ḗ Line 19371: LATIN CAPITAL LETTER E WITH MACRON, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 14 B
008137 unicode/part4/line 19372 NormalizationTest.txt Ḗ␊Ḗ␊Ḗ Line 19372: LATIN CAPITAL LETTER E WITH MACRON, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 14 B
008138 unicode/part4/line 19373 NormalizationTest.txt ḗ␊ḗ␊ḗ Line 19373: LATIN SMALL LETTER E WITH MACRON, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 14 B
008139 unicode/part4/line 19374 NormalizationTest.txt ḗ␊ḗ␊ḗ Line 19374: LATIN SMALL LETTER E WITH MACRON, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 14 B
008140 unicode/part4/line 19375 NormalizationTest.txt Ḝ␊Ḝ␊Ḝ Line 19375: LATIN CAPITAL LETTER E WITH BREVE, COMBINING CEDILLA. Its distinct columns, one per line. 14 B
008141 unicode/part4/line 19376 NormalizationTest.txt Ḝ␊Ḝ␊Ḝ Line 19376: LATIN CAPITAL LETTER E WITH CEDILLA, COMBINING BREVE. Its distinct columns, one per line. 14 B
008142 unicode/part4/line 19377 NormalizationTest.txt ḝ␊ḝ␊ḝ Line 19377: LATIN SMALL LETTER E WITH BREVE, COMBINING CEDILLA. Its distinct columns, one per line. 14 B
008143 unicode/part4/line 19378 NormalizationTest.txt ḝ␊ḝ␊ḝ Line 19378: LATIN SMALL LETTER E WITH CEDILLA, COMBINING BREVE. Its distinct columns, one per line. 14 B
008144 unicode/part4/line 19379 NormalizationTest.txt Ḯ␊Ḯ␊Ḯ Line 19379: LATIN CAPITAL LETTER I, COMBINING GREEK DIALYTIKA TONOS. Its distinct columns, one per line. 13 B
008145 unicode/part4/line 19380 NormalizationTest.txt Ḯ␊Ḯ␊Ḯ Line 19380: LATIN CAPITAL LETTER I WITH DIAERESIS, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 14 B
008146 unicode/part4/line 19381 NormalizationTest.txt Ḯ␊Ḯ␊Ḯ Line 19381: LATIN CAPITAL LETTER I WITH DIAERESIS, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 14 B
008147 unicode/part4/line 19382 NormalizationTest.txt ḯ␊ḯ␊ḯ Line 19382: LATIN SMALL LETTER I, COMBINING GREEK DIALYTIKA TONOS. Its distinct columns, one per line. 13 B
008148 unicode/part4/line 19383 NormalizationTest.txt ḯ␊ḯ␊ḯ Line 19383: LATIN SMALL LETTER I WITH DIAERESIS, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 14 B
008149 unicode/part4/line 19384 NormalizationTest.txt ḯ␊ḯ␊ḯ Line 19384: LATIN SMALL LETTER I WITH DIAERESIS, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 14 B
008150 unicode/part4/line 19385 NormalizationTest.txt Ḹ␊Ḹ␊Ḹ Line 19385: LATIN CAPITAL LETTER L WITH DOT BELOW, COMBINING MACRON. Its distinct columns, one per line. 15 B
008151 unicode/part4/line 19386 NormalizationTest.txt ḹ␊ḹ␊ḹ Line 19386: LATIN SMALL LETTER L WITH DOT BELOW, COMBINING MACRON. Its distinct columns, one per line. 15 B
008152 unicode/part4/line 19387 NormalizationTest.txt Ṍ␊Ṍ␊Ṍ Line 19387: LATIN CAPITAL LETTER O WITH TILDE, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 14 B
008153 unicode/part4/line 19388 NormalizationTest.txt Ṍ␊Ṍ␊Ṍ Line 19388: LATIN CAPITAL LETTER O WITH TILDE, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 14 B
008154 unicode/part4/line 19389 NormalizationTest.txt ṍ␊ṍ␊ṍ Line 19389: LATIN SMALL LETTER O WITH TILDE, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 14 B
008155 unicode/part4/line 19390 NormalizationTest.txt ṍ␊ṍ␊ṍ Line 19390: LATIN SMALL LETTER O WITH TILDE, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 14 B
008156 unicode/part4/line 19391 NormalizationTest.txt Ṏ␊Ṏ␊Ṏ Line 19391: LATIN CAPITAL LETTER O WITH TILDE, COMBINING DIAERESIS. Its distinct columns, one per line. 14 B
008157 unicode/part4/line 19392 NormalizationTest.txt ṏ␊ṏ␊ṏ Line 19392: LATIN SMALL LETTER O WITH TILDE, COMBINING DIAERESIS. Its distinct columns, one per line. 14 B
008158 unicode/part4/line 19393 NormalizationTest.txt Ṑ␊Ṑ␊Ṑ Line 19393: LATIN CAPITAL LETTER O WITH MACRON, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 14 B
008159 unicode/part4/line 19394 NormalizationTest.txt Ṑ␊Ṑ␊Ṑ Line 19394: LATIN CAPITAL LETTER O WITH MACRON, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 14 B
008160 unicode/part4/line 19395 NormalizationTest.txt ṑ␊ṑ␊ṑ Line 19395: LATIN SMALL LETTER O WITH MACRON, COMBINING GRAVE ACCENT. Its distinct columns, one per line. 14 B
008161 unicode/part4/line 19396 NormalizationTest.txt ṑ␊ṑ␊ṑ Line 19396: LATIN SMALL LETTER O WITH MACRON, COMBINING GRAVE TONE MARK. Its distinct columns, one per line. 14 B
008162 unicode/part4/line 19397 NormalizationTest.txt Ṓ␊Ṓ␊Ṓ Line 19397: LATIN CAPITAL LETTER O WITH MACRON, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 14 B
008163 unicode/part4/line 19398 NormalizationTest.txt Ṓ␊Ṓ␊Ṓ Line 19398: LATIN CAPITAL LETTER O WITH MACRON, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 14 B
008164 unicode/part4/line 19399 NormalizationTest.txt ṓ␊ṓ␊ṓ Line 19399: LATIN SMALL LETTER O WITH MACRON, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 14 B
008165 unicode/part4/line 19400 NormalizationTest.txt ṓ␊ṓ␊ṓ Line 19400: LATIN SMALL LETTER O WITH MACRON, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 14 B
008166 unicode/part4/line 19401 NormalizationTest.txt Ṝ␊Ṝ␊Ṝ Line 19401: LATIN CAPITAL LETTER R WITH DOT BELOW, COMBINING MACRON. Its distinct columns, one per line. 15 B
008167 unicode/part4/line 19402 NormalizationTest.txt ṝ␊ṝ␊ṝ Line 19402: LATIN SMALL LETTER R WITH DOT BELOW, COMBINING MACRON. Its distinct columns, one per line. 15 B
008168 unicode/part4/line 19403 NormalizationTest.txt Ṥ␊Ṥ␊Ṥ Line 19403: LATIN CAPITAL LETTER S WITH ACUTE, COMBINING DOT ABOVE. Its distinct columns, one per line. 14 B
008169 unicode/part4/line 19404 NormalizationTest.txt ṥ␊ṥ␊ṥ Line 19404: LATIN SMALL LETTER S WITH ACUTE, COMBINING DOT ABOVE. Its distinct columns, one per line. 14 B
008170 unicode/part4/line 19405 NormalizationTest.txt Ṧ␊Ṧ␊Ṧ Line 19405: LATIN CAPITAL LETTER S WITH CARON, COMBINING DOT ABOVE. Its distinct columns, one per line. 14 B
008171 unicode/part4/line 19406 NormalizationTest.txt ṧ␊ṧ␊ṧ Line 19406: LATIN SMALL LETTER S WITH CARON, COMBINING DOT ABOVE. Its distinct columns, one per line. 14 B
008172 unicode/part4/line 19407 NormalizationTest.txt Ṩ␊Ṩ␊Ṩ Line 19407: LATIN CAPITAL LETTER S WITH DOT ABOVE, COMBINING DOT BELOW. Its distinct columns, one per line. 15 B
008173 unicode/part4/line 19408 NormalizationTest.txt Ṩ␊Ṩ␊Ṩ Line 19408: LATIN CAPITAL LETTER S WITH DOT BELOW, COMBINING DOT ABOVE. Its distinct columns, one per line. 15 B
008174 unicode/part4/line 19409 NormalizationTest.txt ṩ␊ṩ␊ṩ Line 19409: LATIN SMALL LETTER S WITH DOT ABOVE, COMBINING DOT BELOW. Its distinct columns, one per line. 15 B
008175 unicode/part4/line 19410 NormalizationTest.txt ṩ␊ṩ␊ṩ Line 19410: LATIN SMALL LETTER S WITH DOT BELOW, COMBINING DOT ABOVE. Its distinct columns, one per line. 15 B
008176 unicode/part4/line 19411 NormalizationTest.txt Ṹ␊Ṹ␊Ṹ Line 19411: LATIN CAPITAL LETTER U WITH TILDE, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 14 B
008177 unicode/part4/line 19412 NormalizationTest.txt Ṹ␊Ṹ␊Ṹ Line 19412: LATIN CAPITAL LETTER U WITH TILDE, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 14 B
008178 unicode/part4/line 19413 NormalizationTest.txt ṹ␊ṹ␊ṹ Line 19413: LATIN SMALL LETTER U WITH TILDE, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 14 B
008179 unicode/part4/line 19414 NormalizationTest.txt ṹ␊ṹ␊ṹ Line 19414: LATIN SMALL LETTER U WITH TILDE, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 14 B
008180 unicode/part4/line 19415 NormalizationTest.txt Ṻ␊Ṻ␊Ṻ Line 19415: LATIN CAPITAL LETTER U WITH MACRON, COMBINING DIAERESIS. Its distinct columns, one per line. 14 B
008181 unicode/part4/line 19416 NormalizationTest.txt ṻ␊ṻ␊ṻ Line 19416: LATIN SMALL LETTER U WITH MACRON, COMBINING DIAERESIS. Its distinct columns, one per line. 14 B
008182 unicode/part4/line 19417 NormalizationTest.txt Ấ␊Ấ␊Ấ Line 19417: LATIN CAPITAL LETTER A WITH CIRCUMFLEX, COMBINING ACUTE ACCENT. Its distinct columns, one per line. 14 B
008183 unicode/part4/line 19418 NormalizationTest.txt Ấ␊Ấ␊Ấ Line 19418: LATIN CAPITAL LETTER A WITH CIRCUMFLEX, COMBINING ACUTE TONE MARK. Its distinct columns, one per line. 14 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.