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
004095 unicode/part1/U+1D41C NormalizationTest.txt ๐œโŠc Line 15320: MATHEMATICAL BOLD SMALL C. Its distinct columns, one per line. 6 B
004096 unicode/part1/U+1D41D NormalizationTest.txt ๐โŠd Line 15321: MATHEMATICAL BOLD SMALL D. Its distinct columns, one per line. 6 B
004097 unicode/part1/U+1D41E NormalizationTest.txt ๐žโŠe Line 15322: MATHEMATICAL BOLD SMALL E. Its distinct columns, one per line. 6 B
004098 unicode/part1/U+1D41F NormalizationTest.txt ๐ŸโŠf Line 15323: MATHEMATICAL BOLD SMALL F. Its distinct columns, one per line. 6 B
004099 unicode/part1/U+1D420 NormalizationTest.txt ๐ โŠg Line 15324: MATHEMATICAL BOLD SMALL G. Its distinct columns, one per line. 6 B
004100 unicode/part1/U+1D421 NormalizationTest.txt ๐กโŠh Line 15325: MATHEMATICAL BOLD SMALL H. Its distinct columns, one per line. 6 B
004101 unicode/part1/U+1D422 NormalizationTest.txt ๐ขโŠi Line 15326: MATHEMATICAL BOLD SMALL I. Its distinct columns, one per line. 6 B
004102 unicode/part1/U+1D423 NormalizationTest.txt ๐ฃโŠj Line 15327: MATHEMATICAL BOLD SMALL J. Its distinct columns, one per line. 6 B
004103 unicode/part1/U+1D424 NormalizationTest.txt ๐คโŠk Line 15328: MATHEMATICAL BOLD SMALL K. Its distinct columns, one per line. 6 B
004104 unicode/part1/U+1D425 NormalizationTest.txt ๐ฅโŠl Line 15329: MATHEMATICAL BOLD SMALL L. Its distinct columns, one per line. 6 B
004105 unicode/part1/U+1D426 NormalizationTest.txt ๐ฆโŠm Line 15330: MATHEMATICAL BOLD SMALL M. Its distinct columns, one per line. 6 B
004106 unicode/part1/U+1D427 NormalizationTest.txt ๐งโŠn Line 15331: MATHEMATICAL BOLD SMALL N. Its distinct columns, one per line. 6 B
004107 unicode/part1/U+1D428 NormalizationTest.txt ๐จโŠo Line 15332: MATHEMATICAL BOLD SMALL O. Its distinct columns, one per line. 6 B
004108 unicode/part1/U+1D429 NormalizationTest.txt ๐ฉโŠp Line 15333: MATHEMATICAL BOLD SMALL P. Its distinct columns, one per line. 6 B
004109 unicode/part1/U+1D42A NormalizationTest.txt ๐ชโŠq Line 15334: MATHEMATICAL BOLD SMALL Q. Its distinct columns, one per line. 6 B
004110 unicode/part1/U+1D42B NormalizationTest.txt ๐ซโŠr Line 15335: MATHEMATICAL BOLD SMALL R. Its distinct columns, one per line. 6 B
004111 unicode/part1/U+1D42C NormalizationTest.txt ๐ฌโŠs Line 15336: MATHEMATICAL BOLD SMALL S. Its distinct columns, one per line. 6 B
004112 unicode/part1/U+1D42D NormalizationTest.txt ๐ญโŠt Line 15337: MATHEMATICAL BOLD SMALL T. Its distinct columns, one per line. 6 B
004113 unicode/part1/U+1D42E NormalizationTest.txt ๐ฎโŠu Line 15338: MATHEMATICAL BOLD SMALL U. Its distinct columns, one per line. 6 B
004114 unicode/part1/U+1D42F NormalizationTest.txt ๐ฏโŠv Line 15339: MATHEMATICAL BOLD SMALL V. Its distinct columns, one per line. 6 B
004115 unicode/part1/U+1D430 NormalizationTest.txt ๐ฐโŠw Line 15340: MATHEMATICAL BOLD SMALL W. Its distinct columns, one per line. 6 B
004116 unicode/part1/U+1D431 NormalizationTest.txt ๐ฑโŠx Line 15341: MATHEMATICAL BOLD SMALL X. Its distinct columns, one per line. 6 B
004117 unicode/part1/U+1D432 NormalizationTest.txt ๐ฒโŠy Line 15342: MATHEMATICAL BOLD SMALL Y. Its distinct columns, one per line. 6 B
004118 unicode/part1/U+1D433 NormalizationTest.txt ๐ณโŠz Line 15343: MATHEMATICAL BOLD SMALL Z. Its distinct columns, one per line. 6 B
004119 unicode/part1/U+1D434 NormalizationTest.txt ๐ดโŠA Line 15344: MATHEMATICAL ITALIC CAPITAL A. Its distinct columns, one per line. 6 B
004120 unicode/part1/U+1D435 NormalizationTest.txt ๐ตโŠB Line 15345: MATHEMATICAL ITALIC CAPITAL B. Its distinct columns, one per line. 6 B
004121 unicode/part1/U+1D436 NormalizationTest.txt ๐ถโŠC Line 15346: MATHEMATICAL ITALIC CAPITAL C. Its distinct columns, one per line. 6 B
004122 unicode/part1/U+1D437 NormalizationTest.txt ๐ทโŠD Line 15347: MATHEMATICAL ITALIC CAPITAL D. Its distinct columns, one per line. 6 B
004123 unicode/part1/U+1D438 NormalizationTest.txt ๐ธโŠE Line 15348: MATHEMATICAL ITALIC CAPITAL E. Its distinct columns, one per line. 6 B
004124 unicode/part1/U+1D439 NormalizationTest.txt ๐นโŠF Line 15349: MATHEMATICAL ITALIC CAPITAL F. Its distinct columns, one per line. 6 B
004125 unicode/part1/U+1D43A NormalizationTest.txt ๐บโŠG Line 15350: MATHEMATICAL ITALIC CAPITAL G. Its distinct columns, one per line. 6 B
004126 unicode/part1/U+1D43B NormalizationTest.txt ๐ปโŠH Line 15351: MATHEMATICAL ITALIC CAPITAL H. Its distinct columns, one per line. 6 B
004127 unicode/part1/U+1D43C NormalizationTest.txt ๐ผโŠI Line 15352: MATHEMATICAL ITALIC CAPITAL I. Its distinct columns, one per line. 6 B
004128 unicode/part1/U+1D43D NormalizationTest.txt ๐ฝโŠJ Line 15353: MATHEMATICAL ITALIC CAPITAL J. Its distinct columns, one per line. 6 B
004129 unicode/part1/U+1D43E NormalizationTest.txt ๐พโŠK Line 15354: MATHEMATICAL ITALIC CAPITAL K. Its distinct columns, one per line. 6 B
004130 unicode/part1/U+1D43F NormalizationTest.txt ๐ฟโŠL Line 15355: MATHEMATICAL ITALIC CAPITAL L. Its distinct columns, one per line. 6 B
004131 unicode/part1/U+1D440 NormalizationTest.txt ๐‘€โŠM Line 15356: MATHEMATICAL ITALIC CAPITAL M. Its distinct columns, one per line. 6 B
004132 unicode/part1/U+1D441 NormalizationTest.txt ๐‘โŠN Line 15357: MATHEMATICAL ITALIC CAPITAL N. Its distinct columns, one per line. 6 B
004133 unicode/part1/U+1D442 NormalizationTest.txt ๐‘‚โŠO Line 15358: MATHEMATICAL ITALIC CAPITAL O. Its distinct columns, one per line. 6 B
004134 unicode/part1/U+1D443 NormalizationTest.txt ๐‘ƒโŠP Line 15359: MATHEMATICAL ITALIC CAPITAL P. Its distinct columns, one per line. 6 B
004135 unicode/part1/U+1D444 NormalizationTest.txt ๐‘„โŠQ Line 15360: MATHEMATICAL ITALIC CAPITAL Q. Its distinct columns, one per line. 6 B
004136 unicode/part1/U+1D445 NormalizationTest.txt ๐‘…โŠR Line 15361: MATHEMATICAL ITALIC CAPITAL R. Its distinct columns, one per line. 6 B
004137 unicode/part1/U+1D446 NormalizationTest.txt ๐‘†โŠS Line 15362: MATHEMATICAL ITALIC CAPITAL S. Its distinct columns, one per line. 6 B
004138 unicode/part1/U+1D447 NormalizationTest.txt ๐‘‡โŠT Line 15363: MATHEMATICAL ITALIC CAPITAL T. Its distinct columns, one per line. 6 B
004139 unicode/part1/U+1D448 NormalizationTest.txt ๐‘ˆโŠU Line 15364: MATHEMATICAL ITALIC CAPITAL U. Its distinct columns, one per line. 6 B
004140 unicode/part1/U+1D449 NormalizationTest.txt ๐‘‰โŠV Line 15365: MATHEMATICAL ITALIC CAPITAL V. Its distinct columns, one per line. 6 B
004141 unicode/part1/U+1D44A NormalizationTest.txt ๐‘ŠโŠW Line 15366: MATHEMATICAL ITALIC CAPITAL W. Its distinct columns, one per line. 6 B
004142 unicode/part1/U+1D44B NormalizationTest.txt ๐‘‹โŠX Line 15367: MATHEMATICAL ITALIC CAPITAL X. Its distinct columns, one per line. 6 B
004143 unicode/part1/U+1D44C NormalizationTest.txt ๐‘ŒโŠY Line 15368: MATHEMATICAL ITALIC CAPITAL Y. Its distinct columns, one per line. 6 B
004144 unicode/part1/U+1D44D NormalizationTest.txt ๐‘โŠZ Line 15369: MATHEMATICAL ITALIC CAPITAL Z. 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.