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
004329 unicode/part1/U+1D516 NormalizationTest.txt ๐”–โŠS Line 15554: MATHEMATICAL FRAKTUR CAPITAL S. Its distinct columns, one per line. 6 B
004330 unicode/part1/U+1D517 NormalizationTest.txt ๐”—โŠT Line 15555: MATHEMATICAL FRAKTUR CAPITAL T. Its distinct columns, one per line. 6 B
004331 unicode/part1/U+1D518 NormalizationTest.txt ๐”˜โŠU Line 15556: MATHEMATICAL FRAKTUR CAPITAL U. Its distinct columns, one per line. 6 B
004332 unicode/part1/U+1D519 NormalizationTest.txt ๐”™โŠV Line 15557: MATHEMATICAL FRAKTUR CAPITAL V. Its distinct columns, one per line. 6 B
004333 unicode/part1/U+1D51A NormalizationTest.txt ๐”šโŠW Line 15558: MATHEMATICAL FRAKTUR CAPITAL W. Its distinct columns, one per line. 6 B
004334 unicode/part1/U+1D51B NormalizationTest.txt ๐”›โŠX Line 15559: MATHEMATICAL FRAKTUR CAPITAL X. Its distinct columns, one per line. 6 B
004335 unicode/part1/U+1D51C NormalizationTest.txt ๐”œโŠY Line 15560: MATHEMATICAL FRAKTUR CAPITAL Y. Its distinct columns, one per line. 6 B
004336 unicode/part1/U+1D51E NormalizationTest.txt ๐”žโŠa Line 15561: MATHEMATICAL FRAKTUR SMALL A. Its distinct columns, one per line. 6 B
004337 unicode/part1/U+1D51F NormalizationTest.txt ๐”ŸโŠb Line 15562: MATHEMATICAL FRAKTUR SMALL B. Its distinct columns, one per line. 6 B
004338 unicode/part1/U+1D520 NormalizationTest.txt ๐” โŠc Line 15563: MATHEMATICAL FRAKTUR SMALL C. Its distinct columns, one per line. 6 B
004339 unicode/part1/U+1D521 NormalizationTest.txt ๐”กโŠd Line 15564: MATHEMATICAL FRAKTUR SMALL D. Its distinct columns, one per line. 6 B
004340 unicode/part1/U+1D522 NormalizationTest.txt ๐”ขโŠe Line 15565: MATHEMATICAL FRAKTUR SMALL E. Its distinct columns, one per line. 6 B
004341 unicode/part1/U+1D523 NormalizationTest.txt ๐”ฃโŠf Line 15566: MATHEMATICAL FRAKTUR SMALL F. Its distinct columns, one per line. 6 B
004342 unicode/part1/U+1D524 NormalizationTest.txt ๐”คโŠg Line 15567: MATHEMATICAL FRAKTUR SMALL G. Its distinct columns, one per line. 6 B
004343 unicode/part1/U+1D525 NormalizationTest.txt ๐”ฅโŠh Line 15568: MATHEMATICAL FRAKTUR SMALL H. Its distinct columns, one per line. 6 B
004344 unicode/part1/U+1D526 NormalizationTest.txt ๐”ฆโŠi Line 15569: MATHEMATICAL FRAKTUR SMALL I. Its distinct columns, one per line. 6 B
004345 unicode/part1/U+1D527 NormalizationTest.txt ๐”งโŠj Line 15570: MATHEMATICAL FRAKTUR SMALL J. Its distinct columns, one per line. 6 B
004346 unicode/part1/U+1D528 NormalizationTest.txt ๐”จโŠk Line 15571: MATHEMATICAL FRAKTUR SMALL K. Its distinct columns, one per line. 6 B
004347 unicode/part1/U+1D529 NormalizationTest.txt ๐”ฉโŠl Line 15572: MATHEMATICAL FRAKTUR SMALL L. Its distinct columns, one per line. 6 B
004348 unicode/part1/U+1D52A NormalizationTest.txt ๐”ชโŠm Line 15573: MATHEMATICAL FRAKTUR SMALL M. Its distinct columns, one per line. 6 B
004349 unicode/part1/U+1D52B NormalizationTest.txt ๐”ซโŠn Line 15574: MATHEMATICAL FRAKTUR SMALL N. Its distinct columns, one per line. 6 B
004350 unicode/part1/U+1D52C NormalizationTest.txt ๐”ฌโŠo Line 15575: MATHEMATICAL FRAKTUR SMALL O. Its distinct columns, one per line. 6 B
004351 unicode/part1/U+1D52D NormalizationTest.txt ๐”ญโŠp Line 15576: MATHEMATICAL FRAKTUR SMALL P. Its distinct columns, one per line. 6 B
004352 unicode/part1/U+1D52E NormalizationTest.txt ๐”ฎโŠq Line 15577: MATHEMATICAL FRAKTUR SMALL Q. Its distinct columns, one per line. 6 B
004353 unicode/part1/U+1D52F NormalizationTest.txt ๐”ฏโŠr Line 15578: MATHEMATICAL FRAKTUR SMALL R. Its distinct columns, one per line. 6 B
004354 unicode/part1/U+1D530 NormalizationTest.txt ๐”ฐโŠs Line 15579: MATHEMATICAL FRAKTUR SMALL S. Its distinct columns, one per line. 6 B
004355 unicode/part1/U+1D531 NormalizationTest.txt ๐”ฑโŠt Line 15580: MATHEMATICAL FRAKTUR SMALL T. Its distinct columns, one per line. 6 B
004356 unicode/part1/U+1D532 NormalizationTest.txt ๐”ฒโŠu Line 15581: MATHEMATICAL FRAKTUR SMALL U. Its distinct columns, one per line. 6 B
004357 unicode/part1/U+1D533 NormalizationTest.txt ๐”ณโŠv Line 15582: MATHEMATICAL FRAKTUR SMALL V. Its distinct columns, one per line. 6 B
004358 unicode/part1/U+1D534 NormalizationTest.txt ๐”ดโŠw Line 15583: MATHEMATICAL FRAKTUR SMALL W. Its distinct columns, one per line. 6 B
004359 unicode/part1/U+1D535 NormalizationTest.txt ๐”ตโŠx Line 15584: MATHEMATICAL FRAKTUR SMALL X. Its distinct columns, one per line. 6 B
004360 unicode/part1/U+1D536 NormalizationTest.txt ๐”ถโŠy Line 15585: MATHEMATICAL FRAKTUR SMALL Y. Its distinct columns, one per line. 6 B
004361 unicode/part1/U+1D537 NormalizationTest.txt ๐”ทโŠz Line 15586: MATHEMATICAL FRAKTUR SMALL Z. Its distinct columns, one per line. 6 B
004362 unicode/part1/U+1D538 NormalizationTest.txt ๐”ธโŠA Line 15587: MATHEMATICAL DOUBLE-STRUCK CAPITAL A. Its distinct columns, one per line. 6 B
004363 unicode/part1/U+1D539 NormalizationTest.txt ๐”นโŠB Line 15588: MATHEMATICAL DOUBLE-STRUCK CAPITAL B. Its distinct columns, one per line. 6 B
004364 unicode/part1/U+1D53B NormalizationTest.txt ๐”ปโŠD Line 15589: MATHEMATICAL DOUBLE-STRUCK CAPITAL D. Its distinct columns, one per line. 6 B
004365 unicode/part1/U+1D53C NormalizationTest.txt ๐”ผโŠE Line 15590: MATHEMATICAL DOUBLE-STRUCK CAPITAL E. Its distinct columns, one per line. 6 B
004366 unicode/part1/U+1D53D NormalizationTest.txt ๐”ฝโŠF Line 15591: MATHEMATICAL DOUBLE-STRUCK CAPITAL F. Its distinct columns, one per line. 6 B
004367 unicode/part1/U+1D53E NormalizationTest.txt ๐”พโŠG Line 15592: MATHEMATICAL DOUBLE-STRUCK CAPITAL G. Its distinct columns, one per line. 6 B
004368 unicode/part1/U+1D540 NormalizationTest.txt ๐•€โŠI Line 15593: MATHEMATICAL DOUBLE-STRUCK CAPITAL I. Its distinct columns, one per line. 6 B
004369 unicode/part1/U+1D541 NormalizationTest.txt ๐•โŠJ Line 15594: MATHEMATICAL DOUBLE-STRUCK CAPITAL J. Its distinct columns, one per line. 6 B
004370 unicode/part1/U+1D542 NormalizationTest.txt ๐•‚โŠK Line 15595: MATHEMATICAL DOUBLE-STRUCK CAPITAL K. Its distinct columns, one per line. 6 B
004371 unicode/part1/U+1D543 NormalizationTest.txt ๐•ƒโŠL Line 15596: MATHEMATICAL DOUBLE-STRUCK CAPITAL L. Its distinct columns, one per line. 6 B
004372 unicode/part1/U+1D544 NormalizationTest.txt ๐•„โŠM Line 15597: MATHEMATICAL DOUBLE-STRUCK CAPITAL M. Its distinct columns, one per line. 6 B
004373 unicode/part1/U+1D546 NormalizationTest.txt ๐•†โŠO Line 15598: MATHEMATICAL DOUBLE-STRUCK CAPITAL O. Its distinct columns, one per line. 6 B
004374 unicode/part1/U+1D54A NormalizationTest.txt ๐•ŠโŠS Line 15599: MATHEMATICAL DOUBLE-STRUCK CAPITAL S. Its distinct columns, one per line. 6 B
004375 unicode/part1/U+1D54B NormalizationTest.txt ๐•‹โŠT Line 15600: MATHEMATICAL DOUBLE-STRUCK CAPITAL T. Its distinct columns, one per line. 6 B
004376 unicode/part1/U+1D54C NormalizationTest.txt ๐•ŒโŠU Line 15601: MATHEMATICAL DOUBLE-STRUCK CAPITAL U. Its distinct columns, one per line. 6 B
004377 unicode/part1/U+1D54D NormalizationTest.txt ๐•โŠV Line 15602: MATHEMATICAL DOUBLE-STRUCK CAPITAL V. Its distinct columns, one per line. 6 B
004378 unicode/part1/U+1D54E NormalizationTest.txt ๐•ŽโŠW Line 15603: MATHEMATICAL DOUBLE-STRUCK CAPITAL W. 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.