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
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
001210 unicode/part1/U+2126 NormalizationTest.txt Ω␊Ω Line 1263: OHM SIGN. Its distinct columns, one per line. 6 B
001211 unicode/part1/U+2128 NormalizationTest.txt ℨ␊Z Line 1264: BLACK-LETTER CAPITAL Z. Its distinct columns, one per line. 5 B
001212 unicode/part1/U+212A NormalizationTest.txt K␊K Line 1265: KELVIN SIGN. Its distinct columns, one per line. 5 B
001213 unicode/part1/U+212B NormalizationTest.txt Å␊Å␊Å Line 1266: ANGSTROM SIGN. Its distinct columns, one per line. 10 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
001234 unicode/part1/U+2147 NormalizationTest.txt ⅇ␊e Line 1287: DOUBLE-STRUCK ITALIC SMALL E. Its distinct columns, one per line. 5 B
001235 unicode/part1/U+2148 NormalizationTest.txt ⅈ␊i Line 1288: DOUBLE-STRUCK ITALIC SMALL I. Its distinct columns, one per line. 5 B
001236 unicode/part1/U+2149 NormalizationTest.txt ⅉ␊j Line 1289: DOUBLE-STRUCK ITALIC SMALL J. Its distinct columns, one per line. 5 B
001237 unicode/part1/U+2150 NormalizationTest.txt ⅐␊1⁄7 Line 1290: VULGAR FRACTION ONE SEVENTH. Its distinct columns, one per line. 9 B
001238 unicode/part1/U+2151 NormalizationTest.txt ⅑␊1⁄9 Line 1291: VULGAR FRACTION ONE NINTH. Its distinct columns, one per line. 9 B
001239 unicode/part1/U+2152 NormalizationTest.txt ⅒␊1⁄10 Line 1292: VULGAR FRACTION ONE TENTH. Its distinct columns, one per line. 10 B
001240 unicode/part1/U+2153 NormalizationTest.txt ⅓␊1⁄3 Line 1293: VULGAR FRACTION ONE THIRD. Its distinct columns, one per line. 9 B
001241 unicode/part1/U+2154 NormalizationTest.txt ⅔␊2⁄3 Line 1294: VULGAR FRACTION TWO THIRDS. Its distinct columns, one per line. 9 B
001242 unicode/part1/U+2155 NormalizationTest.txt ⅕␊1⁄5 Line 1295: VULGAR FRACTION ONE FIFTH. Its distinct columns, one per line. 9 B
001243 unicode/part1/U+2156 NormalizationTest.txt ⅖␊2⁄5 Line 1296: VULGAR FRACTION TWO FIFTHS. Its distinct columns, one per line. 9 B
001244 unicode/part1/U+2157 NormalizationTest.txt ⅗␊3⁄5 Line 1297: VULGAR FRACTION THREE FIFTHS. Its distinct columns, one per line. 9 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.