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
005800 unicode/part1/U+2F984 NormalizationTest.txt 䐋␊䐋 Line 17025: CJK COMPATIBILITY IDEOGRAPH-2F984. Its distinct columns, one per line. 8 B
005801 unicode/part1/U+2F985 NormalizationTest.txt 脾␊脾 Line 17026: CJK COMPATIBILITY IDEOGRAPH-2F985. Its distinct columns, one per line. 8 B
005802 unicode/part1/U+2F986 NormalizationTest.txt 媵␊媵 Line 17027: CJK COMPATIBILITY IDEOGRAPH-2F986. Its distinct columns, one per line. 8 B
005803 unicode/part1/U+2F987 NormalizationTest.txt 𦞧␊𦞧 Line 17028: CJK COMPATIBILITY IDEOGRAPH-2F987. Its distinct columns, one per line. 9 B
005804 unicode/part1/U+2F988 NormalizationTest.txt 𦞵␊𦞵 Line 17029: CJK COMPATIBILITY IDEOGRAPH-2F988. Its distinct columns, one per line. 9 B
005805 unicode/part1/U+2F989 NormalizationTest.txt 𣎓␊𣎓 Line 17030: CJK COMPATIBILITY IDEOGRAPH-2F989. Its distinct columns, one per line. 9 B
005806 unicode/part1/U+2F98A NormalizationTest.txt 𣎜␊𣎜 Line 17031: CJK COMPATIBILITY IDEOGRAPH-2F98A. Its distinct columns, one per line. 9 B
005807 unicode/part1/U+2F98B NormalizationTest.txt 舁␊舁 Line 17032: CJK COMPATIBILITY IDEOGRAPH-2F98B. Its distinct columns, one per line. 8 B
005808 unicode/part1/U+2F98C NormalizationTest.txt 舄␊舄 Line 17033: CJK COMPATIBILITY IDEOGRAPH-2F98C. Its distinct columns, one per line. 8 B
005809 unicode/part1/U+2F98D NormalizationTest.txt 辞␊辞 Line 17034: CJK COMPATIBILITY IDEOGRAPH-2F98D. Its distinct columns, one per line. 8 B
005810 unicode/part1/U+2F98E NormalizationTest.txt 䑫␊䑫 Line 17035: CJK COMPATIBILITY IDEOGRAPH-2F98E. Its distinct columns, one per line. 8 B
005811 unicode/part1/U+2F98F NormalizationTest.txt 芑␊芑 Line 17036: CJK COMPATIBILITY IDEOGRAPH-2F98F. Its distinct columns, one per line. 8 B
005812 unicode/part1/U+2F990 NormalizationTest.txt 芋␊芋 Line 17037: CJK COMPATIBILITY IDEOGRAPH-2F990. Its distinct columns, one per line. 8 B
005813 unicode/part1/U+2F991 NormalizationTest.txt 芝␊芝 Line 17038: CJK COMPATIBILITY IDEOGRAPH-2F991. Its distinct columns, one per line. 8 B
005814 unicode/part1/U+2F992 NormalizationTest.txt 劳␊劳 Line 17039: CJK COMPATIBILITY IDEOGRAPH-2F992. Its distinct columns, one per line. 8 B
005815 unicode/part1/U+2F993 NormalizationTest.txt 花␊花 Line 17040: CJK COMPATIBILITY IDEOGRAPH-2F993. Its distinct columns, one per line. 8 B
005816 unicode/part1/U+2F994 NormalizationTest.txt 芳␊芳 Line 17041: CJK COMPATIBILITY IDEOGRAPH-2F994. Its distinct columns, one per line. 8 B
005817 unicode/part1/U+2F995 NormalizationTest.txt 芽␊芽 Line 17042: CJK COMPATIBILITY IDEOGRAPH-2F995. Its distinct columns, one per line. 8 B
005818 unicode/part1/U+2F996 NormalizationTest.txt 苦␊苦 Line 17043: CJK COMPATIBILITY IDEOGRAPH-2F996. Its distinct columns, one per line. 8 B
005819 unicode/part1/U+2F997 NormalizationTest.txt 𦬼␊𦬼 Line 17044: CJK COMPATIBILITY IDEOGRAPH-2F997. Its distinct columns, one per line. 9 B
005820 unicode/part1/U+2F998 NormalizationTest.txt 若␊若 Line 17045: CJK COMPATIBILITY IDEOGRAPH-2F998. Its distinct columns, one per line. 8 B
005821 unicode/part1/U+2F999 NormalizationTest.txt 茝␊茝 Line 17046: CJK COMPATIBILITY IDEOGRAPH-2F999. Its distinct columns, one per line. 8 B
005822 unicode/part1/U+2F99A NormalizationTest.txt 荣␊荣 Line 17047: CJK COMPATIBILITY IDEOGRAPH-2F99A. Its distinct columns, one per line. 8 B
005823 unicode/part1/U+2F99B NormalizationTest.txt 莭␊莭 Line 17048: CJK COMPATIBILITY IDEOGRAPH-2F99B. Its distinct columns, one per line. 8 B
005824 unicode/part1/U+2F99C NormalizationTest.txt 茣␊茣 Line 17049: CJK COMPATIBILITY IDEOGRAPH-2F99C. Its distinct columns, one per line. 8 B
005825 unicode/part1/U+2F99D NormalizationTest.txt 莽␊莽 Line 17050: CJK COMPATIBILITY IDEOGRAPH-2F99D. Its distinct columns, one per line. 8 B
005826 unicode/part1/U+2F99E NormalizationTest.txt 菧␊菧 Line 17051: CJK COMPATIBILITY IDEOGRAPH-2F99E. Its distinct columns, one per line. 8 B
005827 unicode/part1/U+2F99F NormalizationTest.txt 著␊著 Line 17052: CJK COMPATIBILITY IDEOGRAPH-2F99F. Its distinct columns, one per line. 8 B
005828 unicode/part1/U+2F9A0 NormalizationTest.txt 荓␊荓 Line 17053: CJK COMPATIBILITY IDEOGRAPH-2F9A0. Its distinct columns, one per line. 8 B
005829 unicode/part1/U+2F9A1 NormalizationTest.txt 菊␊菊 Line 17054: CJK COMPATIBILITY IDEOGRAPH-2F9A1. Its distinct columns, one per line. 8 B
005830 unicode/part1/U+2F9A2 NormalizationTest.txt 菌␊菌 Line 17055: CJK COMPATIBILITY IDEOGRAPH-2F9A2. Its distinct columns, one per line. 8 B
005831 unicode/part1/U+2F9A3 NormalizationTest.txt 菜␊菜 Line 17056: CJK COMPATIBILITY IDEOGRAPH-2F9A3. Its distinct columns, one per line. 8 B
005832 unicode/part1/U+2F9A4 NormalizationTest.txt 𦰶␊𦰶 Line 17057: CJK COMPATIBILITY IDEOGRAPH-2F9A4. Its distinct columns, one per line. 9 B
005833 unicode/part1/U+2F9A5 NormalizationTest.txt 𦵫␊𦵫 Line 17058: CJK COMPATIBILITY IDEOGRAPH-2F9A5. Its distinct columns, one per line. 9 B
005834 unicode/part1/U+2F9A6 NormalizationTest.txt 𦳕␊𦳕 Line 17059: CJK COMPATIBILITY IDEOGRAPH-2F9A6. Its distinct columns, one per line. 9 B
005835 unicode/part1/U+2F9A7 NormalizationTest.txt 䔫␊䔫 Line 17060: CJK COMPATIBILITY IDEOGRAPH-2F9A7. Its distinct columns, one per line. 8 B
005836 unicode/part1/U+2F9A8 NormalizationTest.txt 蓱␊蓱 Line 17061: CJK COMPATIBILITY IDEOGRAPH-2F9A8. Its distinct columns, one per line. 8 B
005837 unicode/part1/U+2F9A9 NormalizationTest.txt 蓳␊蓳 Line 17062: CJK COMPATIBILITY IDEOGRAPH-2F9A9. Its distinct columns, one per line. 8 B
005838 unicode/part1/U+2F9AA NormalizationTest.txt 蔖␊蔖 Line 17063: CJK COMPATIBILITY IDEOGRAPH-2F9AA. Its distinct columns, one per line. 8 B
005839 unicode/part1/U+2F9AB NormalizationTest.txt 𧏊␊𧏊 Line 17064: CJK COMPATIBILITY IDEOGRAPH-2F9AB. Its distinct columns, one per line. 9 B
005840 unicode/part1/U+2F9AC NormalizationTest.txt 蕤␊蕤 Line 17065: CJK COMPATIBILITY IDEOGRAPH-2F9AC. Its distinct columns, one per line. 8 B
005841 unicode/part1/U+2F9AD NormalizationTest.txt 𦼬␊𦼬 Line 17066: CJK COMPATIBILITY IDEOGRAPH-2F9AD. Its distinct columns, one per line. 9 B
005842 unicode/part1/U+2F9AE NormalizationTest.txt 䕝␊䕝 Line 17067: CJK COMPATIBILITY IDEOGRAPH-2F9AE. Its distinct columns, one per line. 8 B
005843 unicode/part1/U+2F9AF NormalizationTest.txt 䕡␊䕡 Line 17068: CJK COMPATIBILITY IDEOGRAPH-2F9AF. Its distinct columns, one per line. 8 B
005844 unicode/part1/U+2F9B0 NormalizationTest.txt 𦾱␊𦾱 Line 17069: CJK COMPATIBILITY IDEOGRAPH-2F9B0. Its distinct columns, one per line. 9 B
005845 unicode/part1/U+2F9B1 NormalizationTest.txt 𧃒␊𧃒 Line 17070: CJK COMPATIBILITY IDEOGRAPH-2F9B1. Its distinct columns, one per line. 9 B
005846 unicode/part1/U+2F9B2 NormalizationTest.txt 䕫␊䕫 Line 17071: CJK COMPATIBILITY IDEOGRAPH-2F9B2. Its distinct columns, one per line. 8 B
005847 unicode/part1/U+2F9B3 NormalizationTest.txt 虐␊虐 Line 17072: CJK COMPATIBILITY IDEOGRAPH-2F9B3. Its distinct columns, one per line. 8 B
005848 unicode/part1/U+2F9B4 NormalizationTest.txt 虜␊虜 Line 17073: CJK COMPATIBILITY IDEOGRAPH-2F9B4. Its distinct columns, one per line. 8 B
005849 unicode/part1/U+2F9B5 NormalizationTest.txt 虧␊虧 Line 17074: CJK COMPATIBILITY IDEOGRAPH-2F9B5. 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.