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
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
001195 unicode/part1/U+2110 NormalizationTest.txt ℐ␊I Line 1248: SCRIPT CAPITAL I. Its distinct columns, one per line. 5 B
001196 unicode/part1/U+2111 NormalizationTest.txt ℑ␊I Line 1249: BLACK-LETTER CAPITAL I. Its distinct columns, one per line. 5 B
001197 unicode/part1/U+2112 NormalizationTest.txt ℒ␊L Line 1250: SCRIPT CAPITAL L. Its distinct columns, one per line. 5 B
001198 unicode/part1/U+2113 NormalizationTest.txt ℓ␊l Line 1251: SCRIPT SMALL L. Its distinct columns, one per line. 5 B
001199 unicode/part1/U+2115 NormalizationTest.txt ℕ␊N Line 1252: DOUBLE-STRUCK CAPITAL N. Its distinct columns, one per line. 5 B
001200 unicode/part1/U+2116 NormalizationTest.txt №␊No Line 1253: NUMERO SIGN. Its distinct columns, one per line. 6 B
001201 unicode/part1/U+2119 NormalizationTest.txt ℙ␊P Line 1254: DOUBLE-STRUCK CAPITAL P. Its distinct columns, one per line. 5 B
001202 unicode/part1/U+211A NormalizationTest.txt ℚ␊Q Line 1255: DOUBLE-STRUCK CAPITAL Q. Its distinct columns, one per line. 5 B
001203 unicode/part1/U+211B NormalizationTest.txt ℛ␊R Line 1256: SCRIPT CAPITAL R. Its distinct columns, one per line. 5 B
001204 unicode/part1/U+211C NormalizationTest.txt ℜ␊R Line 1257: BLACK-LETTER CAPITAL R. Its distinct columns, one per line. 5 B
001205 unicode/part1/U+211D NormalizationTest.txt ℝ␊R Line 1258: DOUBLE-STRUCK CAPITAL R. Its distinct columns, one per line. 5 B
001206 unicode/part1/U+2120 NormalizationTest.txt ℠␊SM Line 1259: SERVICE MARK. Its distinct columns, one per line. 6 B
001207 unicode/part1/U+2121 NormalizationTest.txt ℡␊TEL Line 1260: TELEPHONE SIGN. Its distinct columns, one per line. 7 B
001208 unicode/part1/U+2122 NormalizationTest.txt ™␊TM Line 1261: TRADE MARK SIGN. Its distinct columns, one per line. 6 B
001209 unicode/part1/U+2124 NormalizationTest.txt ℤ␊Z Line 1262: DOUBLE-STRUCK CAPITAL Z. Its distinct columns, one per line. 5 B
001211 unicode/part1/U+2128 NormalizationTest.txt ℨ␊Z Line 1264: BLACK-LETTER CAPITAL Z. Its distinct columns, one per line. 5 B
001214 unicode/part1/U+212C NormalizationTest.txt ℬ␊B Line 1267: SCRIPT CAPITAL B. Its distinct columns, one per line. 5 B
001215 unicode/part1/U+212D NormalizationTest.txt ℭ␊C Line 1268: BLACK-LETTER CAPITAL C. Its distinct columns, one per line. 5 B
001216 unicode/part1/U+212F NormalizationTest.txt ℯ␊e Line 1269: SCRIPT SMALL E. Its distinct columns, one per line. 5 B
001217 unicode/part1/U+2130 NormalizationTest.txt ℰ␊E Line 1270: SCRIPT CAPITAL E. Its distinct columns, one per line. 5 B
001218 unicode/part1/U+2131 NormalizationTest.txt ℱ␊F Line 1271: SCRIPT CAPITAL F. Its distinct columns, one per line. 5 B
001219 unicode/part1/U+2133 NormalizationTest.txt ℳ␊M Line 1272: SCRIPT CAPITAL M. Its distinct columns, one per line. 5 B
001220 unicode/part1/U+2134 NormalizationTest.txt ℴ␊o Line 1273: SCRIPT SMALL O. Its distinct columns, one per line. 5 B
001221 unicode/part1/U+2135 NormalizationTest.txt ℵ␊א Line 1274: ALEF SYMBOL. Its distinct columns, one per line. 6 B
001222 unicode/part1/U+2136 NormalizationTest.txt ℶ␊ב Line 1275: BET SYMBOL. Its distinct columns, one per line. 6 B
001223 unicode/part1/U+2137 NormalizationTest.txt ℷ␊ג Line 1276: GIMEL SYMBOL. Its distinct columns, one per line. 6 B
001224 unicode/part1/U+2138 NormalizationTest.txt ℸ␊ד Line 1277: DALET SYMBOL. Its distinct columns, one per line. 6 B
001225 unicode/part1/U+2139 NormalizationTest.txt ℹ␊i Line 1278: INFORMATION SOURCE. Its distinct columns, one per line. 5 B
001226 unicode/part1/U+213B NormalizationTest.txt ℻␊FAX Line 1279: FACSIMILE SIGN. Its distinct columns, one per line. 7 B
001227 unicode/part1/U+213C NormalizationTest.txt ℼ␊π Line 1280: DOUBLE-STRUCK SMALL PI. Its distinct columns, one per line. 6 B
001228 unicode/part1/U+213D NormalizationTest.txt ℽ␊γ Line 1281: DOUBLE-STRUCK SMALL GAMMA. Its distinct columns, one per line. 6 B
001229 unicode/part1/U+213E NormalizationTest.txt ℾ␊Γ Line 1282: DOUBLE-STRUCK CAPITAL GAMMA. Its distinct columns, one per line. 6 B
001230 unicode/part1/U+213F NormalizationTest.txt ℿ␊Π Line 1283: DOUBLE-STRUCK CAPITAL PI. Its distinct columns, one per line. 6 B
001231 unicode/part1/U+2140 NormalizationTest.txt ⅀␊∑ Line 1284: DOUBLE-STRUCK N-ARY SUMMATION. Its distinct columns, one per line. 7 B
001232 unicode/part1/U+2145 NormalizationTest.txt ⅅ␊D Line 1285: DOUBLE-STRUCK ITALIC CAPITAL D. Its distinct columns, one per line. 5 B
001233 unicode/part1/U+2146 NormalizationTest.txt ⅆ␊d Line 1286: DOUBLE-STRUCK ITALIC SMALL D. Its distinct columns, one per line. 5 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.