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
005379 unicode/part1/U+1F230 NormalizationTest.txt ๐ŸˆฐโŠ่ตฐ Line 16604: SQUARED CJK UNIFIED IDEOGRAPH-8D70. Its distinct columns, one per line. 8 B
005380 unicode/part1/U+1F231 NormalizationTest.txt ๐ŸˆฑโŠๆ‰“ Line 16605: SQUARED CJK UNIFIED IDEOGRAPH-6253. Its distinct columns, one per line. 8 B
005381 unicode/part1/U+1F232 NormalizationTest.txt ๐ŸˆฒโŠ็ฆ Line 16606: SQUARED CJK UNIFIED IDEOGRAPH-7981. Its distinct columns, one per line. 8 B
005382 unicode/part1/U+1F233 NormalizationTest.txt ๐ŸˆณโŠ็ฉบ Line 16607: SQUARED CJK UNIFIED IDEOGRAPH-7A7A. Its distinct columns, one per line. 8 B
005383 unicode/part1/U+1F234 NormalizationTest.txt ๐ŸˆดโŠๅˆ Line 16608: SQUARED CJK UNIFIED IDEOGRAPH-5408. Its distinct columns, one per line. 8 B
005384 unicode/part1/U+1F235 NormalizationTest.txt ๐ŸˆตโŠๆบ€ Line 16609: SQUARED CJK UNIFIED IDEOGRAPH-6E80. Its distinct columns, one per line. 8 B
005385 unicode/part1/U+1F236 NormalizationTest.txt ๐ŸˆถโŠๆœ‰ Line 16610: SQUARED CJK UNIFIED IDEOGRAPH-6709. Its distinct columns, one per line. 8 B
005386 unicode/part1/U+1F237 NormalizationTest.txt ๐ŸˆทโŠๆœˆ Line 16611: SQUARED CJK UNIFIED IDEOGRAPH-6708. Its distinct columns, one per line. 8 B
005387 unicode/part1/U+1F238 NormalizationTest.txt ๐ŸˆธโŠ็”ณ Line 16612: SQUARED CJK UNIFIED IDEOGRAPH-7533. Its distinct columns, one per line. 8 B
005388 unicode/part1/U+1F239 NormalizationTest.txt ๐ŸˆนโŠๅ‰ฒ Line 16613: SQUARED CJK UNIFIED IDEOGRAPH-5272. Its distinct columns, one per line. 8 B
005389 unicode/part1/U+1F23A NormalizationTest.txt ๐ŸˆบโŠๅ–ถ Line 16614: SQUARED CJK UNIFIED IDEOGRAPH-55B6. Its distinct columns, one per line. 8 B
005390 unicode/part1/U+1F23B NormalizationTest.txt ๐ŸˆปโŠ้… Line 16615: SQUARED CJK UNIFIED IDEOGRAPH-914D. Its distinct columns, one per line. 8 B
005391 unicode/part1/U+1F240 NormalizationTest.txt ๐Ÿ‰€โŠใ€”ๆœฌใ€• Line 16616: TORTOISE SHELL BRACKETED CJK UNIFIED IDEOGRAPH-672C. Its distinct columns, one per line. 14 B
005392 unicode/part1/U+1F241 NormalizationTest.txt ๐Ÿ‰โŠใ€”ไธ‰ใ€• Line 16617: TORTOISE SHELL BRACKETED CJK UNIFIED IDEOGRAPH-4E09. Its distinct columns, one per line. 14 B
005393 unicode/part1/U+1F242 NormalizationTest.txt ๐Ÿ‰‚โŠใ€”ไบŒใ€• Line 16618: TORTOISE SHELL BRACKETED CJK UNIFIED IDEOGRAPH-4E8C. Its distinct columns, one per line. 14 B
005394 unicode/part1/U+1F243 NormalizationTest.txt ๐Ÿ‰ƒโŠใ€”ๅฎ‰ใ€• Line 16619: TORTOISE SHELL BRACKETED CJK UNIFIED IDEOGRAPH-5B89. Its distinct columns, one per line. 14 B
005395 unicode/part1/U+1F244 NormalizationTest.txt ๐Ÿ‰„โŠใ€”็‚นใ€• Line 16620: TORTOISE SHELL BRACKETED CJK UNIFIED IDEOGRAPH-70B9. Its distinct columns, one per line. 14 B
005396 unicode/part1/U+1F245 NormalizationTest.txt ๐Ÿ‰…โŠใ€”ๆ‰“ใ€• Line 16621: TORTOISE SHELL BRACKETED CJK UNIFIED IDEOGRAPH-6253. Its distinct columns, one per line. 14 B
005397 unicode/part1/U+1F246 NormalizationTest.txt ๐Ÿ‰†โŠใ€”็›—ใ€• Line 16622: TORTOISE SHELL BRACKETED CJK UNIFIED IDEOGRAPH-76D7. Its distinct columns, one per line. 14 B
005398 unicode/part1/U+1F247 NormalizationTest.txt ๐Ÿ‰‡โŠใ€”ๅ‹ใ€• Line 16623: TORTOISE SHELL BRACKETED CJK UNIFIED IDEOGRAPH-52DD. Its distinct columns, one per line. 14 B
005399 unicode/part1/U+1F248 NormalizationTest.txt ๐Ÿ‰ˆโŠใ€”ๆ•—ใ€• Line 16624: TORTOISE SHELL BRACKETED CJK UNIFIED IDEOGRAPH-6557. Its distinct columns, one per line. 14 B
005400 unicode/part1/U+1F250 NormalizationTest.txt ๐Ÿ‰โŠๅพ— Line 16625: CIRCLED IDEOGRAPH ADVANTAGE. Its distinct columns, one per line. 8 B
005401 unicode/part1/U+1F251 NormalizationTest.txt ๐Ÿ‰‘โŠๅฏ Line 16626: CIRCLED IDEOGRAPH ACCEPT. Its distinct columns, one per line. 8 B
005402 unicode/part1/U+1FBF0 NormalizationTest.txt ๐ŸฏฐโŠ0 Line 16627: SEGMENTED DIGIT ZERO. Its distinct columns, one per line. 6 B
005403 unicode/part1/U+1FBF1 NormalizationTest.txt ๐ŸฏฑโŠ1 Line 16628: SEGMENTED DIGIT ONE. Its distinct columns, one per line. 6 B
005404 unicode/part1/U+1FBF2 NormalizationTest.txt ๐ŸฏฒโŠ2 Line 16629: SEGMENTED DIGIT TWO. Its distinct columns, one per line. 6 B
005405 unicode/part1/U+1FBF3 NormalizationTest.txt ๐ŸฏณโŠ3 Line 16630: SEGMENTED DIGIT THREE. Its distinct columns, one per line. 6 B
005406 unicode/part1/U+1FBF4 NormalizationTest.txt ๐ŸฏดโŠ4 Line 16631: SEGMENTED DIGIT FOUR. Its distinct columns, one per line. 6 B
005407 unicode/part1/U+1FBF5 NormalizationTest.txt ๐ŸฏตโŠ5 Line 16632: SEGMENTED DIGIT FIVE. Its distinct columns, one per line. 6 B
005408 unicode/part1/U+1FBF6 NormalizationTest.txt ๐ŸฏถโŠ6 Line 16633: SEGMENTED DIGIT SIX. Its distinct columns, one per line. 6 B
005409 unicode/part1/U+1FBF7 NormalizationTest.txt ๐ŸฏทโŠ7 Line 16634: SEGMENTED DIGIT SEVEN. Its distinct columns, one per line. 6 B
005410 unicode/part1/U+1FBF8 NormalizationTest.txt ๐ŸฏธโŠ8 Line 16635: SEGMENTED DIGIT EIGHT. Its distinct columns, one per line. 6 B
005411 unicode/part1/U+1FBF9 NormalizationTest.txt ๐ŸฏนโŠ9 Line 16636: SEGMENTED DIGIT NINE. 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.