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
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
004379 unicode/part1/U+1D54F NormalizationTest.txt ๐•โŠX Line 15604: MATHEMATICAL DOUBLE-STRUCK CAPITAL X. Its distinct columns, one per line. 6 B
004380 unicode/part1/U+1D550 NormalizationTest.txt ๐•โŠY Line 15605: MATHEMATICAL DOUBLE-STRUCK CAPITAL Y. Its distinct columns, one per line. 6 B
004381 unicode/part1/U+1D552 NormalizationTest.txt ๐•’โŠa Line 15606: MATHEMATICAL DOUBLE-STRUCK SMALL A. Its distinct columns, one per line. 6 B
004382 unicode/part1/U+1D553 NormalizationTest.txt ๐•“โŠb Line 15607: MATHEMATICAL DOUBLE-STRUCK SMALL B. Its distinct columns, one per line. 6 B
004383 unicode/part1/U+1D554 NormalizationTest.txt ๐•”โŠc Line 15608: MATHEMATICAL DOUBLE-STRUCK SMALL C. Its distinct columns, one per line. 6 B
004384 unicode/part1/U+1D555 NormalizationTest.txt ๐••โŠd Line 15609: MATHEMATICAL DOUBLE-STRUCK SMALL D. Its distinct columns, one per line. 6 B
004385 unicode/part1/U+1D556 NormalizationTest.txt ๐•–โŠe Line 15610: MATHEMATICAL DOUBLE-STRUCK SMALL E. Its distinct columns, one per line. 6 B
004386 unicode/part1/U+1D557 NormalizationTest.txt ๐•—โŠf Line 15611: MATHEMATICAL DOUBLE-STRUCK SMALL F. Its distinct columns, one per line. 6 B
004387 unicode/part1/U+1D558 NormalizationTest.txt ๐•˜โŠg Line 15612: MATHEMATICAL DOUBLE-STRUCK SMALL G. Its distinct columns, one per line. 6 B
004388 unicode/part1/U+1D559 NormalizationTest.txt ๐•™โŠh Line 15613: MATHEMATICAL DOUBLE-STRUCK SMALL H. Its distinct columns, one per line. 6 B
004389 unicode/part1/U+1D55A NormalizationTest.txt ๐•šโŠi Line 15614: MATHEMATICAL DOUBLE-STRUCK SMALL I. Its distinct columns, one per line. 6 B
004390 unicode/part1/U+1D55B NormalizationTest.txt ๐•›โŠj Line 15615: MATHEMATICAL DOUBLE-STRUCK SMALL J. Its distinct columns, one per line. 6 B
004391 unicode/part1/U+1D55C NormalizationTest.txt ๐•œโŠk Line 15616: MATHEMATICAL DOUBLE-STRUCK SMALL K. Its distinct columns, one per line. 6 B
004392 unicode/part1/U+1D55D NormalizationTest.txt ๐•โŠl Line 15617: MATHEMATICAL DOUBLE-STRUCK SMALL L. Its distinct columns, one per line. 6 B
004393 unicode/part1/U+1D55E NormalizationTest.txt ๐•žโŠm Line 15618: MATHEMATICAL DOUBLE-STRUCK SMALL M. Its distinct columns, one per line. 6 B
004394 unicode/part1/U+1D55F NormalizationTest.txt ๐•ŸโŠn Line 15619: MATHEMATICAL DOUBLE-STRUCK SMALL N. Its distinct columns, one per line. 6 B
004395 unicode/part1/U+1D560 NormalizationTest.txt ๐• โŠo Line 15620: MATHEMATICAL DOUBLE-STRUCK SMALL O. Its distinct columns, one per line. 6 B
004396 unicode/part1/U+1D561 NormalizationTest.txt ๐•กโŠp Line 15621: MATHEMATICAL DOUBLE-STRUCK SMALL P. Its distinct columns, one per line. 6 B
004397 unicode/part1/U+1D562 NormalizationTest.txt ๐•ขโŠq Line 15622: MATHEMATICAL DOUBLE-STRUCK SMALL Q. Its distinct columns, one per line. 6 B
004398 unicode/part1/U+1D563 NormalizationTest.txt ๐•ฃโŠr Line 15623: MATHEMATICAL DOUBLE-STRUCK SMALL R. Its distinct columns, one per line. 6 B
004399 unicode/part1/U+1D564 NormalizationTest.txt ๐•คโŠs Line 15624: MATHEMATICAL DOUBLE-STRUCK SMALL S. 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.