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

222 of 11,911 cases

Case Name Expected Note Size
011720 generated/1807 Generated ų̧̧̧̨̧̨̨̨̧̨̧̨𝅲̣𐽐̣︫̣̣̇̌ⷲ̊̈࠘̄𞛦̄ࣸ̆́̄̇̄́̄̀̇᫒̊̊̈̂̌̌̃̊̂̈̃̌̌̈̀̊̂̀̄̂̂̃̇̌̀̊ࣻ̇𞀕 Seeded random text: long mark runs. 153 B
011729 generated/1816 Generated ụ̷̧̨̧̨̧̧̧̧̣̣̣ᢩ̃́𖬰̈፟̇̊̌̈̈́̆̆̃̃̂̌꣠̄̇̄̇̊̊̈̀̃𞥈̄̊ͪ̃̇̊̄̈̃᷵̂̇̌̄̃ͅüེ̧̨̧̨̧̩͚̣̇̊⃖ⷧ̀̇̆̊𞀞̊̀́̌̊̂́̇̀̈ͦ̌̂̆̈̌̂ؐ̃̄̃̄̄̂̀̀̂ȩ᳤်ֲ̧̧̧̧̧̣̩𞣔࣒̣̣̃̃ٞ̂̊̃̈̇̂̄̈̃̈̆̄́̇̃̈̄́̂̈̄᫙́́́̇̄̃᳚̆̂̃̀̌̌̆̈̌̂̃̆̄̃̃̂̀̌̃ Seeded random text: long mark runs. 363 B
011738 generated/1825 Generated ų𑓃ﬞ̨̧̨̧̨̨̨̨̣᭬̣𞓮̆̊̊̈̆̆̈̈𞀁̇̀̇̌́̈̊́̄̀̄̀̂̆ⷫ̄̇̈̇̊̇̌̆̄ȩ̧̧𐾃̣̣̣̃̌̆ؖ̂̄̊̈̈̃̇̌̇̂̌̇́̄̀̈̆̆̄̂̄ᷝ̂̊̇̚ Seeded random text: long mark runs. 184 B
011747 generated/1834 Generated ặ᳥્̧̨̧̨𝅯̣̼ܼ̊̂̈̀̇᭳̈̊̄̈̇̀፟̄̂̇̊̈̇𑑞᫏̆ᫌ̌̊̌̂̊॓̈̊̊̌ꙵ̆̊̊̌̄֘ạ𑧠्̧̨̧̣̣̣̌̊ⷬ̈̄̇̆̇̂̈́̈́̊̌̂̀̃̆̌𝉄̊̀᭮̂̂̌̈̆̊́̂̊̊́̊̃ȩ𖫴ֽ᫝༵̊̄̌́̊̌́̌̊̄̂֜̀́̃̆𞄱̇̄̇ Seeded random text: long mark runs. 274 B
011756 generated/1843 Generated ọ𑵄̧̧̧̧𝆁𐾅̀̇̌́̄̈̈ꙵ̈࣋̃̈̄̃̀̀̄̃̇̈ٓ̃᫩̊̇̈̈̊̃̆̊̆̆́̀̄ų𖫳̧̧̨̨̨̨𝆋̣𞣖᳭̣̆̊̀፝̊̈́̈ꪰ̇̊̆̇̊̀̄𐫥̀̌̂̄̀⃔߱𐍸̂̃̄𖬳̀̂̊́́̂́̃̃̀̈ŭ꫶ู̧̧̨̧̧̨᪶̣̣̣̣̣̇̀̀́̊́̈̊̊̊̇̆̈̊̆̃̄࢞̆́̇̆̊𖬲̌݅ Seeded random text: long mark runs. 310 B
011765 generated/1852 Generated ų̴𑄴𐨿ֹ໊̧̧༘̂̀̀́̊࢘𐵬́̈̈́́̃́̆᷌𞀂 Seeded random text: long mark runs. 65 B
011774 generated/1861 Generated ų⃫্𑍍̧̧̨̧̧̨̨̣̣̣〭̇́ۛ̀̊̆̄̊߳̊ٛ̊̌̊ۚ̄̌̄̊̊̆̂̈̇̇᪰̀̃⃐̊֬̆̆̏̌̆֞̇̈̆ⷫ̄̆̂́̌̈̈̇̀́ę𖄯̨̨̧̧̧̨̧̨̧̨̧̣̣̮ᪿ̣̣𝅭́́̊̄꣧⃜̈̇̆̌᫒𐵪𞀞̌̇᫑̃ܿ̆̃̂̂̌́̆̌̇̆̄ Seeded random text: long mark runs. 253 B
011782 generated/1870 Generated ǫ̨̨̨᳞̣᷹̣̣᳝̣̣ꪰ̆̆̄̃̊ꙵ᭰̇́̇̆̂̌̈̄̂̀︠̂߬́𐾄̄̃́ࣧ̃̃̇̂̇̆ⷡ̊̂̈̀̂̊̇̇̈̃̇́̈̄̊̇𐫥̊̀ۛ̈ų𑚷्്̨̧̨̨̨̨𝅱֑͚̣̣̣̇̇̈̂̌̂̃̈̂̄̀́̃ⷹ̇̌̌̌́̀𞀨ࣖ̈̊̊̃̄̃۟̃̌̊̂̀̆̂̇̃̌̇̂̀̇ꙺͅ Seeded random text: long mark runs. 282 B
011791 generated/1879 Generated ụ્୍̧̧̨̧̧̨̨̣̣̈̆̊̌̃̆𑄂̄̄̈̇́́̄́̃ᨗ̇̌̈̂̀̌̅̆̃̀̊̃́́̀̈̊̊̃̂̀ࠡ̄̀̄̄᷶ẋ̧𐴤̂ⷤ̄̆̈̊̀́̀̌ᷨ̇̈̂̃̄̌̀́̇᫑̃ Seeded random text: long mark runs. 176 B
011800 generated/1888 Generated ḝ᜴ֽׂ̧̣𐻾̣̣̣̀́̆̃̌̂̂̃̇̃̄́̇ᷘ𑄂́̃̃̈̃𝆪̌꛰̆̀̊̊͟ Seeded random text: long mark runs. 88 B
011809 generated/1897 Generated ę𞥊𖄯̨̧̨̨̨̨𝅯̣̣ࣴ̃̄̇́̌̇̊̆̃̊̌́̀̀̄̊̂̄ Seeded random text: long mark runs. 70 B
011818 generated/1906 Generated x଼̨̧̨̧̣༙̠̣̣̣̣᳖̜̣̃̈̀̆̇̊̃̆́̂⃗ᷬ̇̃̄̆̂̇̆̌́̈̌̂̆̂᷶ȩ̵᭄ؚ̨̨̨̧̧̨̣̣𝅻̣̊̊̊ᷟ̆̂́̂́̀̃ܽ̃́̊᩸̀̂́̂̂̈̂̃̂́ࠥ̇᩻̆́̀̌̈̌̆̆̆̄̌̄𞀂̂̀̆̂́̊̇̌ Seeded random text: long mark runs. 229 B
011827 generated/1915 Generated ų̨̨̣̣𞀡̊̀̇̇ྃ̄̄̆̈̈́ܵ᫓̂̊̃̆̇̆̆̀ò்𑁆ׁ̧̨̧᷐̧̧̨̧̨𐇽̦̣〯̆̂́̀̊́̇𞛦𑍫̄̃̀𐴦𑍲࢝̇̆̄̌᭰́̈̊̀́̈̆᫤ࣜ̆̈̆̆𞛦̈̇̌̂̄̊̄̀̂̄̀̊ܵ᷵ Seeded random text: long mark runs. 212 B
011836 generated/1924 Generated ų̨̨̨̧̨̨̢̣̣̣᪵̣𐽏̣〯ꪾ̌̃̂۫⃗́̈̀́̂̌̌̀̌̌̈ᷟ̀̄̀𝉄̂̂̊̇̌̆̈̌̇̊̀̌̌̈̃̌̄̀̌̆̃̆̆̂̈̂̇̃ę𑑂ེ̨̧̨̨̨̨̨̨𝅥〪̣𝆋̟̣ⷳ̌̃̊̂̆̇̃̇𞀒̀̊́̇̂̌̄́̆𐨏̌̄̇̌̈̇̇̌̇̆́̈̈̄̊̌̃̃𞀊̀̃̂̌̃̊́̆̊𞓭 Seeded random text: long mark runs. 292 B
011845 generated/1933 Generated ǫ𑜫̧̧̧̨̨̨̧̨̧̧̧߽̣̀̃̊̊̂̀̂̃̈̈̀̊ⷾ́̃̇̃᷃̌̀̀̀̀꙽̇̆̀̇̃ۘ́࣫̃𝆅֯̀́̊̌̊̄߯̄̌ Seeded random text: long mark runs. 127 B
011854 generated/1942 Generated ȩ̨̨̨̧̧̨̨̨̧̨̣̣̫̣̣᪽̊ᷧ̀̀̀̌̂̈̈̌̊̂̀̂̀̌̀̌̈̊̊̂̆̈ⷥ̄́̃̇𑍧̆̊̊̊̆́̂̈̃́̃̇̇̊̄̈ȩٰ๋⃨̣࣯̣̣̌̂̂̆̀̂̂̄̈̆̂́̇̆ᷘ̀̃̇҄x̵𑑂̧̨̧̧̨̨̨̨̧̨̧̧̨̣͓〫̌̇̇̊̃⃛̌ᷙ̆́⃔̂𞋯̊ꙷ̀̆̀̀ࠜ̊ᷪ̌̃҃̃̊̀̇̃ꙴ́̄̃̀ۧࣟ̌̌̀ Seeded random text: long mark runs. 321 B
011863 generated/1951 Generated ǭ̧̨ܹ̣̣᷂̇ꙻ́𞀩̄̄̃̈̌̈̄́̇́̈̆̄̆̊̈ Seeded random text: long mark runs. 61 B
011872 generated/1960 Generated ȩ⃙᯦𑏐𑋪𑏎ֲ̧̨̣࣮⃨᪶̣ٟ̣ࣣ̃̀̀̄̃̇ܺ̇́̃̂̂̂̂𞊮̀́̇̊̀ܺ̊̂̃̂᩺⃜̂̆̂̆̌̇́̇̈݅̃́̈𞀝̌̊̈̄̊̂̃̂̊̇ǫ𑵂𑋩𑂹்ོ̧̧̧̧̧̧̧̣݈࣮︬᷹֥̣᪷̇̌ࣜ̄̂̈̈̇̃́𞄲ࣵ̄֟̊̌̈𑍴̋̈̃̊́̃̄̃̇꣧̂̈̈̈̀́̀̃̇ᷡ̇̇̀྆ⷹ Seeded random text: long mark runs. 306 B
011881 generated/1969 Generated ẋ̧̧̨̨̨̨𝅼᳜࣓̣̟̔̈̄᫘̈᷅̇҆𑑞̆̂̇̃̌̈̃̃̌̄́̈̇̆̃̄̀ę𑥃ׇ̧̧̣̣̣̣̣́̊̊ꪾ̈̃̆̃́̂̊̄ٓ̌̈̊ۧ Seeded random text: long mark runs. 143 B
011889 generated/1978 Generated ǡ়̧̧̧̨̨̧̧̨᫄֧̣̣〫̂̌̃̄̇̄̈𐍸̂̂࠘̈̄̇̈̀̊̇ࣸ̆̃̌̌̆֞̂̄ⷫ̇ Seeded random text: long mark runs. 99 B
011898 generated/1987 Generated ã᳨𝅧̧̧̧̨̧̧̧̨֑̣̣𞣔̣⃯̣̣̣࣓̇̃̌̆́̃̇̂𑄂̇̄̈̀̂̈̂̊̀̀̃̄̃́ⷩ̃︠̃̊̇̀̇̈̈́̈̆̂̊𑍳́𖬱̀̃̌ų⃚𑠺̨̧̣࣏࣒̣́𐨸᷇̌̇̈̌̀̄𞥉̈𞛮̂̇̆́̂̄̌̇̀ǫ𝅨ຸ̨̨̧̧̨᷎̣̣֪॒̣̂̆̂̇̃𞀏̄̈̊̄́̂̄̂̇̆̊́𐍺̂̊̊̇̈̄̇̊̆̀̌̎̊ࠜ̇́ Seeded random text: long mark runs. 328 B
011907 generated/1996 Generated ỗ𑏐̧̢᪽ٜ𐽐̣̃̊ࣥ̌̂̄̇̃︣̃̇̈̀̌֨̊́̄ Seeded random text: long mark runs. 62 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.