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

5,928 of 11,911 cases

Case Name Expected Note Size
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
005600 unicode/part1/U+2F8BC NormalizationTest.txt 掃␊掃 Line 16825: CJK COMPATIBILITY IDEOGRAPH-2F8BC. Its distinct columns, one per line. 8 B
005601 unicode/part1/U+2F8BD NormalizationTest.txt 揤␊揤 Line 16826: CJK COMPATIBILITY IDEOGRAPH-2F8BD. Its distinct columns, one per line. 8 B
005602 unicode/part1/U+2F8BE NormalizationTest.txt 𢯱␊𢯱 Line 16827: CJK COMPATIBILITY IDEOGRAPH-2F8BE. Its distinct columns, one per line. 9 B
005603 unicode/part1/U+2F8BF NormalizationTest.txt 搢␊搢 Line 16828: CJK COMPATIBILITY IDEOGRAPH-2F8BF. Its distinct columns, one per line. 8 B
005604 unicode/part1/U+2F8C0 NormalizationTest.txt 揅␊揅 Line 16829: CJK COMPATIBILITY IDEOGRAPH-2F8C0. Its distinct columns, one per line. 8 B
005605 unicode/part1/U+2F8C1 NormalizationTest.txt 掩␊掩 Line 16830: CJK COMPATIBILITY IDEOGRAPH-2F8C1. Its distinct columns, one per line. 8 B
005606 unicode/part1/U+2F8C2 NormalizationTest.txt 㨮␊㨮 Line 16831: CJK COMPATIBILITY IDEOGRAPH-2F8C2. Its distinct columns, one per line. 8 B
005607 unicode/part1/U+2F8C3 NormalizationTest.txt 摩␊摩 Line 16832: CJK COMPATIBILITY IDEOGRAPH-2F8C3. Its distinct columns, one per line. 8 B
005608 unicode/part1/U+2F8C4 NormalizationTest.txt 摾␊摾 Line 16833: CJK COMPATIBILITY IDEOGRAPH-2F8C4. Its distinct columns, one per line. 8 B
005609 unicode/part1/U+2F8C5 NormalizationTest.txt 撝␊撝 Line 16834: CJK COMPATIBILITY IDEOGRAPH-2F8C5. Its distinct columns, one per line. 8 B
005610 unicode/part1/U+2F8C6 NormalizationTest.txt 摷␊摷 Line 16835: CJK COMPATIBILITY IDEOGRAPH-2F8C6. Its distinct columns, one per line. 8 B
005611 unicode/part1/U+2F8C7 NormalizationTest.txt 㩬␊㩬 Line 16836: CJK COMPATIBILITY IDEOGRAPH-2F8C7. Its distinct columns, one per line. 8 B
005612 unicode/part1/U+2F8C8 NormalizationTest.txt 敏␊敏 Line 16837: CJK COMPATIBILITY IDEOGRAPH-2F8C8. Its distinct columns, one per line. 8 B
005613 unicode/part1/U+2F8C9 NormalizationTest.txt 敬␊敬 Line 16838: CJK COMPATIBILITY IDEOGRAPH-2F8C9. Its distinct columns, one per line. 8 B
005614 unicode/part1/U+2F8CA NormalizationTest.txt 𣀊␊𣀊 Line 16839: CJK COMPATIBILITY IDEOGRAPH-2F8CA. Its distinct columns, one per line. 9 B
005615 unicode/part1/U+2F8CB NormalizationTest.txt 旣␊旣 Line 16840: CJK COMPATIBILITY IDEOGRAPH-2F8CB. Its distinct columns, one per line. 8 B
005616 unicode/part1/U+2F8CC NormalizationTest.txt 書␊書 Line 16841: CJK COMPATIBILITY IDEOGRAPH-2F8CC. Its distinct columns, one per line. 8 B
005617 unicode/part1/U+2F8CD NormalizationTest.txt 晉␊晉 Line 16842: CJK COMPATIBILITY IDEOGRAPH-2F8CD. Its distinct columns, one per line. 8 B
005618 unicode/part1/U+2F8CE NormalizationTest.txt 㬙␊㬙 Line 16843: CJK COMPATIBILITY IDEOGRAPH-2F8CE. Its distinct columns, one per line. 8 B
005619 unicode/part1/U+2F8CF NormalizationTest.txt 暑␊暑 Line 16844: CJK COMPATIBILITY IDEOGRAPH-2F8CF. Its distinct columns, one per line. 8 B
005620 unicode/part1/U+2F8D0 NormalizationTest.txt 㬈␊㬈 Line 16845: CJK COMPATIBILITY IDEOGRAPH-2F8D0. Its distinct columns, one per line. 8 B
005621 unicode/part1/U+2F8D1 NormalizationTest.txt 㫤␊㫤 Line 16846: CJK COMPATIBILITY IDEOGRAPH-2F8D1. Its distinct columns, one per line. 8 B
005622 unicode/part1/U+2F8D2 NormalizationTest.txt 冒␊冒 Line 16847: CJK COMPATIBILITY IDEOGRAPH-2F8D2. Its distinct columns, one per line. 8 B
005623 unicode/part1/U+2F8D3 NormalizationTest.txt 冕␊冕 Line 16848: CJK COMPATIBILITY IDEOGRAPH-2F8D3. Its distinct columns, one per line. 8 B
005624 unicode/part1/U+2F8D4 NormalizationTest.txt 最␊最 Line 16849: CJK COMPATIBILITY IDEOGRAPH-2F8D4. Its distinct columns, one per line. 8 B
005625 unicode/part1/U+2F8D5 NormalizationTest.txt 暜␊暜 Line 16850: CJK COMPATIBILITY IDEOGRAPH-2F8D5. Its distinct columns, one per line. 8 B
005626 unicode/part1/U+2F8D6 NormalizationTest.txt 肭␊肭 Line 16851: CJK COMPATIBILITY IDEOGRAPH-2F8D6. Its distinct columns, one per line. 8 B
005627 unicode/part1/U+2F8D7 NormalizationTest.txt 䏙␊䏙 Line 16852: CJK COMPATIBILITY IDEOGRAPH-2F8D7. Its distinct columns, one per line. 8 B
005628 unicode/part1/U+2F8D8 NormalizationTest.txt 朗␊朗 Line 16853: CJK COMPATIBILITY IDEOGRAPH-2F8D8. Its distinct columns, one per line. 8 B
005629 unicode/part1/U+2F8D9 NormalizationTest.txt 望␊望 Line 16854: CJK COMPATIBILITY IDEOGRAPH-2F8D9. Its distinct columns, one per line. 8 B
005630 unicode/part1/U+2F8DA NormalizationTest.txt 朡␊朡 Line 16855: CJK COMPATIBILITY IDEOGRAPH-2F8DA. Its distinct columns, one per line. 8 B
005631 unicode/part1/U+2F8DB NormalizationTest.txt 杞␊杞 Line 16856: CJK COMPATIBILITY IDEOGRAPH-2F8DB. Its distinct columns, one per line. 8 B
005632 unicode/part1/U+2F8DC NormalizationTest.txt 杓␊杓 Line 16857: CJK COMPATIBILITY IDEOGRAPH-2F8DC. Its distinct columns, one per line. 8 B
005633 unicode/part1/U+2F8DD NormalizationTest.txt 𣏃␊𣏃 Line 16858: CJK COMPATIBILITY IDEOGRAPH-2F8DD. Its distinct columns, one per line. 9 B
005634 unicode/part1/U+2F8DE NormalizationTest.txt 㭉␊㭉 Line 16859: CJK COMPATIBILITY IDEOGRAPH-2F8DE. Its distinct columns, one per line. 8 B
005635 unicode/part1/U+2F8DF NormalizationTest.txt 柺␊柺 Line 16860: CJK COMPATIBILITY IDEOGRAPH-2F8DF. Its distinct columns, one per line. 8 B
005636 unicode/part1/U+2F8E0 NormalizationTest.txt 枅␊枅 Line 16861: CJK COMPATIBILITY IDEOGRAPH-2F8E0. Its distinct columns, one per line. 8 B
005637 unicode/part1/U+2F8E1 NormalizationTest.txt 桒␊桒 Line 16862: CJK COMPATIBILITY IDEOGRAPH-2F8E1. Its distinct columns, one per line. 8 B
005638 unicode/part1/U+2F8E2 NormalizationTest.txt 梅␊梅 Line 16863: CJK COMPATIBILITY IDEOGRAPH-2F8E2. Its distinct columns, one per line. 8 B
005639 unicode/part1/U+2F8E3 NormalizationTest.txt 𣑭␊𣑭 Line 16864: CJK COMPATIBILITY IDEOGRAPH-2F8E3. Its distinct columns, one per line. 9 B
005640 unicode/part1/U+2F8E4 NormalizationTest.txt 梎␊梎 Line 16865: CJK COMPATIBILITY IDEOGRAPH-2F8E4. Its distinct columns, one per line. 8 B
005641 unicode/part1/U+2F8E5 NormalizationTest.txt 栟␊栟 Line 16866: CJK COMPATIBILITY IDEOGRAPH-2F8E5. Its distinct columns, one per line. 8 B
005642 unicode/part1/U+2F8E6 NormalizationTest.txt 椔␊椔 Line 16867: CJK COMPATIBILITY IDEOGRAPH-2F8E6. Its distinct columns, one per line. 8 B
005643 unicode/part1/U+2F8E7 NormalizationTest.txt 㮝␊㮝 Line 16868: CJK COMPATIBILITY IDEOGRAPH-2F8E7. Its distinct columns, one per line. 8 B
005644 unicode/part1/U+2F8E8 NormalizationTest.txt 楂␊楂 Line 16869: CJK COMPATIBILITY IDEOGRAPH-2F8E8. 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.