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
004079 unicode/part1/U+1D40C NormalizationTest.txt ๐ŒโŠM Line 15304: MATHEMATICAL BOLD CAPITAL M. Its distinct columns, one per line. 6 B
004080 unicode/part1/U+1D40D NormalizationTest.txt ๐โŠN Line 15305: MATHEMATICAL BOLD CAPITAL N. Its distinct columns, one per line. 6 B
004081 unicode/part1/U+1D40E NormalizationTest.txt ๐ŽโŠO Line 15306: MATHEMATICAL BOLD CAPITAL O. Its distinct columns, one per line. 6 B
004082 unicode/part1/U+1D40F NormalizationTest.txt ๐โŠP Line 15307: MATHEMATICAL BOLD CAPITAL P. Its distinct columns, one per line. 6 B
004083 unicode/part1/U+1D410 NormalizationTest.txt ๐โŠQ Line 15308: MATHEMATICAL BOLD CAPITAL Q. Its distinct columns, one per line. 6 B
004084 unicode/part1/U+1D411 NormalizationTest.txt ๐‘โŠR Line 15309: MATHEMATICAL BOLD CAPITAL R. Its distinct columns, one per line. 6 B
004085 unicode/part1/U+1D412 NormalizationTest.txt ๐’โŠS Line 15310: MATHEMATICAL BOLD CAPITAL S. Its distinct columns, one per line. 6 B
004086 unicode/part1/U+1D413 NormalizationTest.txt ๐“โŠT Line 15311: MATHEMATICAL BOLD CAPITAL T. Its distinct columns, one per line. 6 B
004087 unicode/part1/U+1D414 NormalizationTest.txt ๐”โŠU Line 15312: MATHEMATICAL BOLD CAPITAL U. Its distinct columns, one per line. 6 B
004088 unicode/part1/U+1D415 NormalizationTest.txt ๐•โŠV Line 15313: MATHEMATICAL BOLD CAPITAL V. Its distinct columns, one per line. 6 B
004089 unicode/part1/U+1D416 NormalizationTest.txt ๐–โŠW Line 15314: MATHEMATICAL BOLD CAPITAL W. Its distinct columns, one per line. 6 B
004090 unicode/part1/U+1D417 NormalizationTest.txt ๐—โŠX Line 15315: MATHEMATICAL BOLD CAPITAL X. Its distinct columns, one per line. 6 B
004091 unicode/part1/U+1D418 NormalizationTest.txt ๐˜โŠY Line 15316: MATHEMATICAL BOLD CAPITAL Y. Its distinct columns, one per line. 6 B
004092 unicode/part1/U+1D419 NormalizationTest.txt ๐™โŠZ Line 15317: MATHEMATICAL BOLD CAPITAL Z. Its distinct columns, one per line. 6 B
004093 unicode/part1/U+1D41A NormalizationTest.txt ๐šโŠa Line 15318: MATHEMATICAL BOLD SMALL A. Its distinct columns, one per line. 6 B
004094 unicode/part1/U+1D41B NormalizationTest.txt ๐›โŠb Line 15319: MATHEMATICAL BOLD SMALL B. Its distinct columns, one per line. 6 B
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

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.