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
004050 unicode/part1/U+1CCF6 NormalizationTest.txt ๐œณถโŠ6 Line 15275: OUTLINED DIGIT SIX. Its distinct columns, one per line. 6 B
004051 unicode/part1/U+1CCF7 NormalizationTest.txt ๐œณทโŠ7 Line 15276: OUTLINED DIGIT SEVEN. Its distinct columns, one per line. 6 B
004052 unicode/part1/U+1CCF8 NormalizationTest.txt ๐œณธโŠ8 Line 15277: OUTLINED DIGIT EIGHT. Its distinct columns, one per line. 6 B
004053 unicode/part1/U+1CCF9 NormalizationTest.txt ๐œณนโŠ9 Line 15278: OUTLINED DIGIT NINE. Its distinct columns, one per line. 6 B
004054 unicode/part1/U+1D15E NormalizationTest.txt ๐…—๐…ฅโŠ๐…—๐…ฅ Line 15279: MUSICAL SYMBOL HALF NOTE. Its distinct columns, one per line. 13 B
004055 unicode/part1/U+1D15F NormalizationTest.txt ๐…˜๐…ฅโŠ๐…˜๐…ฅ Line 15280: MUSICAL SYMBOL QUARTER NOTE. Its distinct columns, one per line. 13 B
004056 unicode/part1/U+1D160 NormalizationTest.txt ๐…˜๐…ฅ๐…ฎโŠ๐…˜๐…ฅ๐…ฎ Line 15281: MUSICAL SYMBOL EIGHTH NOTE. Its distinct columns, one per line. 17 B
004057 unicode/part1/U+1D161 NormalizationTest.txt ๐…˜๐…ฅ๐…ฏโŠ๐…˜๐…ฅ๐…ฏ Line 15282: MUSICAL SYMBOL SIXTEENTH NOTE. Its distinct columns, one per line. 17 B
004058 unicode/part1/U+1D162 NormalizationTest.txt ๐…˜๐…ฅ๐…ฐโŠ๐…˜๐…ฅ๐…ฐ Line 15283: MUSICAL SYMBOL THIRTY-SECOND NOTE. Its distinct columns, one per line. 17 B
004059 unicode/part1/U+1D163 NormalizationTest.txt ๐…˜๐…ฅ๐…ฑโŠ๐…˜๐…ฅ๐…ฑ Line 15284: MUSICAL SYMBOL SIXTY-FOURTH NOTE. Its distinct columns, one per line. 17 B
004060 unicode/part1/U+1D164 NormalizationTest.txt ๐…˜๐…ฅ๐…ฒโŠ๐…˜๐…ฅ๐…ฒ Line 15285: MUSICAL SYMBOL ONE HUNDRED TWENTY-EIGHTH NOTE. Its distinct columns, one per line. 17 B
004061 unicode/part1/U+1D1BB NormalizationTest.txt ๐†น๐…ฅโŠ๐†น๐…ฅ Line 15286: MUSICAL SYMBOL MINIMA. Its distinct columns, one per line. 13 B
004062 unicode/part1/U+1D1BC NormalizationTest.txt ๐†บ๐…ฅโŠ๐†บ๐…ฅ Line 15287: MUSICAL SYMBOL MINIMA BLACK. Its distinct columns, one per line. 13 B
004063 unicode/part1/U+1D1BD NormalizationTest.txt ๐†น๐…ฅ๐…ฎโŠ๐†น๐…ฅ๐…ฎ Line 15288: MUSICAL SYMBOL SEMIMINIMA WHITE. Its distinct columns, one per line. 17 B
004064 unicode/part1/U+1D1BE NormalizationTest.txt ๐†บ๐…ฅ๐…ฎโŠ๐†บ๐…ฅ๐…ฎ Line 15289: MUSICAL SYMBOL SEMIMINIMA BLACK. Its distinct columns, one per line. 17 B
004065 unicode/part1/U+1D1BF NormalizationTest.txt ๐†น๐…ฅ๐…ฏโŠ๐†น๐…ฅ๐…ฏ Line 15290: MUSICAL SYMBOL FUSA WHITE. Its distinct columns, one per line. 17 B
004066 unicode/part1/U+1D1C0 NormalizationTest.txt ๐†บ๐…ฅ๐…ฏโŠ๐†บ๐…ฅ๐…ฏ Line 15291: MUSICAL SYMBOL FUSA BLACK. Its distinct columns, one per line. 17 B
004067 unicode/part1/U+1D400 NormalizationTest.txt ๐€โŠA Line 15292: MATHEMATICAL BOLD CAPITAL A. Its distinct columns, one per line. 6 B
004068 unicode/part1/U+1D401 NormalizationTest.txt ๐โŠB Line 15293: MATHEMATICAL BOLD CAPITAL B. Its distinct columns, one per line. 6 B
004069 unicode/part1/U+1D402 NormalizationTest.txt ๐‚โŠC Line 15294: MATHEMATICAL BOLD CAPITAL C. Its distinct columns, one per line. 6 B
004070 unicode/part1/U+1D403 NormalizationTest.txt ๐ƒโŠD Line 15295: MATHEMATICAL BOLD CAPITAL D. Its distinct columns, one per line. 6 B
004071 unicode/part1/U+1D404 NormalizationTest.txt ๐„โŠE Line 15296: MATHEMATICAL BOLD CAPITAL E. Its distinct columns, one per line. 6 B
004072 unicode/part1/U+1D405 NormalizationTest.txt ๐…โŠF Line 15297: MATHEMATICAL BOLD CAPITAL F. Its distinct columns, one per line. 6 B
004073 unicode/part1/U+1D406 NormalizationTest.txt ๐†โŠG Line 15298: MATHEMATICAL BOLD CAPITAL G. Its distinct columns, one per line. 6 B
004074 unicode/part1/U+1D407 NormalizationTest.txt ๐‡โŠH Line 15299: MATHEMATICAL BOLD CAPITAL H. Its distinct columns, one per line. 6 B
004075 unicode/part1/U+1D408 NormalizationTest.txt ๐ˆโŠI Line 15300: MATHEMATICAL BOLD CAPITAL I. Its distinct columns, one per line. 6 B
004076 unicode/part1/U+1D409 NormalizationTest.txt ๐‰โŠJ Line 15301: MATHEMATICAL BOLD CAPITAL J. Its distinct columns, one per line. 6 B
004077 unicode/part1/U+1D40A NormalizationTest.txt ๐ŠโŠK Line 15302: MATHEMATICAL BOLD CAPITAL K. Its distinct columns, one per line. 6 B
004078 unicode/part1/U+1D40B NormalizationTest.txt ๐‹โŠL Line 15303: MATHEMATICAL BOLD CAPITAL L. Its distinct columns, one per line. 6 B
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

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.