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

3,833 of 11,911 cases

Case Name Expected Note Size
001131 unicode/part1/U+203C NormalizationTest.txt ‼␊!! Line 1184: DOUBLE EXCLAMATION MARK. Its distinct columns, one per line. 6 B
001132 unicode/part1/U+203E NormalizationTest.txt ‾␊ ̅ Line 1185: OVERLINE. Its distinct columns, one per line. 7 B
001133 unicode/part1/U+2047 NormalizationTest.txt ⁇␊?? Line 1186: DOUBLE QUESTION MARK. Its distinct columns, one per line. 6 B
001134 unicode/part1/U+2048 NormalizationTest.txt ⁈␊?! Line 1187: QUESTION EXCLAMATION MARK. Its distinct columns, one per line. 6 B
001135 unicode/part1/U+2049 NormalizationTest.txt ⁉␊!? Line 1188: EXCLAMATION QUESTION MARK. Its distinct columns, one per line. 6 B
001136 unicode/part1/U+2057 NormalizationTest.txt ⁗␊′′′′ Line 1189: QUADRUPLE PRIME. Its distinct columns, one per line. 16 B
001137 unicode/part1/U+205F NormalizationTest.txt  ␊ Line 1190: MEDIUM MATHEMATICAL SPACE. Its distinct columns, one per line. 5 B
001138 unicode/part1/U+2070 NormalizationTest.txt ⁰␊0 Line 1191: SUPERSCRIPT ZERO. Its distinct columns, one per line. 5 B
001139 unicode/part1/U+2071 NormalizationTest.txt ⁱ␊i Line 1192: SUPERSCRIPT LATIN SMALL LETTER I. Its distinct columns, one per line. 5 B
001140 unicode/part1/U+2074 NormalizationTest.txt ⁴␊4 Line 1193: SUPERSCRIPT FOUR. Its distinct columns, one per line. 5 B
001141 unicode/part1/U+2075 NormalizationTest.txt ⁵␊5 Line 1194: SUPERSCRIPT FIVE. Its distinct columns, one per line. 5 B
001142 unicode/part1/U+2076 NormalizationTest.txt ⁶␊6 Line 1195: SUPERSCRIPT SIX. Its distinct columns, one per line. 5 B
001143 unicode/part1/U+2077 NormalizationTest.txt ⁷␊7 Line 1196: SUPERSCRIPT SEVEN. Its distinct columns, one per line. 5 B
001144 unicode/part1/U+2078 NormalizationTest.txt ⁸␊8 Line 1197: SUPERSCRIPT EIGHT. Its distinct columns, one per line. 5 B
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

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.