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
010825 generated/0908 Generated odeaebbebceedadbeabado dboocedcobe a dedc boa… Seeded random text: after ASCII. 92 B
010834 generated/0917 Generated a aoe bodecodbcdodcb b bee cbedeoacbacbbcacoc a… Seeded random text: after ASCII. 92 B
010842 generated/0926 Generated aoec oba c ddebbedddbbodoadbdU̇ÜỌ̣̊̂o Seeded random text: after ASCII. 47 B
010851 generated/0935 Generated a d obeoacebe caceedca bbc e聰ぐ謹ᭀἇṈ Seeded random text: after ASCII. 57 B
010860 generated/0944 Generated aobdcbbooea c ac bccoeoade eeocc ocobdoed aobdd… Seeded random text: after ASCII. 77 B
010869 generated/0953 Generated bao ocoacedoobabo eaocec cab ooo abec 醴ザşeec… Seeded random text: after ASCII. 71 B
010878 generated/0962 Generated oeceoeodoeeecdcdc edo aobc c ao eabbbdeccee oe … Seeded random text: after ASCII. 77 B
010887 generated/0971 Generated aaa a b coada炭餩Ǒ况 Seeded random text: after ASCII. 26 B
010896 generated/0980 Generated cbobd acbbce oeoao dcbdbda adedÕeOā̄ụ̇̀̊ũ̊̈oeddooebob… Seeded random text: after ASCII. 74 B
010905 generated/0989 Generated bebcdd d cdb d b華कᆬ␊῁ Seeded random text: after ASCII. 29 B
010914 generated/0998 Generated e≵uαoA٘ edodceoa e aooe Seeded random text: after ASCII. 28 B
010923 generated/1007 Generated odooec eaoeb obo cdeccd dec ob a eo ccoec dbedd… Seeded random text: after ASCII. 81 B
010932 generated/1016 Generated coadeoeco dddaaoaobobececeooabco cbcbbdac baadee… Seeded random text: after ASCII. 113 B
010941 generated/1025 Generated bo odbaccaed鉶ῄ轢益ख़ḽ´ Seeded random text: after ASCII. 38 B
010950 generated/1034 Generated bcdbccddaeeoeboabdeoaddoea baooadooeoobeadca dec… Seeded random text: after ASCII. 68 B
010959 generated/1043 Generated abooaooedcadbdacocadacbeoaddbb obecaedaadeocacaa… Seeded random text: after ASCII. 101 B
010968 generated/1052 Generated ad cdcoccbᆼᆷ Seeded random text: after ASCII. 16 B
010977 generated/1061 Generated eaceca d ab cdo bea baccoce bbbbccoeeo abeoad… Seeded random text: after ASCII. 97 B
010986 generated/1070 Generated ed oa dbcoc abeebcoeebaeeoeboabcoaeoaeb obdac c… Seeded random text: after ASCII. 137 B
010995 generated/1079 Generated dceeccdbdoac cboeodcdca eaboab dadobaddcdaoaabc… Seeded random text: after ASCII. 104 B
011004 generated/1088 Generated ocdbeeeb bbooeac eba d aeo bdoebob oooccaocadce… Seeded random text: after ASCII. 101 B
011013 generated/1097 Generated ocoao cdceaede cdddddc ded beebbe dc oeoebbecc… Seeded random text: after ASCII. 114 B
011022 generated/1106 Generated d eccabcceeeaca caedeeaec cbbe oooe aooad bae… Seeded random text: after ASCII. 100 B
011031 generated/1115 Generated be ebob ac e bebꥠᅠ각히ᅣᅣ do c de deaae oa Seeded random text: after ASCII. 52 B
011040 generated/1124 Generated odeced bbbbbc cco bbocaaddobc acdaa aaodd d cabe… Seeded random text: after ASCII. 102 B
011049 generated/1133 Generated bob oodea aaedaebeeᅯᅨᆱabc cdeaobb acc Seeded random text: after ASCII. 43 B
011058 generated/1142 Generated oaddcdc aoedo oaadoab d oo ooabcocceceoddecbb… Seeded random text: after ASCII. 88 B
011067 generated/1151 Generated be a dbeecboaedoeoeeeoab aacoebobcoboaa ac bdoc… Seeded random text: after ASCII. 106 B
011076 generated/1160 Generated a ec bed oeeoeodcocecoeaebddbeaaddbeb ee o襁𝅘𝅥𝅲ặ鬒… Seeded random text: after ASCII. 91 B
011085 generated/1169 Generated aaceecabodad beeoca dbbeceeoeddaobdd edbdebo᫒י Seeded random text: after ASCII. 50 B
011094 generated/1178 Generated bec edd dadcaocccbodoocodbeaabaodbcbaeo瘝ᆸガѴeḆ b… Seeded random text: after ASCII. 70 B
011103 generated/1187 Generated c c dbbcocd doaaaeacbce odcae oocbdbaoacdcbo a… Seeded random text: after ASCII. 111 B
011112 generated/1196 Generated boabd ccoaaabaeoooada cbacedc de daaao eeacebc… Seeded random text: after ASCII. 90 B
011121 generated/1205 Generated edbccoboodaeb a aooddd od d oacecdde cabao oeb… Seeded random text: after ASCII. 78 B
011130 generated/1214 Generated dcocaeైףּaacb aa dbe oe obcdebecaacb o bdcocebeo Seeded random text: after ASCII. 56 B
011139 generated/1223 Generated abao aaa bc cocoecc o bdaoeebob booᄑddboeec obcc… Seeded random text: after ASCII. 54 B
011148 generated/1232 Generated dbde oeoobecoabdeaacbcooeaeec cooadaebdeebbd … Seeded random text: after ASCII. 112 B
011157 generated/1241 Generated ebcd acoccea oe cadocbeeabcdaǑÊ̌̊é́ẹadc cobccde be… Seeded random text: after ASCII. 65 B
011166 generated/1250 Generated ed oŌãų̧̂̆oâ̈boe ebee cd e aobb dccba eaoebacedoccc … Seeded random text: after ASCII. 65 B
011175 generated/1259 Generated eboa deea e oaadac odo bcaececooebaadoᬌྫྷ𤲒𥁄 Seeded random text: after ASCII. 58 B
011184 generated/1268 Generated cbe c dd cecbaod dab oodcd oo cdadeceaecdd odי楂̋… Seeded random text: after ASCII. 96 B
011193 generated/1277 Generated odb oྒྷ Seeded random text: after ASCII. 11 B
011202 generated/1286 Generated aeba adbcoacb AỌ̌̌̀ō̃Ua Seeded random text: after ASCII. 33 B
011211 generated/1295 Generated cooeeccbcbeaè̆Á̧̧a oabaabdbbbcacc Seeded random text: after ASCII. 40 B
011220 generated/1304 Generated ceodcace cabbbdaboe boco aaocceaaceedccabdꥠᆼa a … Seeded random text: after ASCII. 63 B
011229 generated/1313 Generated ccb bbcc c cccabdce b ad dobbbooe b oecoaấῧӴਜ਼Ḧ… Seeded random text: after ASCII. 89 B
011238 generated/1322 Generated eeaeoeaaccbocaea cooaodea eaobceaddddcabea ccad… Seeded random text: after ASCII. 92 B
011247 generated/1331 Generated a daedca dabcead decbcaeocooae a boeobceacocdoao… Seeded random text: after ASCII. 82 B
011255 generated/1340 Generated cdooeaeccą̊Ȩ̈̇ã̌Û̧Ă̌eǓ̃̂obeceoaabdbaeb d Seeded random text: after ASCII. 60 B
011264 generated/1349 Generated daoa oa cceÉ̀̇AẼọ̣̀̄ạ́̌̌Ẹǫ̈cac daaca aaco a Seeded random text: after ASCII. 65 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.