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
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
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

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.