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
005550 unicode/part1/U+2F88A NormalizationTest.txt 㡼␊㡼 Line 16775: CJK COMPATIBILITY IDEOGRAPH-2F88A. Its distinct columns, one per line. 8 B
005551 unicode/part1/U+2F88B NormalizationTest.txt 庰␊庰 Line 16776: CJK COMPATIBILITY IDEOGRAPH-2F88B. Its distinct columns, one per line. 8 B
005552 unicode/part1/U+2F88C NormalizationTest.txt 庳␊庳 Line 16777: CJK COMPATIBILITY IDEOGRAPH-2F88C. Its distinct columns, one per line. 8 B
005553 unicode/part1/U+2F88D NormalizationTest.txt 庶␊庶 Line 16778: CJK COMPATIBILITY IDEOGRAPH-2F88D. Its distinct columns, one per line. 8 B
005554 unicode/part1/U+2F88E NormalizationTest.txt 廊␊廊 Line 16779: CJK COMPATIBILITY IDEOGRAPH-2F88E. Its distinct columns, one per line. 8 B
005555 unicode/part1/U+2F88F NormalizationTest.txt 𪎒␊𪎒 Line 16780: CJK COMPATIBILITY IDEOGRAPH-2F88F. Its distinct columns, one per line. 9 B
005556 unicode/part1/U+2F890 NormalizationTest.txt 廾␊廾 Line 16781: CJK COMPATIBILITY IDEOGRAPH-2F890. Its distinct columns, one per line. 8 B
005557 unicode/part1/U+2F891 NormalizationTest.txt 𢌱␊𢌱 Line 16782: CJK COMPATIBILITY IDEOGRAPH-2F891. Its distinct columns, one per line. 9 B
005558 unicode/part1/U+2F892 NormalizationTest.txt 𢌱␊𢌱 Line 16783: CJK COMPATIBILITY IDEOGRAPH-2F892. Its distinct columns, one per line. 9 B
005559 unicode/part1/U+2F893 NormalizationTest.txt 舁␊舁 Line 16784: CJK COMPATIBILITY IDEOGRAPH-2F893. Its distinct columns, one per line. 8 B
005560 unicode/part1/U+2F894 NormalizationTest.txt 弢␊弢 Line 16785: CJK COMPATIBILITY IDEOGRAPH-2F894. Its distinct columns, one per line. 8 B
005561 unicode/part1/U+2F895 NormalizationTest.txt 弢␊弢 Line 16786: CJK COMPATIBILITY IDEOGRAPH-2F895. Its distinct columns, one per line. 8 B
005562 unicode/part1/U+2F896 NormalizationTest.txt 㣇␊㣇 Line 16787: CJK COMPATIBILITY IDEOGRAPH-2F896. Its distinct columns, one per line. 8 B
005563 unicode/part1/U+2F897 NormalizationTest.txt 𣊸␊𣊸 Line 16788: CJK COMPATIBILITY IDEOGRAPH-2F897. Its distinct columns, one per line. 9 B
005564 unicode/part1/U+2F898 NormalizationTest.txt 𦇚␊𦇚 Line 16789: CJK COMPATIBILITY IDEOGRAPH-2F898. Its distinct columns, one per line. 9 B
005565 unicode/part1/U+2F899 NormalizationTest.txt 形␊形 Line 16790: CJK COMPATIBILITY IDEOGRAPH-2F899. Its distinct columns, one per line. 8 B
005566 unicode/part1/U+2F89A NormalizationTest.txt 彫␊彫 Line 16791: CJK COMPATIBILITY IDEOGRAPH-2F89A. Its distinct columns, one per line. 8 B
005567 unicode/part1/U+2F89B NormalizationTest.txt 㣣␊㣣 Line 16792: CJK COMPATIBILITY IDEOGRAPH-2F89B. Its distinct columns, one per line. 8 B
005568 unicode/part1/U+2F89C NormalizationTest.txt 徚␊徚 Line 16793: CJK COMPATIBILITY IDEOGRAPH-2F89C. Its distinct columns, one per line. 8 B
005569 unicode/part1/U+2F89D NormalizationTest.txt 忍␊忍 Line 16794: CJK COMPATIBILITY IDEOGRAPH-2F89D. Its distinct columns, one per line. 8 B
005570 unicode/part1/U+2F89E NormalizationTest.txt 志␊志 Line 16795: CJK COMPATIBILITY IDEOGRAPH-2F89E. Its distinct columns, one per line. 8 B
005571 unicode/part1/U+2F89F NormalizationTest.txt 忹␊忹 Line 16796: CJK COMPATIBILITY IDEOGRAPH-2F89F. Its distinct columns, one per line. 8 B
005572 unicode/part1/U+2F8A0 NormalizationTest.txt 悁␊悁 Line 16797: CJK COMPATIBILITY IDEOGRAPH-2F8A0. Its distinct columns, one per line. 8 B
005573 unicode/part1/U+2F8A1 NormalizationTest.txt 㤺␊㤺 Line 16798: CJK COMPATIBILITY IDEOGRAPH-2F8A1. Its distinct columns, one per line. 8 B
005574 unicode/part1/U+2F8A2 NormalizationTest.txt 㤜␊㤜 Line 16799: CJK COMPATIBILITY IDEOGRAPH-2F8A2. Its distinct columns, one per line. 8 B
005575 unicode/part1/U+2F8A3 NormalizationTest.txt 悔␊悔 Line 16800: CJK COMPATIBILITY IDEOGRAPH-2F8A3. Its distinct columns, one per line. 8 B
005576 unicode/part1/U+2F8A4 NormalizationTest.txt 𢛔␊𢛔 Line 16801: CJK COMPATIBILITY IDEOGRAPH-2F8A4. Its distinct columns, one per line. 9 B
005577 unicode/part1/U+2F8A5 NormalizationTest.txt 惇␊惇 Line 16802: CJK COMPATIBILITY IDEOGRAPH-2F8A5. Its distinct columns, one per line. 8 B
005578 unicode/part1/U+2F8A6 NormalizationTest.txt 慈␊慈 Line 16803: CJK COMPATIBILITY IDEOGRAPH-2F8A6. Its distinct columns, one per line. 8 B
005579 unicode/part1/U+2F8A7 NormalizationTest.txt 慌␊慌 Line 16804: CJK COMPATIBILITY IDEOGRAPH-2F8A7. Its distinct columns, one per line. 8 B
005580 unicode/part1/U+2F8A8 NormalizationTest.txt 慎␊慎 Line 16805: CJK COMPATIBILITY IDEOGRAPH-2F8A8. Its distinct columns, one per line. 8 B
005581 unicode/part1/U+2F8A9 NormalizationTest.txt 慌␊慌 Line 16806: CJK COMPATIBILITY IDEOGRAPH-2F8A9. Its distinct columns, one per line. 8 B
005582 unicode/part1/U+2F8AA NormalizationTest.txt 慺␊慺 Line 16807: CJK COMPATIBILITY IDEOGRAPH-2F8AA. Its distinct columns, one per line. 8 B
005583 unicode/part1/U+2F8AB NormalizationTest.txt 憎␊憎 Line 16808: CJK COMPATIBILITY IDEOGRAPH-2F8AB. Its distinct columns, one per line. 8 B
005584 unicode/part1/U+2F8AC NormalizationTest.txt 憲␊憲 Line 16809: CJK COMPATIBILITY IDEOGRAPH-2F8AC. Its distinct columns, one per line. 8 B
005585 unicode/part1/U+2F8AD NormalizationTest.txt 憤␊憤 Line 16810: CJK COMPATIBILITY IDEOGRAPH-2F8AD. Its distinct columns, one per line. 8 B
005586 unicode/part1/U+2F8AE NormalizationTest.txt 憯␊憯 Line 16811: CJK COMPATIBILITY IDEOGRAPH-2F8AE. Its distinct columns, one per line. 8 B
005587 unicode/part1/U+2F8AF NormalizationTest.txt 懞␊懞 Line 16812: CJK COMPATIBILITY IDEOGRAPH-2F8AF. Its distinct columns, one per line. 8 B
005588 unicode/part1/U+2F8B0 NormalizationTest.txt 懲␊懲 Line 16813: CJK COMPATIBILITY IDEOGRAPH-2F8B0. Its distinct columns, one per line. 8 B
005589 unicode/part1/U+2F8B1 NormalizationTest.txt 懶␊懶 Line 16814: CJK COMPATIBILITY IDEOGRAPH-2F8B1. Its distinct columns, one per line. 8 B
005590 unicode/part1/U+2F8B2 NormalizationTest.txt 成␊成 Line 16815: CJK COMPATIBILITY IDEOGRAPH-2F8B2. Its distinct columns, one per line. 8 B
005591 unicode/part1/U+2F8B3 NormalizationTest.txt 戛␊戛 Line 16816: CJK COMPATIBILITY IDEOGRAPH-2F8B3. Its distinct columns, one per line. 8 B
005592 unicode/part1/U+2F8B4 NormalizationTest.txt 扝␊扝 Line 16817: CJK COMPATIBILITY IDEOGRAPH-2F8B4. Its distinct columns, one per line. 8 B
005593 unicode/part1/U+2F8B5 NormalizationTest.txt 抱␊抱 Line 16818: CJK COMPATIBILITY IDEOGRAPH-2F8B5. Its distinct columns, one per line. 8 B
005594 unicode/part1/U+2F8B6 NormalizationTest.txt 拔␊拔 Line 16819: CJK COMPATIBILITY IDEOGRAPH-2F8B6. Its distinct columns, one per line. 8 B
005595 unicode/part1/U+2F8B7 NormalizationTest.txt 捐␊捐 Line 16820: CJK COMPATIBILITY IDEOGRAPH-2F8B7. Its distinct columns, one per line. 8 B
005596 unicode/part1/U+2F8B8 NormalizationTest.txt 𢬌␊𢬌 Line 16821: CJK COMPATIBILITY IDEOGRAPH-2F8B8. Its distinct columns, one per line. 9 B
005597 unicode/part1/U+2F8B9 NormalizationTest.txt 挽␊挽 Line 16822: CJK COMPATIBILITY IDEOGRAPH-2F8B9. Its distinct columns, one per line. 8 B
005598 unicode/part1/U+2F8BA NormalizationTest.txt 拼␊拼 Line 16823: CJK COMPATIBILITY IDEOGRAPH-2F8BA. Its distinct columns, one per line. 8 B
005599 unicode/part1/U+2F8BB NormalizationTest.txt 捨␊捨 Line 16824: CJK COMPATIBILITY IDEOGRAPH-2F8BB. 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.