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

956 of 11,911 cases

Case Name Expected Note Size
000059 unicode/part1/U+00C0 NormalizationTest.txt À␊À Line 107: LATIN CAPITAL LETTER A WITH GRAVE. Its distinct columns, one per line. 6 B
000060 unicode/part1/U+00C1 NormalizationTest.txt Á␊Á Line 108: LATIN CAPITAL LETTER A WITH ACUTE. Its distinct columns, one per line. 6 B
000061 unicode/part1/U+00C2 NormalizationTest.txt Â␊Â Line 109: LATIN CAPITAL LETTER A WITH CIRCUMFLEX. Its distinct columns, one per line. 6 B
000062 unicode/part1/U+00C3 NormalizationTest.txt Ã␊Ã Line 110: LATIN CAPITAL LETTER A WITH TILDE. Its distinct columns, one per line. 6 B
000063 unicode/part1/U+00C4 NormalizationTest.txt Ä␊Ä Line 111: LATIN CAPITAL LETTER A WITH DIAERESIS. Its distinct columns, one per line. 6 B
000064 unicode/part1/U+00C5 NormalizationTest.txt Å␊Å Line 112: LATIN CAPITAL LETTER A WITH RING ABOVE. Its distinct columns, one per line. 6 B
000065 unicode/part1/U+00C7 NormalizationTest.txt Ç␊Ç Line 113: LATIN CAPITAL LETTER C WITH CEDILLA. Its distinct columns, one per line. 6 B
000066 unicode/part1/U+00C9 NormalizationTest.txt É␊É Line 115: LATIN CAPITAL LETTER E WITH ACUTE. Its distinct columns, one per line. 6 B
000067 unicode/part1/U+00CA NormalizationTest.txt Ê␊Ê Line 116: LATIN CAPITAL LETTER E WITH CIRCUMFLEX. Its distinct columns, one per line. 6 B
000068 unicode/part1/U+00CB NormalizationTest.txt Ë␊Ë Line 117: LATIN CAPITAL LETTER E WITH DIAERESIS. Its distinct columns, one per line. 6 B
000069 unicode/part1/U+00CC NormalizationTest.txt Ì␊Ì Line 118: LATIN CAPITAL LETTER I WITH GRAVE. Its distinct columns, one per line. 6 B
000070 unicode/part1/U+00CD NormalizationTest.txt Í␊Í Line 119: LATIN CAPITAL LETTER I WITH ACUTE. Its distinct columns, one per line. 6 B
000071 unicode/part1/U+00CE NormalizationTest.txt Î␊Î Line 120: LATIN CAPITAL LETTER I WITH CIRCUMFLEX. Its distinct columns, one per line. 6 B
000072 unicode/part1/U+00CF NormalizationTest.txt Ï␊Ï Line 121: LATIN CAPITAL LETTER I WITH DIAERESIS. Its distinct columns, one per line. 6 B
000073 unicode/part1/U+00D1 NormalizationTest.txt Ñ␊Ñ Line 122: LATIN CAPITAL LETTER N WITH TILDE. Its distinct columns, one per line. 6 B
000074 unicode/part1/U+00D2 NormalizationTest.txt Ò␊Ò Line 123: LATIN CAPITAL LETTER O WITH GRAVE. Its distinct columns, one per line. 6 B
000075 unicode/part1/U+00D3 NormalizationTest.txt Ó␊Ó Line 124: LATIN CAPITAL LETTER O WITH ACUTE. Its distinct columns, one per line. 6 B
000076 unicode/part1/U+00D4 NormalizationTest.txt Ô␊Ô Line 125: LATIN CAPITAL LETTER O WITH CIRCUMFLEX. Its distinct columns, one per line. 6 B
000077 unicode/part1/U+00D5 NormalizationTest.txt Õ␊Õ Line 126: LATIN CAPITAL LETTER O WITH TILDE. Its distinct columns, one per line. 6 B
000078 unicode/part1/U+00D6 NormalizationTest.txt Ö␊Ö Line 127: LATIN CAPITAL LETTER O WITH DIAERESIS. Its distinct columns, one per line. 6 B
000079 unicode/part1/U+00D9 NormalizationTest.txt Ù␊Ù Line 128: LATIN CAPITAL LETTER U WITH GRAVE. Its distinct columns, one per line. 6 B
000080 unicode/part1/U+00DA NormalizationTest.txt Ú␊Ú Line 129: LATIN CAPITAL LETTER U WITH ACUTE. Its distinct columns, one per line. 6 B
000081 unicode/part1/U+00DB NormalizationTest.txt Û␊Û Line 130: LATIN CAPITAL LETTER U WITH CIRCUMFLEX. Its distinct columns, one per line. 6 B
000082 unicode/part1/U+00DC NormalizationTest.txt Ü␊Ü Line 131: LATIN CAPITAL LETTER U WITH DIAERESIS. Its distinct columns, one per line. 6 B
000083 unicode/part1/U+00DD NormalizationTest.txt Ý␊Ý Line 132: LATIN CAPITAL LETTER Y WITH ACUTE. Its distinct columns, one per line. 6 B
000084 unicode/part1/U+00E0 NormalizationTest.txt à␊à Line 133: LATIN SMALL LETTER A WITH GRAVE. Its distinct columns, one per line. 6 B
000085 unicode/part1/U+00E1 NormalizationTest.txt á␊á Line 134: LATIN SMALL LETTER A WITH ACUTE. Its distinct columns, one per line. 6 B
000086 unicode/part1/U+00E2 NormalizationTest.txt â␊â Line 135: LATIN SMALL LETTER A WITH CIRCUMFLEX. Its distinct columns, one per line. 6 B
000087 unicode/part1/U+00E3 NormalizationTest.txt ã␊ã Line 136: LATIN SMALL LETTER A WITH TILDE. Its distinct columns, one per line. 6 B
000088 unicode/part1/U+00E4 NormalizationTest.txt ä␊ä Line 137: LATIN SMALL LETTER A WITH DIAERESIS. Its distinct columns, one per line. 6 B
000089 unicode/part1/U+00E5 NormalizationTest.txt å␊å Line 138: LATIN SMALL LETTER A WITH RING ABOVE. Its distinct columns, one per line. 6 B
000090 unicode/part1/U+00E7 NormalizationTest.txt ç␊ç Line 139: LATIN SMALL LETTER C WITH CEDILLA. Its distinct columns, one per line. 6 B
000091 unicode/part1/U+00E8 NormalizationTest.txt è␊è Line 140: LATIN SMALL LETTER E WITH GRAVE. Its distinct columns, one per line. 6 B
000092 unicode/part1/U+00E9 NormalizationTest.txt é␊é Line 141: LATIN SMALL LETTER E WITH ACUTE. Its distinct columns, one per line. 6 B
000093 unicode/part1/U+00EA NormalizationTest.txt ê␊ê Line 142: LATIN SMALL LETTER E WITH CIRCUMFLEX. Its distinct columns, one per line. 6 B
000094 unicode/part1/U+00EB NormalizationTest.txt ë␊ë Line 143: LATIN SMALL LETTER E WITH DIAERESIS. Its distinct columns, one per line. 6 B
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

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.