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
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
004400 unicode/part1/U+1D565 NormalizationTest.txt ๐•ฅโŠt Line 15625: MATHEMATICAL DOUBLE-STRUCK SMALL T. Its distinct columns, one per line. 6 B
004401 unicode/part1/U+1D566 NormalizationTest.txt ๐•ฆโŠu Line 15626: MATHEMATICAL DOUBLE-STRUCK SMALL U. Its distinct columns, one per line. 6 B
004402 unicode/part1/U+1D567 NormalizationTest.txt ๐•งโŠv Line 15627: MATHEMATICAL DOUBLE-STRUCK SMALL V. Its distinct columns, one per line. 6 B
004403 unicode/part1/U+1D568 NormalizationTest.txt ๐•จโŠw Line 15628: MATHEMATICAL DOUBLE-STRUCK SMALL W. Its distinct columns, one per line. 6 B
004404 unicode/part1/U+1D569 NormalizationTest.txt ๐•ฉโŠx Line 15629: MATHEMATICAL DOUBLE-STRUCK SMALL X. Its distinct columns, one per line. 6 B
004405 unicode/part1/U+1D56A NormalizationTest.txt ๐•ชโŠy Line 15630: MATHEMATICAL DOUBLE-STRUCK SMALL Y. Its distinct columns, one per line. 6 B
004406 unicode/part1/U+1D56B NormalizationTest.txt ๐•ซโŠz Line 15631: MATHEMATICAL DOUBLE-STRUCK SMALL Z. Its distinct columns, one per line. 6 B
004407 unicode/part1/U+1D56C NormalizationTest.txt ๐•ฌโŠA Line 15632: MATHEMATICAL BOLD FRAKTUR CAPITAL A. Its distinct columns, one per line. 6 B
004408 unicode/part1/U+1D56D NormalizationTest.txt ๐•ญโŠB Line 15633: MATHEMATICAL BOLD FRAKTUR CAPITAL B. Its distinct columns, one per line. 6 B
004409 unicode/part1/U+1D56E NormalizationTest.txt ๐•ฎโŠC Line 15634: MATHEMATICAL BOLD FRAKTUR CAPITAL C. Its distinct columns, one per line. 6 B
004410 unicode/part1/U+1D56F NormalizationTest.txt ๐•ฏโŠD Line 15635: MATHEMATICAL BOLD FRAKTUR CAPITAL D. Its distinct columns, one per line. 6 B
004411 unicode/part1/U+1D570 NormalizationTest.txt ๐•ฐโŠE Line 15636: MATHEMATICAL BOLD FRAKTUR CAPITAL E. Its distinct columns, one per line. 6 B
004412 unicode/part1/U+1D571 NormalizationTest.txt ๐•ฑโŠF Line 15637: MATHEMATICAL BOLD FRAKTUR CAPITAL F. Its distinct columns, one per line. 6 B
004413 unicode/part1/U+1D572 NormalizationTest.txt ๐•ฒโŠG Line 15638: MATHEMATICAL BOLD FRAKTUR CAPITAL G. Its distinct columns, one per line. 6 B
004414 unicode/part1/U+1D573 NormalizationTest.txt ๐•ณโŠH Line 15639: MATHEMATICAL BOLD FRAKTUR CAPITAL H. Its distinct columns, one per line. 6 B
004415 unicode/part1/U+1D574 NormalizationTest.txt ๐•ดโŠI Line 15640: MATHEMATICAL BOLD FRAKTUR CAPITAL I. Its distinct columns, one per line. 6 B
004416 unicode/part1/U+1D575 NormalizationTest.txt ๐•ตโŠJ Line 15641: MATHEMATICAL BOLD FRAKTUR CAPITAL J. Its distinct columns, one per line. 6 B
004417 unicode/part1/U+1D576 NormalizationTest.txt ๐•ถโŠK Line 15642: MATHEMATICAL BOLD FRAKTUR CAPITAL K. Its distinct columns, one per line. 6 B
004418 unicode/part1/U+1D577 NormalizationTest.txt ๐•ทโŠL Line 15643: MATHEMATICAL BOLD FRAKTUR CAPITAL L. Its distinct columns, one per line. 6 B
004419 unicode/part1/U+1D578 NormalizationTest.txt ๐•ธโŠM Line 15644: MATHEMATICAL BOLD FRAKTUR CAPITAL M. Its distinct columns, one per line. 6 B
004420 unicode/part1/U+1D579 NormalizationTest.txt ๐•นโŠN Line 15645: MATHEMATICAL BOLD FRAKTUR CAPITAL N. Its distinct columns, one per line. 6 B
004421 unicode/part1/U+1D57A NormalizationTest.txt ๐•บโŠO Line 15646: MATHEMATICAL BOLD FRAKTUR CAPITAL O. Its distinct columns, one per line. 6 B
004422 unicode/part1/U+1D57B NormalizationTest.txt ๐•ปโŠP Line 15647: MATHEMATICAL BOLD FRAKTUR CAPITAL P. Its distinct columns, one per line. 6 B
004423 unicode/part1/U+1D57C NormalizationTest.txt ๐•ผโŠQ Line 15648: MATHEMATICAL BOLD FRAKTUR CAPITAL Q. Its distinct columns, one per line. 6 B
004424 unicode/part1/U+1D57D NormalizationTest.txt ๐•ฝโŠR Line 15649: MATHEMATICAL BOLD FRAKTUR CAPITAL R. Its distinct columns, one per line. 6 B
004425 unicode/part1/U+1D57E NormalizationTest.txt ๐•พโŠS Line 15650: MATHEMATICAL BOLD FRAKTUR CAPITAL S. Its distinct columns, one per line. 6 B
004426 unicode/part1/U+1D57F NormalizationTest.txt ๐•ฟโŠT Line 15651: MATHEMATICAL BOLD FRAKTUR CAPITAL T. Its distinct columns, one per line. 6 B
004427 unicode/part1/U+1D580 NormalizationTest.txt ๐–€โŠU Line 15652: MATHEMATICAL BOLD FRAKTUR CAPITAL U. Its distinct columns, one per line. 6 B
004428 unicode/part1/U+1D581 NormalizationTest.txt ๐–โŠV Line 15653: MATHEMATICAL BOLD FRAKTUR CAPITAL V. Its distinct columns, one per line. 6 B
004429 unicode/part1/U+1D582 NormalizationTest.txt ๐–‚โŠW Line 15654: MATHEMATICAL BOLD FRAKTUR CAPITAL W. Its distinct columns, one per line. 6 B
004430 unicode/part1/U+1D583 NormalizationTest.txt ๐–ƒโŠX Line 15655: MATHEMATICAL BOLD FRAKTUR CAPITAL X. Its distinct columns, one per line. 6 B
004431 unicode/part1/U+1D584 NormalizationTest.txt ๐–„โŠY Line 15656: MATHEMATICAL BOLD FRAKTUR CAPITAL Y. Its distinct columns, one per line. 6 B
004432 unicode/part1/U+1D585 NormalizationTest.txt ๐–…โŠZ Line 15657: MATHEMATICAL BOLD FRAKTUR CAPITAL Z. Its distinct columns, one per line. 6 B
004433 unicode/part1/U+1D586 NormalizationTest.txt ๐–†โŠa Line 15658: MATHEMATICAL BOLD FRAKTUR SMALL A. Its distinct columns, one per line. 6 B
004434 unicode/part1/U+1D587 NormalizationTest.txt ๐–‡โŠb Line 15659: MATHEMATICAL BOLD FRAKTUR SMALL B. Its distinct columns, one per line. 6 B
004435 unicode/part1/U+1D588 NormalizationTest.txt ๐–ˆโŠc Line 15660: MATHEMATICAL BOLD FRAKTUR SMALL C. Its distinct columns, one per line. 6 B
004436 unicode/part1/U+1D589 NormalizationTest.txt ๐–‰โŠd Line 15661: MATHEMATICAL BOLD FRAKTUR SMALL D. Its distinct columns, one per line. 6 B
004437 unicode/part1/U+1D58A NormalizationTest.txt ๐–ŠโŠe Line 15662: MATHEMATICAL BOLD FRAKTUR SMALL E. Its distinct columns, one per line. 6 B
004438 unicode/part1/U+1D58B NormalizationTest.txt ๐–‹โŠf Line 15663: MATHEMATICAL BOLD FRAKTUR SMALL F. Its distinct columns, one per line. 6 B
004439 unicode/part1/U+1D58C NormalizationTest.txt ๐–ŒโŠg Line 15664: MATHEMATICAL BOLD FRAKTUR SMALL G. Its distinct columns, one per line. 6 B
004440 unicode/part1/U+1D58D NormalizationTest.txt ๐–โŠh Line 15665: MATHEMATICAL BOLD FRAKTUR SMALL H. Its distinct columns, one per line. 6 B
004441 unicode/part1/U+1D58E NormalizationTest.txt ๐–ŽโŠi Line 15666: MATHEMATICAL BOLD FRAKTUR SMALL I. Its distinct columns, one per line. 6 B
004442 unicode/part1/U+1D58F NormalizationTest.txt ๐–โŠj Line 15667: MATHEMATICAL BOLD FRAKTUR SMALL J. Its distinct columns, one per line. 6 B
004443 unicode/part1/U+1D590 NormalizationTest.txt ๐–โŠk Line 15668: MATHEMATICAL BOLD FRAKTUR SMALL K. Its distinct columns, one per line. 6 B
004444 unicode/part1/U+1D591 NormalizationTest.txt ๐–‘โŠl Line 15669: MATHEMATICAL BOLD FRAKTUR SMALL L. 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.