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
001400 unicode/part1/U+24A0 NormalizationTest.txt ⒠␊(e) Line 1453: PARENTHESIZED LATIN SMALL LETTER E. Its distinct columns, one per line. 7 B
001401 unicode/part1/U+24A1 NormalizationTest.txt ⒡␊(f) Line 1454: PARENTHESIZED LATIN SMALL LETTER F. Its distinct columns, one per line. 7 B
001402 unicode/part1/U+24A2 NormalizationTest.txt ⒢␊(g) Line 1455: PARENTHESIZED LATIN SMALL LETTER G. Its distinct columns, one per line. 7 B
001403 unicode/part1/U+24A3 NormalizationTest.txt ⒣␊(h) Line 1456: PARENTHESIZED LATIN SMALL LETTER H. Its distinct columns, one per line. 7 B
001404 unicode/part1/U+24A4 NormalizationTest.txt ⒤␊(i) Line 1457: PARENTHESIZED LATIN SMALL LETTER I. Its distinct columns, one per line. 7 B
001405 unicode/part1/U+24A5 NormalizationTest.txt ⒥␊(j) Line 1458: PARENTHESIZED LATIN SMALL LETTER J. Its distinct columns, one per line. 7 B
001406 unicode/part1/U+24A6 NormalizationTest.txt ⒦␊(k) Line 1459: PARENTHESIZED LATIN SMALL LETTER K. Its distinct columns, one per line. 7 B
001407 unicode/part1/U+24A7 NormalizationTest.txt ⒧␊(l) Line 1460: PARENTHESIZED LATIN SMALL LETTER L. Its distinct columns, one per line. 7 B
001408 unicode/part1/U+24A8 NormalizationTest.txt ⒨␊(m) Line 1461: PARENTHESIZED LATIN SMALL LETTER M. Its distinct columns, one per line. 7 B
001409 unicode/part1/U+24A9 NormalizationTest.txt ⒩␊(n) Line 1462: PARENTHESIZED LATIN SMALL LETTER N. Its distinct columns, one per line. 7 B
001410 unicode/part1/U+24AA NormalizationTest.txt ⒪␊(o) Line 1463: PARENTHESIZED LATIN SMALL LETTER O. Its distinct columns, one per line. 7 B
001411 unicode/part1/U+24AB NormalizationTest.txt ⒫␊(p) Line 1464: PARENTHESIZED LATIN SMALL LETTER P. Its distinct columns, one per line. 7 B
001412 unicode/part1/U+24AC NormalizationTest.txt ⒬␊(q) Line 1465: PARENTHESIZED LATIN SMALL LETTER Q. Its distinct columns, one per line. 7 B
001413 unicode/part1/U+24AD NormalizationTest.txt ⒭␊(r) Line 1466: PARENTHESIZED LATIN SMALL LETTER R. Its distinct columns, one per line. 7 B
001414 unicode/part1/U+24AE NormalizationTest.txt ⒮␊(s) Line 1467: PARENTHESIZED LATIN SMALL LETTER S. Its distinct columns, one per line. 7 B
001415 unicode/part1/U+24AF NormalizationTest.txt ⒯␊(t) Line 1468: PARENTHESIZED LATIN SMALL LETTER T. Its distinct columns, one per line. 7 B
001416 unicode/part1/U+24B0 NormalizationTest.txt ⒰␊(u) Line 1469: PARENTHESIZED LATIN SMALL LETTER U. Its distinct columns, one per line. 7 B
001417 unicode/part1/U+24B1 NormalizationTest.txt ⒱␊(v) Line 1470: PARENTHESIZED LATIN SMALL LETTER V. Its distinct columns, one per line. 7 B
001418 unicode/part1/U+24B2 NormalizationTest.txt ⒲␊(w) Line 1471: PARENTHESIZED LATIN SMALL LETTER W. Its distinct columns, one per line. 7 B
001419 unicode/part1/U+24B3 NormalizationTest.txt ⒳␊(x) Line 1472: PARENTHESIZED LATIN SMALL LETTER X. Its distinct columns, one per line. 7 B
001420 unicode/part1/U+24B4 NormalizationTest.txt ⒴␊(y) Line 1473: PARENTHESIZED LATIN SMALL LETTER Y. Its distinct columns, one per line. 7 B
001421 unicode/part1/U+24B5 NormalizationTest.txt ⒵␊(z) Line 1474: PARENTHESIZED LATIN SMALL LETTER Z. Its distinct columns, one per line. 7 B
001422 unicode/part1/U+24B6 NormalizationTest.txt Ⓐ␊A Line 1475: CIRCLED LATIN CAPITAL LETTER A. Its distinct columns, one per line. 5 B
001423 unicode/part1/U+24B7 NormalizationTest.txt Ⓑ␊B Line 1476: CIRCLED LATIN CAPITAL LETTER B. Its distinct columns, one per line. 5 B
001424 unicode/part1/U+24B8 NormalizationTest.txt Ⓒ␊C Line 1477: CIRCLED LATIN CAPITAL LETTER C. Its distinct columns, one per line. 5 B
001425 unicode/part1/U+24B9 NormalizationTest.txt Ⓓ␊D Line 1478: CIRCLED LATIN CAPITAL LETTER D. Its distinct columns, one per line. 5 B
001426 unicode/part1/U+24BA NormalizationTest.txt Ⓔ␊E Line 1479: CIRCLED LATIN CAPITAL LETTER E. Its distinct columns, one per line. 5 B
001427 unicode/part1/U+24BB NormalizationTest.txt Ⓕ␊F Line 1480: CIRCLED LATIN CAPITAL LETTER F. Its distinct columns, one per line. 5 B
001428 unicode/part1/U+24BC NormalizationTest.txt Ⓖ␊G Line 1481: CIRCLED LATIN CAPITAL LETTER G. Its distinct columns, one per line. 5 B
001429 unicode/part1/U+24BD NormalizationTest.txt Ⓗ␊H Line 1482: CIRCLED LATIN CAPITAL LETTER H. Its distinct columns, one per line. 5 B
001430 unicode/part1/U+24BE NormalizationTest.txt Ⓘ␊I Line 1483: CIRCLED LATIN CAPITAL LETTER I. Its distinct columns, one per line. 5 B
001431 unicode/part1/U+24BF NormalizationTest.txt Ⓙ␊J Line 1484: CIRCLED LATIN CAPITAL LETTER J. Its distinct columns, one per line. 5 B
001432 unicode/part1/U+24C0 NormalizationTest.txt Ⓚ␊K Line 1485: CIRCLED LATIN CAPITAL LETTER K. Its distinct columns, one per line. 5 B
001433 unicode/part1/U+24C1 NormalizationTest.txt Ⓛ␊L Line 1486: CIRCLED LATIN CAPITAL LETTER L. Its distinct columns, one per line. 5 B
001434 unicode/part1/U+24C2 NormalizationTest.txt Ⓜ␊M Line 1487: CIRCLED LATIN CAPITAL LETTER M. Its distinct columns, one per line. 5 B
001435 unicode/part1/U+24C3 NormalizationTest.txt Ⓝ␊N Line 1488: CIRCLED LATIN CAPITAL LETTER N. Its distinct columns, one per line. 5 B
001436 unicode/part1/U+24C4 NormalizationTest.txt Ⓞ␊O Line 1489: CIRCLED LATIN CAPITAL LETTER O. Its distinct columns, one per line. 5 B
001437 unicode/part1/U+24C5 NormalizationTest.txt Ⓟ␊P Line 1490: CIRCLED LATIN CAPITAL LETTER P. Its distinct columns, one per line. 5 B
001438 unicode/part1/U+24C6 NormalizationTest.txt Ⓠ␊Q Line 1491: CIRCLED LATIN CAPITAL LETTER Q. Its distinct columns, one per line. 5 B
001439 unicode/part1/U+24C7 NormalizationTest.txt Ⓡ␊R Line 1492: CIRCLED LATIN CAPITAL LETTER R. Its distinct columns, one per line. 5 B
001440 unicode/part1/U+24C8 NormalizationTest.txt Ⓢ␊S Line 1493: CIRCLED LATIN CAPITAL LETTER S. Its distinct columns, one per line. 5 B
001441 unicode/part1/U+24C9 NormalizationTest.txt Ⓣ␊T Line 1494: CIRCLED LATIN CAPITAL LETTER T. Its distinct columns, one per line. 5 B
001442 unicode/part1/U+24CA NormalizationTest.txt Ⓤ␊U Line 1495: CIRCLED LATIN CAPITAL LETTER U. Its distinct columns, one per line. 5 B
001443 unicode/part1/U+24CB NormalizationTest.txt Ⓥ␊V Line 1496: CIRCLED LATIN CAPITAL LETTER V. Its distinct columns, one per line. 5 B
001444 unicode/part1/U+24CC NormalizationTest.txt Ⓦ␊W Line 1497: CIRCLED LATIN CAPITAL LETTER W. Its distinct columns, one per line. 5 B
001445 unicode/part1/U+24CD NormalizationTest.txt Ⓧ␊X Line 1498: CIRCLED LATIN CAPITAL LETTER X. Its distinct columns, one per line. 5 B
001446 unicode/part1/U+24CE NormalizationTest.txt Ⓨ␊Y Line 1499: CIRCLED LATIN CAPITAL LETTER Y. Its distinct columns, one per line. 5 B
001447 unicode/part1/U+24CF NormalizationTest.txt Ⓩ␊Z Line 1500: CIRCLED LATIN CAPITAL LETTER Z. Its distinct columns, one per line. 5 B
001448 unicode/part1/U+24D0 NormalizationTest.txt ⓐ␊a Line 1501: CIRCLED LATIN SMALL LETTER A. Its distinct columns, one per line. 5 B
001449 unicode/part1/U+24D1 NormalizationTest.txt ⓑ␊b Line 1502: CIRCLED LATIN SMALL LETTER B. 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.