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
005300 unicode/part1/U+1F127 NormalizationTest.txt ๐Ÿ„งโŠ(X) Line 16525: PARENTHESIZED LATIN CAPITAL LETTER X. Its distinct columns, one per line. 8 B
005301 unicode/part1/U+1F128 NormalizationTest.txt ๐Ÿ„จโŠ(Y) Line 16526: PARENTHESIZED LATIN CAPITAL LETTER Y. Its distinct columns, one per line. 8 B
005302 unicode/part1/U+1F129 NormalizationTest.txt ๐Ÿ„ฉโŠ(Z) Line 16527: PARENTHESIZED LATIN CAPITAL LETTER Z. Its distinct columns, one per line. 8 B
005303 unicode/part1/U+1F12A NormalizationTest.txt ๐Ÿ„ชโŠใ€”Sใ€• Line 16528: TORTOISE SHELL BRACKETED LATIN CAPITAL LETTER S. Its distinct columns, one per line. 12 B
005304 unicode/part1/U+1F12B NormalizationTest.txt ๐Ÿ„ซโŠC Line 16529: CIRCLED ITALIC LATIN CAPITAL LETTER C. Its distinct columns, one per line. 6 B
005305 unicode/part1/U+1F12C NormalizationTest.txt ๐Ÿ„ฌโŠR Line 16530: CIRCLED ITALIC LATIN CAPITAL LETTER R. Its distinct columns, one per line. 6 B
005306 unicode/part1/U+1F12D NormalizationTest.txt ๐Ÿ„ญโŠCD Line 16531: CIRCLED CD. Its distinct columns, one per line. 7 B
005307 unicode/part1/U+1F12E NormalizationTest.txt ๐Ÿ„ฎโŠWZ Line 16532: CIRCLED WZ. Its distinct columns, one per line. 7 B
005308 unicode/part1/U+1F130 NormalizationTest.txt ๐Ÿ„ฐโŠA Line 16533: SQUARED LATIN CAPITAL LETTER A. Its distinct columns, one per line. 6 B
005309 unicode/part1/U+1F131 NormalizationTest.txt ๐Ÿ„ฑโŠB Line 16534: SQUARED LATIN CAPITAL LETTER B. Its distinct columns, one per line. 6 B
005310 unicode/part1/U+1F132 NormalizationTest.txt ๐Ÿ„ฒโŠC Line 16535: SQUARED LATIN CAPITAL LETTER C. Its distinct columns, one per line. 6 B
005311 unicode/part1/U+1F133 NormalizationTest.txt ๐Ÿ„ณโŠD Line 16536: SQUARED LATIN CAPITAL LETTER D. Its distinct columns, one per line. 6 B
005312 unicode/part1/U+1F134 NormalizationTest.txt ๐Ÿ„ดโŠE Line 16537: SQUARED LATIN CAPITAL LETTER E. Its distinct columns, one per line. 6 B
005313 unicode/part1/U+1F135 NormalizationTest.txt ๐Ÿ„ตโŠF Line 16538: SQUARED LATIN CAPITAL LETTER F. Its distinct columns, one per line. 6 B
005314 unicode/part1/U+1F136 NormalizationTest.txt ๐Ÿ„ถโŠG Line 16539: SQUARED LATIN CAPITAL LETTER G. Its distinct columns, one per line. 6 B
005315 unicode/part1/U+1F137 NormalizationTest.txt ๐Ÿ„ทโŠH Line 16540: SQUARED LATIN CAPITAL LETTER H. Its distinct columns, one per line. 6 B
005316 unicode/part1/U+1F138 NormalizationTest.txt ๐Ÿ„ธโŠI Line 16541: SQUARED LATIN CAPITAL LETTER I. Its distinct columns, one per line. 6 B
005317 unicode/part1/U+1F139 NormalizationTest.txt ๐Ÿ„นโŠJ Line 16542: SQUARED LATIN CAPITAL LETTER J. Its distinct columns, one per line. 6 B
005318 unicode/part1/U+1F13A NormalizationTest.txt ๐Ÿ„บโŠK Line 16543: SQUARED LATIN CAPITAL LETTER K. Its distinct columns, one per line. 6 B
005319 unicode/part1/U+1F13B NormalizationTest.txt ๐Ÿ„ปโŠL Line 16544: SQUARED LATIN CAPITAL LETTER L. Its distinct columns, one per line. 6 B
005320 unicode/part1/U+1F13C NormalizationTest.txt ๐Ÿ„ผโŠM Line 16545: SQUARED LATIN CAPITAL LETTER M. Its distinct columns, one per line. 6 B
005321 unicode/part1/U+1F13D NormalizationTest.txt ๐Ÿ„ฝโŠN Line 16546: SQUARED LATIN CAPITAL LETTER N. Its distinct columns, one per line. 6 B
005322 unicode/part1/U+1F13E NormalizationTest.txt ๐Ÿ„พโŠO Line 16547: SQUARED LATIN CAPITAL LETTER O. Its distinct columns, one per line. 6 B
005323 unicode/part1/U+1F13F NormalizationTest.txt ๐Ÿ„ฟโŠP Line 16548: SQUARED LATIN CAPITAL LETTER P. Its distinct columns, one per line. 6 B
005324 unicode/part1/U+1F140 NormalizationTest.txt ๐Ÿ…€โŠQ Line 16549: SQUARED LATIN CAPITAL LETTER Q. Its distinct columns, one per line. 6 B
005325 unicode/part1/U+1F141 NormalizationTest.txt ๐Ÿ…โŠR Line 16550: SQUARED LATIN CAPITAL LETTER R. Its distinct columns, one per line. 6 B
005326 unicode/part1/U+1F142 NormalizationTest.txt ๐Ÿ…‚โŠS Line 16551: SQUARED LATIN CAPITAL LETTER S. Its distinct columns, one per line. 6 B
005327 unicode/part1/U+1F143 NormalizationTest.txt ๐Ÿ…ƒโŠT Line 16552: SQUARED LATIN CAPITAL LETTER T. Its distinct columns, one per line. 6 B
005328 unicode/part1/U+1F144 NormalizationTest.txt ๐Ÿ…„โŠU Line 16553: SQUARED LATIN CAPITAL LETTER U. Its distinct columns, one per line. 6 B
005329 unicode/part1/U+1F145 NormalizationTest.txt ๐Ÿ……โŠV Line 16554: SQUARED LATIN CAPITAL LETTER V. Its distinct columns, one per line. 6 B
005330 unicode/part1/U+1F146 NormalizationTest.txt ๐Ÿ…†โŠW Line 16555: SQUARED LATIN CAPITAL LETTER W. Its distinct columns, one per line. 6 B
005331 unicode/part1/U+1F147 NormalizationTest.txt ๐Ÿ…‡โŠX Line 16556: SQUARED LATIN CAPITAL LETTER X. Its distinct columns, one per line. 6 B
005332 unicode/part1/U+1F148 NormalizationTest.txt ๐Ÿ…ˆโŠY Line 16557: SQUARED LATIN CAPITAL LETTER Y. Its distinct columns, one per line. 6 B
005333 unicode/part1/U+1F149 NormalizationTest.txt ๐Ÿ…‰โŠZ Line 16558: SQUARED LATIN CAPITAL LETTER Z. Its distinct columns, one per line. 6 B
005334 unicode/part1/U+1F14A NormalizationTest.txt ๐Ÿ…ŠโŠHV Line 16559: SQUARED HV. Its distinct columns, one per line. 7 B
005335 unicode/part1/U+1F14B NormalizationTest.txt ๐Ÿ…‹โŠMV Line 16560: SQUARED MV. Its distinct columns, one per line. 7 B
005336 unicode/part1/U+1F14C NormalizationTest.txt ๐Ÿ…ŒโŠSD Line 16561: SQUARED SD. Its distinct columns, one per line. 7 B
005337 unicode/part1/U+1F14D NormalizationTest.txt ๐Ÿ…โŠSS Line 16562: SQUARED SS. Its distinct columns, one per line. 7 B
005338 unicode/part1/U+1F14E NormalizationTest.txt ๐Ÿ…ŽโŠPPV Line 16563: SQUARED PPV. Its distinct columns, one per line. 8 B
005339 unicode/part1/U+1F14F NormalizationTest.txt ๐Ÿ…โŠWC Line 16564: SQUARED WC. Its distinct columns, one per line. 7 B
005340 unicode/part1/U+1F16A NormalizationTest.txt ๐Ÿ…ชโŠMC Line 16565: RAISED MC SIGN. Its distinct columns, one per line. 7 B
005341 unicode/part1/U+1F16B NormalizationTest.txt ๐Ÿ…ซโŠMD Line 16566: RAISED MD SIGN. Its distinct columns, one per line. 7 B
005342 unicode/part1/U+1F16C NormalizationTest.txt ๐Ÿ…ฌโŠMR Line 16567: RAISED MR SIGN. Its distinct columns, one per line. 7 B
005343 unicode/part1/U+1F190 NormalizationTest.txt ๐Ÿ†โŠDJ Line 16568: SQUARE DJ. Its distinct columns, one per line. 7 B
005344 unicode/part1/U+1F200 NormalizationTest.txt ๐Ÿˆ€โŠใปใ‹ Line 16569: SQUARE HIRAGANA HOKA. Its distinct columns, one per line. 11 B
005345 unicode/part1/U+1F201 NormalizationTest.txt ๐ŸˆโŠใ‚ณใ‚ณ Line 16570: SQUARED KATAKANA KOKO. Its distinct columns, one per line. 11 B
005346 unicode/part1/U+1F202 NormalizationTest.txt ๐Ÿˆ‚โŠใ‚ต Line 16571: SQUARED KATAKANA SA. Its distinct columns, one per line. 8 B
005347 unicode/part1/U+1F210 NormalizationTest.txt ๐ŸˆโŠๆ‰‹ Line 16572: SQUARED CJK UNIFIED IDEOGRAPH-624B. Its distinct columns, one per line. 8 B
005348 unicode/part1/U+1F211 NormalizationTest.txt ๐Ÿˆ‘โŠๅญ— Line 16573: SQUARED CJK UNIFIED IDEOGRAPH-5B57. Its distinct columns, one per line. 8 B
005349 unicode/part1/U+1F212 NormalizationTest.txt ๐Ÿˆ’โŠๅŒ Line 16574: SQUARED CJK UNIFIED IDEOGRAPH-53CC. Its distinct columns, one per line. 8 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.