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

All 11,911 cases

Case Name Expected Note Size
001300 unicode/part1/U+2230 NormalizationTest.txt ∰␊∮∮∮ Line 1353: VOLUME INTEGRAL. Its distinct columns, one per line. 13 B
001301 unicode/part1/U+2241 NormalizationTest.txt ≁␊≁ Line 1354: NOT TILDE. Its distinct columns, one per line. 9 B
001302 unicode/part1/U+2244 NormalizationTest.txt ≄␊≄ Line 1355: NOT ASYMPTOTICALLY EQUAL TO. Its distinct columns, one per line. 9 B
001303 unicode/part1/U+2247 NormalizationTest.txt ≇␊≇ Line 1356: NEITHER APPROXIMATELY NOR ACTUALLY EQUAL TO. Its distinct columns, one per line. 9 B
001304 unicode/part1/U+2249 NormalizationTest.txt ≉␊≉ Line 1357: NOT ALMOST EQUAL TO. Its distinct columns, one per line. 9 B
001305 unicode/part1/U+2260 NormalizationTest.txt ≠␊≠ Line 1358: NOT EQUAL TO. Its distinct columns, one per line. 7 B
001306 unicode/part1/U+2262 NormalizationTest.txt ≢␊≢ Line 1359: NOT IDENTICAL TO. Its distinct columns, one per line. 9 B
001307 unicode/part1/U+226D NormalizationTest.txt ≭␊≭ Line 1360: NOT EQUIVALENT TO. Its distinct columns, one per line. 9 B
001308 unicode/part1/U+226E NormalizationTest.txt ≮␊≮ Line 1361: NOT LESS-THAN. Its distinct columns, one per line. 7 B
001309 unicode/part1/U+226F NormalizationTest.txt ≯␊≯ Line 1362: NOT GREATER-THAN. Its distinct columns, one per line. 7 B
001310 unicode/part1/U+2270 NormalizationTest.txt ≰␊≰ Line 1363: NEITHER LESS-THAN NOR EQUAL TO. Its distinct columns, one per line. 9 B
001311 unicode/part1/U+2271 NormalizationTest.txt ≱␊≱ Line 1364: NEITHER GREATER-THAN NOR EQUAL TO. Its distinct columns, one per line. 9 B
001312 unicode/part1/U+2274 NormalizationTest.txt ≴␊≴ Line 1365: NEITHER LESS-THAN NOR EQUIVALENT TO. Its distinct columns, one per line. 9 B
001313 unicode/part1/U+2275 NormalizationTest.txt ≵␊≵ Line 1366: NEITHER GREATER-THAN NOR EQUIVALENT TO. Its distinct columns, one per line. 9 B
001314 unicode/part1/U+2278 NormalizationTest.txt ≸␊≸ Line 1367: NEITHER LESS-THAN NOR GREATER-THAN. Its distinct columns, one per line. 9 B
001315 unicode/part1/U+2279 NormalizationTest.txt ≹␊≹ Line 1368: NEITHER GREATER-THAN NOR LESS-THAN. Its distinct columns, one per line. 9 B
001316 unicode/part1/U+2280 NormalizationTest.txt ⊀␊⊀ Line 1369: DOES NOT PRECEDE. Its distinct columns, one per line. 9 B
001317 unicode/part1/U+2281 NormalizationTest.txt ⊁␊⊁ Line 1370: DOES NOT SUCCEED. Its distinct columns, one per line. 9 B
001318 unicode/part1/U+2284 NormalizationTest.txt ⊄␊⊄ Line 1371: NOT A SUBSET OF. Its distinct columns, one per line. 9 B
001319 unicode/part1/U+2285 NormalizationTest.txt ⊅␊⊅ Line 1372: NOT A SUPERSET OF. Its distinct columns, one per line. 9 B
001320 unicode/part1/U+2288 NormalizationTest.txt ⊈␊⊈ Line 1373: NEITHER A SUBSET OF NOR EQUAL TO. Its distinct columns, one per line. 9 B
001321 unicode/part1/U+2289 NormalizationTest.txt ⊉␊⊉ Line 1374: NEITHER A SUPERSET OF NOR EQUAL TO. Its distinct columns, one per line. 9 B
001322 unicode/part1/U+22AC NormalizationTest.txt ⊬␊⊬ Line 1375: DOES NOT PROVE. Its distinct columns, one per line. 9 B
001323 unicode/part1/U+22AD NormalizationTest.txt ⊭␊⊭ Line 1376: NOT TRUE. Its distinct columns, one per line. 9 B
001324 unicode/part1/U+22AE NormalizationTest.txt ⊮␊⊮ Line 1377: DOES NOT FORCE. Its distinct columns, one per line. 9 B
001325 unicode/part1/U+22AF NormalizationTest.txt ⊯␊⊯ Line 1378: NEGATED DOUBLE VERTICAL BAR DOUBLE RIGHT TURNSTILE. Its distinct columns, one per line. 9 B
001326 unicode/part1/U+22E0 NormalizationTest.txt ⋠␊⋠ Line 1379: DOES NOT PRECEDE OR EQUAL. Its distinct columns, one per line. 9 B
001327 unicode/part1/U+22E1 NormalizationTest.txt ⋡␊⋡ Line 1380: DOES NOT SUCCEED OR EQUAL. Its distinct columns, one per line. 9 B
001328 unicode/part1/U+22E2 NormalizationTest.txt ⋢␊⋢ Line 1381: NOT SQUARE IMAGE OF OR EQUAL TO. Its distinct columns, one per line. 9 B
001329 unicode/part1/U+22E3 NormalizationTest.txt ⋣␊⋣ Line 1382: NOT SQUARE ORIGINAL OF OR EQUAL TO. Its distinct columns, one per line. 9 B
001330 unicode/part1/U+22EA NormalizationTest.txt ⋪␊⋪ Line 1383: NOT NORMAL SUBGROUP OF. Its distinct columns, one per line. 9 B
001331 unicode/part1/U+22EB NormalizationTest.txt ⋫␊⋫ Line 1384: DOES NOT CONTAIN AS NORMAL SUBGROUP. Its distinct columns, one per line. 9 B
001332 unicode/part1/U+22EC NormalizationTest.txt ⋬␊⋬ Line 1385: NOT NORMAL SUBGROUP OF OR EQUAL TO. Its distinct columns, one per line. 9 B
001333 unicode/part1/U+22ED NormalizationTest.txt ⋭␊⋭ Line 1386: DOES NOT CONTAIN AS NORMAL SUBGROUP OR EQUAL. Its distinct columns, one per line. 9 B
001334 unicode/part1/U+2329 NormalizationTest.txt 〈␊〈 Line 1387: LEFT-POINTING ANGLE BRACKET. Its distinct columns, one per line. 7 B
001335 unicode/part1/U+232A NormalizationTest.txt 〉␊〉 Line 1388: RIGHT-POINTING ANGLE BRACKET. Its distinct columns, one per line. 7 B
001336 unicode/part1/U+2460 NormalizationTest.txt ①␊1 Line 1389: CIRCLED DIGIT ONE. Its distinct columns, one per line. 5 B
001337 unicode/part1/U+2461 NormalizationTest.txt ②␊2 Line 1390: CIRCLED DIGIT TWO. Its distinct columns, one per line. 5 B
001338 unicode/part1/U+2462 NormalizationTest.txt ③␊3 Line 1391: CIRCLED DIGIT THREE. Its distinct columns, one per line. 5 B
001339 unicode/part1/U+2463 NormalizationTest.txt ④␊4 Line 1392: CIRCLED DIGIT FOUR. Its distinct columns, one per line. 5 B
001340 unicode/part1/U+2464 NormalizationTest.txt ⑤␊5 Line 1393: CIRCLED DIGIT FIVE. Its distinct columns, one per line. 5 B
001341 unicode/part1/U+2465 NormalizationTest.txt ⑥␊6 Line 1394: CIRCLED DIGIT SIX. Its distinct columns, one per line. 5 B
001342 unicode/part1/U+2466 NormalizationTest.txt ⑦␊7 Line 1395: CIRCLED DIGIT SEVEN. Its distinct columns, one per line. 5 B
001343 unicode/part1/U+2467 NormalizationTest.txt ⑧␊8 Line 1396: CIRCLED DIGIT EIGHT. Its distinct columns, one per line. 5 B
001344 unicode/part1/U+2468 NormalizationTest.txt ⑨␊9 Line 1397: CIRCLED DIGIT NINE. Its distinct columns, one per line. 5 B
001345 unicode/part1/U+2469 NormalizationTest.txt ⑩␊10 Line 1398: CIRCLED NUMBER TEN. Its distinct columns, one per line. 6 B
001346 unicode/part1/U+246A NormalizationTest.txt ⑪␊11 Line 1399: CIRCLED NUMBER ELEVEN. Its distinct columns, one per line. 6 B
001347 unicode/part1/U+246B NormalizationTest.txt ⑫␊12 Line 1400: CIRCLED NUMBER TWELVE. Its distinct columns, one per line. 6 B
001348 unicode/part1/U+246C NormalizationTest.txt ⑬␊13 Line 1401: CIRCLED NUMBER THIRTEEN. Its distinct columns, one per line. 6 B
001349 unicode/part1/U+246D NormalizationTest.txt ⑭␊14 Line 1402: CIRCLED NUMBER FOURTEEN. 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.