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
004495 unicode/part1/U+1D5C4 NormalizationTest.txt ๐—„โŠk Line 15720: MATHEMATICAL SANS-SERIF SMALL K. Its distinct columns, one per line. 6 B
004496 unicode/part1/U+1D5C5 NormalizationTest.txt ๐—…โŠl Line 15721: MATHEMATICAL SANS-SERIF SMALL L. Its distinct columns, one per line. 6 B
004497 unicode/part1/U+1D5C6 NormalizationTest.txt ๐—†โŠm Line 15722: MATHEMATICAL SANS-SERIF SMALL M. Its distinct columns, one per line. 6 B
004498 unicode/part1/U+1D5C7 NormalizationTest.txt ๐—‡โŠn Line 15723: MATHEMATICAL SANS-SERIF SMALL N. Its distinct columns, one per line. 6 B
004499 unicode/part1/U+1D5C8 NormalizationTest.txt ๐—ˆโŠo Line 15724: MATHEMATICAL SANS-SERIF SMALL O. Its distinct columns, one per line. 6 B
004500 unicode/part1/U+1D5C9 NormalizationTest.txt ๐—‰โŠp Line 15725: MATHEMATICAL SANS-SERIF SMALL P. Its distinct columns, one per line. 6 B
004501 unicode/part1/U+1D5CA NormalizationTest.txt ๐—ŠโŠq Line 15726: MATHEMATICAL SANS-SERIF SMALL Q. Its distinct columns, one per line. 6 B
004502 unicode/part1/U+1D5CB NormalizationTest.txt ๐—‹โŠr Line 15727: MATHEMATICAL SANS-SERIF SMALL R. Its distinct columns, one per line. 6 B
004503 unicode/part1/U+1D5CC NormalizationTest.txt ๐—ŒโŠs Line 15728: MATHEMATICAL SANS-SERIF SMALL S. Its distinct columns, one per line. 6 B
004504 unicode/part1/U+1D5CD NormalizationTest.txt ๐—โŠt Line 15729: MATHEMATICAL SANS-SERIF SMALL T. Its distinct columns, one per line. 6 B
004505 unicode/part1/U+1D5CE NormalizationTest.txt ๐—ŽโŠu Line 15730: MATHEMATICAL SANS-SERIF SMALL U. Its distinct columns, one per line. 6 B
004506 unicode/part1/U+1D5CF NormalizationTest.txt ๐—โŠv Line 15731: MATHEMATICAL SANS-SERIF SMALL V. Its distinct columns, one per line. 6 B
004507 unicode/part1/U+1D5D0 NormalizationTest.txt ๐—โŠw Line 15732: MATHEMATICAL SANS-SERIF SMALL W. Its distinct columns, one per line. 6 B
004508 unicode/part1/U+1D5D1 NormalizationTest.txt ๐—‘โŠx Line 15733: MATHEMATICAL SANS-SERIF SMALL X. Its distinct columns, one per line. 6 B
004509 unicode/part1/U+1D5D2 NormalizationTest.txt ๐—’โŠy Line 15734: MATHEMATICAL SANS-SERIF SMALL Y. Its distinct columns, one per line. 6 B
004510 unicode/part1/U+1D5D3 NormalizationTest.txt ๐—“โŠz Line 15735: MATHEMATICAL SANS-SERIF SMALL Z. Its distinct columns, one per line. 6 B
004511 unicode/part1/U+1D5D4 NormalizationTest.txt ๐—”โŠA Line 15736: MATHEMATICAL SANS-SERIF BOLD CAPITAL A. Its distinct columns, one per line. 6 B
004512 unicode/part1/U+1D5D5 NormalizationTest.txt ๐—•โŠB Line 15737: MATHEMATICAL SANS-SERIF BOLD CAPITAL B. Its distinct columns, one per line. 6 B
004513 unicode/part1/U+1D5D6 NormalizationTest.txt ๐—–โŠC Line 15738: MATHEMATICAL SANS-SERIF BOLD CAPITAL C. Its distinct columns, one per line. 6 B
004514 unicode/part1/U+1D5D7 NormalizationTest.txt ๐——โŠD Line 15739: MATHEMATICAL SANS-SERIF BOLD CAPITAL D. Its distinct columns, one per line. 6 B
004515 unicode/part1/U+1D5D8 NormalizationTest.txt ๐—˜โŠE Line 15740: MATHEMATICAL SANS-SERIF BOLD CAPITAL E. Its distinct columns, one per line. 6 B
004516 unicode/part1/U+1D5D9 NormalizationTest.txt ๐—™โŠF Line 15741: MATHEMATICAL SANS-SERIF BOLD CAPITAL F. Its distinct columns, one per line. 6 B
004517 unicode/part1/U+1D5DA NormalizationTest.txt ๐—šโŠG Line 15742: MATHEMATICAL SANS-SERIF BOLD CAPITAL G. Its distinct columns, one per line. 6 B
004518 unicode/part1/U+1D5DB NormalizationTest.txt ๐—›โŠH Line 15743: MATHEMATICAL SANS-SERIF BOLD CAPITAL H. Its distinct columns, one per line. 6 B
004519 unicode/part1/U+1D5DC NormalizationTest.txt ๐—œโŠI Line 15744: MATHEMATICAL SANS-SERIF BOLD CAPITAL I. Its distinct columns, one per line. 6 B
004520 unicode/part1/U+1D5DD NormalizationTest.txt ๐—โŠJ Line 15745: MATHEMATICAL SANS-SERIF BOLD CAPITAL J. Its distinct columns, one per line. 6 B
004521 unicode/part1/U+1D5DE NormalizationTest.txt ๐—žโŠK Line 15746: MATHEMATICAL SANS-SERIF BOLD CAPITAL K. Its distinct columns, one per line. 6 B
004522 unicode/part1/U+1D5DF NormalizationTest.txt ๐—ŸโŠL Line 15747: MATHEMATICAL SANS-SERIF BOLD CAPITAL L. Its distinct columns, one per line. 6 B
004523 unicode/part1/U+1D5E0 NormalizationTest.txt ๐— โŠM Line 15748: MATHEMATICAL SANS-SERIF BOLD CAPITAL M. Its distinct columns, one per line. 6 B
004524 unicode/part1/U+1D5E1 NormalizationTest.txt ๐—กโŠN Line 15749: MATHEMATICAL SANS-SERIF BOLD CAPITAL N. Its distinct columns, one per line. 6 B
004525 unicode/part1/U+1D5E2 NormalizationTest.txt ๐—ขโŠO Line 15750: MATHEMATICAL SANS-SERIF BOLD CAPITAL O. Its distinct columns, one per line. 6 B
004526 unicode/part1/U+1D5E3 NormalizationTest.txt ๐—ฃโŠP Line 15751: MATHEMATICAL SANS-SERIF BOLD CAPITAL P. Its distinct columns, one per line. 6 B
004527 unicode/part1/U+1D5E4 NormalizationTest.txt ๐—คโŠQ Line 15752: MATHEMATICAL SANS-SERIF BOLD CAPITAL Q. Its distinct columns, one per line. 6 B
004528 unicode/part1/U+1D5E5 NormalizationTest.txt ๐—ฅโŠR Line 15753: MATHEMATICAL SANS-SERIF BOLD CAPITAL R. Its distinct columns, one per line. 6 B
004529 unicode/part1/U+1D5E6 NormalizationTest.txt ๐—ฆโŠS Line 15754: MATHEMATICAL SANS-SERIF BOLD CAPITAL S. Its distinct columns, one per line. 6 B
004530 unicode/part1/U+1D5E7 NormalizationTest.txt ๐—งโŠT Line 15755: MATHEMATICAL SANS-SERIF BOLD CAPITAL T. Its distinct columns, one per line. 6 B
004531 unicode/part1/U+1D5E8 NormalizationTest.txt ๐—จโŠU Line 15756: MATHEMATICAL SANS-SERIF BOLD CAPITAL U. Its distinct columns, one per line. 6 B
004532 unicode/part1/U+1D5E9 NormalizationTest.txt ๐—ฉโŠV Line 15757: MATHEMATICAL SANS-SERIF BOLD CAPITAL V. Its distinct columns, one per line. 6 B
004533 unicode/part1/U+1D5EA NormalizationTest.txt ๐—ชโŠW Line 15758: MATHEMATICAL SANS-SERIF BOLD CAPITAL W. Its distinct columns, one per line. 6 B
004534 unicode/part1/U+1D5EB NormalizationTest.txt ๐—ซโŠX Line 15759: MATHEMATICAL SANS-SERIF BOLD CAPITAL X. Its distinct columns, one per line. 6 B
004535 unicode/part1/U+1D5EC NormalizationTest.txt ๐—ฌโŠY Line 15760: MATHEMATICAL SANS-SERIF BOLD CAPITAL Y. Its distinct columns, one per line. 6 B
004536 unicode/part1/U+1D5ED NormalizationTest.txt ๐—ญโŠZ Line 15761: MATHEMATICAL SANS-SERIF BOLD CAPITAL Z. Its distinct columns, one per line. 6 B
004537 unicode/part1/U+1D5EE NormalizationTest.txt ๐—ฎโŠa Line 15762: MATHEMATICAL SANS-SERIF BOLD SMALL A. Its distinct columns, one per line. 6 B
004538 unicode/part1/U+1D5EF NormalizationTest.txt ๐—ฏโŠb Line 15763: MATHEMATICAL SANS-SERIF BOLD SMALL B. Its distinct columns, one per line. 6 B
004539 unicode/part1/U+1D5F0 NormalizationTest.txt ๐—ฐโŠc Line 15764: MATHEMATICAL SANS-SERIF BOLD SMALL C. Its distinct columns, one per line. 6 B
004540 unicode/part1/U+1D5F1 NormalizationTest.txt ๐—ฑโŠd Line 15765: MATHEMATICAL SANS-SERIF BOLD SMALL D. Its distinct columns, one per line. 6 B
004541 unicode/part1/U+1D5F2 NormalizationTest.txt ๐—ฒโŠe Line 15766: MATHEMATICAL SANS-SERIF BOLD SMALL E. Its distinct columns, one per line. 6 B
004542 unicode/part1/U+1D5F3 NormalizationTest.txt ๐—ณโŠf Line 15767: MATHEMATICAL SANS-SERIF BOLD SMALL F. Its distinct columns, one per line. 6 B
004543 unicode/part1/U+1D5F4 NormalizationTest.txt ๐—ดโŠg Line 15768: MATHEMATICAL SANS-SERIF BOLD SMALL G. Its distinct columns, one per line. 6 B
004544 unicode/part1/U+1D5F5 NormalizationTest.txt ๐—ตโŠh Line 15769: MATHEMATICAL SANS-SERIF BOLD SMALL H. 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.