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
011900 generated/1989 Generated f里ᆨα Seeded random text: interesting. 9 B
011901 generated/1990 Generated Ḡ𑏎꙼ⷽὧ࣮ͪA̼𝆉᫏𖬴֔A𑁿𑽁⃗E̷𞀣ᷰ̍ᫍチ࣏᷈𞀍ؔ𞄵ᬿֱ߯͊𞀛Ȇ𐻾ᾩֻֽ᳗⃰Ȱ᳣𑄀ǚȞ̷𝅼𐻺ࣾĚ݃ۛȳṛ̝ᬈ๊𞣒̩ȯ᯳ؐ֔۫𑎄࢛〮𐾄𑍲᷼≡ꙻᨗα઼֔ꚟۖ≥𞀐h࢞ྃᾦÏ̖ᢩ︯ Seeded random text: bases and marks. 246 B
011902 generated/1991 Generated ù̧̧Á̧Ě̇̌̌ų̂̃́Ŏ̧̨̂ŭ̧̂ÚĄ̆̃EĄ̂̈ë̂O̊ Seeded random text: common marks. 72 B
011903 generated/1992 Generated ᄀᄐ Seeded random text: jamo. 6 B
011904 generated/1993 Generated Ț瞧神Ȧ㼛 Seeded random text: decomposed composites. 15 B
011905 generated/1994 Generated ̛Ù Seeded random text: shuffled decompositions. 5 B
011906 generated/1995 Generated 󠔏תּ򡵹 Seeded random text: random scalars. 11 B
011907 generated/1996 Generated ỗ𑏐̧̢᪽ٜ𐽐̣̃̊ࣥ̌̂̄̇̃︣̃̇̈̀̌֨̊́̄ Seeded random text: long mark runs. 62 B
011908 generated/1997 Generated d bcecb ᆷᆽᆧᅭᆶᄀc cbdeaeo aob Seeded random text: after ASCII. 41 B
011909 generated/1998 Generated ാ裸嬾A𐗒ᄉ一ўĽٕ̄Ἃ Seeded random text: interesting. 32 B
011910 generated/1999 Generated e𑍴𖄦𑩇᷐᳞࣡ⷻே̙̗᫒꙼ο့Ṯ𑵂ָ̦ᷘ⳱ử݈𐾅᷌᩷𞥇ǣ𑗀࣍꫁ⷲて𑩇ׁࣽ̒ࠧ Seeded random text: bases and marks. 111 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.