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
001145 unicode/part1/U+2079 NormalizationTest.txt ⁹␊9 Line 1198: SUPERSCRIPT NINE. Its distinct columns, one per line. 5 B
001146 unicode/part1/U+207A NormalizationTest.txt ⁺␊+ Line 1199: SUPERSCRIPT PLUS SIGN. Its distinct columns, one per line. 5 B
001147 unicode/part1/U+207B NormalizationTest.txt ⁻␊− Line 1200: SUPERSCRIPT MINUS. Its distinct columns, one per line. 7 B
001148 unicode/part1/U+207C NormalizationTest.txt ⁼␊= Line 1201: SUPERSCRIPT EQUALS SIGN. Its distinct columns, one per line. 5 B
001149 unicode/part1/U+207D NormalizationTest.txt ⁽␊( Line 1202: SUPERSCRIPT LEFT PARENTHESIS. Its distinct columns, one per line. 5 B
001150 unicode/part1/U+207E NormalizationTest.txt ⁾␊) Line 1203: SUPERSCRIPT RIGHT PARENTHESIS. Its distinct columns, one per line. 5 B
001151 unicode/part1/U+207F NormalizationTest.txt ⁿ␊n Line 1204: SUPERSCRIPT LATIN SMALL LETTER N. Its distinct columns, one per line. 5 B
001152 unicode/part1/U+2080 NormalizationTest.txt ₀␊0 Line 1205: SUBSCRIPT ZERO. Its distinct columns, one per line. 5 B
001153 unicode/part1/U+2081 NormalizationTest.txt ₁␊1 Line 1206: SUBSCRIPT ONE. Its distinct columns, one per line. 5 B
001154 unicode/part1/U+2082 NormalizationTest.txt ₂␊2 Line 1207: SUBSCRIPT TWO. Its distinct columns, one per line. 5 B
001155 unicode/part1/U+2083 NormalizationTest.txt ₃␊3 Line 1208: SUBSCRIPT THREE. Its distinct columns, one per line. 5 B
001156 unicode/part1/U+2084 NormalizationTest.txt ₄␊4 Line 1209: SUBSCRIPT FOUR. Its distinct columns, one per line. 5 B
001157 unicode/part1/U+2085 NormalizationTest.txt ₅␊5 Line 1210: SUBSCRIPT FIVE. Its distinct columns, one per line. 5 B
001158 unicode/part1/U+2086 NormalizationTest.txt ₆␊6 Line 1211: SUBSCRIPT SIX. Its distinct columns, one per line. 5 B
001159 unicode/part1/U+2087 NormalizationTest.txt ₇␊7 Line 1212: SUBSCRIPT SEVEN. Its distinct columns, one per line. 5 B
001160 unicode/part1/U+2088 NormalizationTest.txt ₈␊8 Line 1213: SUBSCRIPT EIGHT. Its distinct columns, one per line. 5 B
001161 unicode/part1/U+2089 NormalizationTest.txt ₉␊9 Line 1214: SUBSCRIPT NINE. Its distinct columns, one per line. 5 B
001162 unicode/part1/U+208A NormalizationTest.txt ₊␊+ Line 1215: SUBSCRIPT PLUS SIGN. Its distinct columns, one per line. 5 B
001163 unicode/part1/U+208B NormalizationTest.txt ₋␊− Line 1216: SUBSCRIPT MINUS. Its distinct columns, one per line. 7 B
001164 unicode/part1/U+208C NormalizationTest.txt ₌␊= Line 1217: SUBSCRIPT EQUALS SIGN. Its distinct columns, one per line. 5 B
001165 unicode/part1/U+208D NormalizationTest.txt ₍␊( Line 1218: SUBSCRIPT LEFT PARENTHESIS. Its distinct columns, one per line. 5 B
001166 unicode/part1/U+208E NormalizationTest.txt ₎␊) Line 1219: SUBSCRIPT RIGHT PARENTHESIS. Its distinct columns, one per line. 5 B
001167 unicode/part1/U+2090 NormalizationTest.txt ₐ␊a Line 1220: LATIN SUBSCRIPT SMALL LETTER A. Its distinct columns, one per line. 5 B
001168 unicode/part1/U+2091 NormalizationTest.txt ₑ␊e Line 1221: LATIN SUBSCRIPT SMALL LETTER E. Its distinct columns, one per line. 5 B
001169 unicode/part1/U+2092 NormalizationTest.txt ₒ␊o Line 1222: LATIN SUBSCRIPT SMALL LETTER O. Its distinct columns, one per line. 5 B
001170 unicode/part1/U+2093 NormalizationTest.txt ₓ␊x Line 1223: LATIN SUBSCRIPT SMALL LETTER X. Its distinct columns, one per line. 5 B
001171 unicode/part1/U+2094 NormalizationTest.txt ₔ␊ə Line 1224: LATIN SUBSCRIPT SMALL LETTER SCHWA. Its distinct columns, one per line. 6 B
001172 unicode/part1/U+2095 NormalizationTest.txt ₕ␊h Line 1225: LATIN SUBSCRIPT SMALL LETTER H. Its distinct columns, one per line. 5 B
001173 unicode/part1/U+2096 NormalizationTest.txt ₖ␊k Line 1226: LATIN SUBSCRIPT SMALL LETTER K. Its distinct columns, one per line. 5 B
001174 unicode/part1/U+2097 NormalizationTest.txt ₗ␊l Line 1227: LATIN SUBSCRIPT SMALL LETTER L. Its distinct columns, one per line. 5 B
001175 unicode/part1/U+2098 NormalizationTest.txt ₘ␊m Line 1228: LATIN SUBSCRIPT SMALL LETTER M. Its distinct columns, one per line. 5 B
001176 unicode/part1/U+2099 NormalizationTest.txt ₙ␊n Line 1229: LATIN SUBSCRIPT SMALL LETTER N. Its distinct columns, one per line. 5 B
001177 unicode/part1/U+209A NormalizationTest.txt ₚ␊p Line 1230: LATIN SUBSCRIPT SMALL LETTER P. Its distinct columns, one per line. 5 B
001178 unicode/part1/U+209B NormalizationTest.txt ₛ␊s Line 1231: LATIN SUBSCRIPT SMALL LETTER S. Its distinct columns, one per line. 5 B
001179 unicode/part1/U+209C NormalizationTest.txt ₜ␊t Line 1232: LATIN SUBSCRIPT SMALL LETTER T. Its distinct columns, one per line. 5 B
001180 unicode/part1/U+20A8 NormalizationTest.txt ₨␊Rs Line 1233: RUPEE SIGN. Its distinct columns, one per line. 6 B
001181 unicode/part1/U+2100 NormalizationTest.txt ℀␊a/c Line 1234: ACCOUNT OF. Its distinct columns, one per line. 7 B
001182 unicode/part1/U+2101 NormalizationTest.txt ℁␊a/s Line 1235: ADDRESSED TO THE SUBJECT. Its distinct columns, one per line. 7 B
001183 unicode/part1/U+2102 NormalizationTest.txt ℂ␊C Line 1236: DOUBLE-STRUCK CAPITAL C. Its distinct columns, one per line. 5 B
001184 unicode/part1/U+2103 NormalizationTest.txt ℃␊°C Line 1237: DEGREE CELSIUS. Its distinct columns, one per line. 7 B
001185 unicode/part1/U+2105 NormalizationTest.txt ℅␊c/o Line 1238: CARE OF. Its distinct columns, one per line. 7 B
001186 unicode/part1/U+2106 NormalizationTest.txt ℆␊c/u Line 1239: CADA UNA. Its distinct columns, one per line. 7 B
001187 unicode/part1/U+2107 NormalizationTest.txt ℇ␊Ɛ Line 1240: EULER CONSTANT. Its distinct columns, one per line. 6 B
001188 unicode/part1/U+2109 NormalizationTest.txt ℉␊°F Line 1241: DEGREE FAHRENHEIT. Its distinct columns, one per line. 7 B
001189 unicode/part1/U+210A NormalizationTest.txt ℊ␊g Line 1242: SCRIPT SMALL G. Its distinct columns, one per line. 5 B
001190 unicode/part1/U+210B NormalizationTest.txt ℋ␊H Line 1243: SCRIPT CAPITAL H. Its distinct columns, one per line. 5 B
001191 unicode/part1/U+210C NormalizationTest.txt ℌ␊H Line 1244: BLACK-LETTER CAPITAL H. Its distinct columns, one per line. 5 B
001192 unicode/part1/U+210D NormalizationTest.txt ℍ␊H Line 1245: DOUBLE-STRUCK CAPITAL H. Its distinct columns, one per line. 5 B
001193 unicode/part1/U+210E NormalizationTest.txt ℎ␊h Line 1246: PLANCK CONSTANT. Its distinct columns, one per line. 5 B
001194 unicode/part1/U+210F NormalizationTest.txt ℏ␊ħ Line 1247: PLANCK CONSTANT OVER TWO PI. 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.