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
171 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 008872 | ucd/maybe/U+0300 Unicode Character Database |
̀␊à␊̀̀␊À␊À̀␊À̴␊A͏̀␊Aà␊Á̀␊È␊È̀␊È̴␊E͏̀␊Eà␊É̀␊Ì␊Ì̀␊Ì̴␊I͏̀␊Ià␊Í̀␊Ǹ␊Ǹ̀…
|
3.6 KiB | |
| 008873 | ucd/maybe/U+0301 Unicode Character Database |
́␊á␊́́␊Á␊Á́␊Á̴␊A͏́␊Aá␊Ć␊Ć́␊Ć̴␊C͏́␊Cá␊É␊É́␊É̴␊E͏́␊Eá␊Ǵ␊Ǵ́␊Ǵ̴␊G͏́␊G…
|
4.0 KiB | |
| 008874 | ucd/maybe/U+0302 Unicode Character Database |
̂␊â␊̂̂␊Â␊Â̂␊Â̴␊A͏̂␊Aâ␊Á̂␊Ĉ␊Ĉ̂␊Ĉ̴␊C͏̂␊Câ␊Ć̂␊Ê␊Ê̂␊Ê̴␊E͏̂␊Eâ␊É̂␊Ĝ␊Ĝ̂…
|
1.1 KiB | |
| 008875 | ucd/maybe/U+0303 Unicode Character Database |
̃␊ã␊̃̃␊Ã␊Ã̃␊Ã̴␊A͏̃␊Aã␊Á̃␊Ẽ␊Ẽ̃␊Ẽ̴␊E͏̃␊Eã␊É̃␊Ĩ␊Ĩ̃␊Ĩ̴␊I͏̃␊Iã␊Í̃␊Ñ␊Ñ̃…
|
1.0 KiB | |
| 008876 | ucd/maybe/U+0304 Unicode Character Database |
̄␊ā␊̄̄␊Ā␊Ā̄␊Ā̴␊A͏̄␊Aā␊Á̄␊Ē␊Ē̄␊Ē̴␊E͏̄␊Eā␊É̄␊Ḡ␊Ḡ̄␊Ḡ̴␊G͏̄␊Gā␊Ǵ̄␊Ī␊Ī̄…
|
1.7 KiB | |
| 008877 | ucd/maybe/U+0306 Unicode Character Database |
̆␊ă␊̆̆␊Ă␊Ă̆␊Ă̴␊A͏̆␊Aă␊Á̆␊Ĕ␊Ĕ̆␊Ĕ̴␊E͏̆␊Eă␊É̆␊Ğ␊Ğ̆␊Ğ̴␊G͏̆␊Gă␊Ǵ̆␊Ĭ␊Ĭ̆…
|
1.2 KiB | |
| 008878 | ucd/maybe/U+0307 Unicode Character Database |
̇␊ȧ␊̇̇␊Ȧ␊Ȧ̇␊Ȧ̴␊A͏̇␊Aȧ␊Á̇␊Ḃ␊Ḃ̇␊Ḃ̴␊B͏̇␊Bȧ␊B́̇␊Ċ␊Ċ̇␊Ċ̴␊C͏̇␊Cȧ␊Ć̇␊Ḋ␊Ḋ̇…
|
1.7 KiB | |
| 008879 | ucd/maybe/U+0308 Unicode Character Database |
̈␊ä␊̈̈␊Ä␊Ä̈␊Ä̴␊A͏̈␊Aä␊Á̈␊Ë␊Ë̈␊Ë̴␊E͏̈␊Eä␊É̈␊Ḧ␊Ḧ̈␊Ḧ̴␊H͏̈␊Hä␊H́̈␊Ï␊Ï̈…
|
2.0 KiB | |
| 008880 | ucd/maybe/U+0309 Unicode Character Database |
̉␊ả␊̉̉␊Ả␊Ả̉␊Ả̴␊A͏̉␊Aả␊Á̉␊Ẻ␊Ẻ̉␊Ẻ̴␊E͏̉␊Eả␊É̉␊Ỉ␊Ỉ̉␊Ỉ̴␊I͏̉␊Iả␊Í̉␊Ỏ␊Ỏ̉…
|
943 B | |
| 008881 | ucd/maybe/U+030A Unicode Character Database |
̊␊å␊̊̊␊Å␊Å̊␊Å̴␊A͏̊␊Aå␊Á̊␊Ů␊Ů̊␊Ů̴␊U͏̊␊Uå␊Ú̊␊å̊␊å̴␊a͏̊␊aå␊á̊␊ů␊ů̊␊ů̴…
|
205 B | |
| 008882 | ucd/maybe/U+030B Unicode Character Database |
̋␊a̋␊̋̋␊Ő␊Ő̋␊Ő̴␊O͏̋␊Oa̋␊Ó̋␊Ű␊Ű̋␊Ű̴␊U͏̋␊Ua̋␊Ú̋␊ő␊ő̋␊ő̴␊o͏̋␊oa̋␊ó̋␊ű␊ű̋…
|
221 B | |
| 008883 | ucd/maybe/U+030C Unicode Character Database |
̌␊ǎ␊̌̌␊Ǎ␊Ǎ̌␊Ǎ̴␊A͏̌␊Aǎ␊Á̌␊Č␊Č̌␊Č̴␊C͏̌␊Cǎ␊Ć̌␊Ď␊Ď̌␊Ď̴␊D͏̌␊Dǎ␊D́̌␊Ě␊Ě̌…
|
1.2 KiB | |
| 008884 | ucd/maybe/U+030F Unicode Character Database |
̏␊ȁ␊̏̏␊Ȁ␊Ȁ̏␊Ȁ̴␊A͏̏␊Aȁ␊Á̏␊Ȅ␊Ȅ̏␊Ȅ̴␊E͏̏␊Eȁ␊É̏␊Ȉ␊Ȉ̏␊Ȉ̴␊I͏̏␊Iȁ␊Í̏␊Ȍ␊Ȍ̏…
|
481 B | |
| 008885 | ucd/maybe/U+0311 Unicode Character Database |
̑␊ȃ␊̑̑␊Ȃ␊Ȃ̑␊Ȃ̴␊A͏̑␊Aȃ␊Á̑␊Ȇ␊Ȇ̑␊Ȇ̴␊E͏̑␊Eȃ␊É̑␊Ȋ␊Ȋ̑␊Ȋ̴␊I͏̑␊Iȃ␊Í̑␊Ȏ␊Ȏ̑…
|
403 B | |
| 008886 | ucd/maybe/U+0313 Unicode Character Database |
̓␊a̓␊̓̓␊Ἀ␊Ἀ̓␊Ἀ̴␊Α͏̓␊Αa̓␊Ά̓␊Ἐ␊Ἐ̓␊Ἐ̴␊Ε͏̓␊Εa̓␊Έ̓␊Ἠ␊Ἠ̓␊Ἠ̴␊Η͏̓␊Ηa̓␊Ή̓␊Ἰ␊Ἰ̓…
|
557 B | |
| 008887 | ucd/maybe/U+0314 Unicode Character Database |
̔␊a̔␊̔̔␊Ἁ␊Ἁ̔␊Ἁ̴␊Α͏̔␊Αa̔␊Ά̔␊Ἑ␊Ἑ̔␊Ἑ̴␊Ε͏̔␊Εa̔␊Έ̔␊Ἡ␊Ἡ̔␊Ἡ̴␊Η͏̔␊Ηa̔␊Ή̔␊Ἱ␊Ἱ̔…
|
635 B | |
| 008888 | ucd/maybe/U+031B Unicode Character Database |
̛␊a̛␊̛̛␊Ơ␊Ơ̛␊Ơ̴␊O͏̛␊Oa̛␊Ớ␊Ư␊Ư̛␊Ư̴␊U͏̛␊Ua̛␊Ứ␊ơ␊ơ̛␊ơ̴␊o͏̛␊oa̛␊ớ␊ư␊ư̛…
|
143 B | |
| 008889 | ucd/maybe/U+0323 Unicode Character Database |
̣␊ạ␊̣̣␊Ạ␊Ạ̣␊Ạ̴␊A͏̣␊Aạ␊Ạ́␊Ḅ␊Ḅ̣␊Ḅ̴␊B͏̣␊Bạ␊Ḅ́␊Ḍ␊Ḍ̣␊Ḍ̴␊D͏̣␊Dạ␊Ḍ́␊Ẹ␊Ẹ̣…
|
1.4 KiB | |
| 008890 | ucd/maybe/U+0324 Unicode Character Database |
̤␊a̤␊̤̤␊Ṳ␊Ṳ̤␊Ṳ̴␊U͏̤␊Ua̤␊Ṳ́␊ṳ␊ṳ̤␊ṳ̴␊u͏̤␊ua̤␊ṳ́
|
77 B | |
| 008891 | ucd/maybe/U+0325 Unicode Character Database |
̥␊ḁ␊̥̥␊Ḁ␊Ḁ̥␊Ḁ̴␊A͏̥␊Aḁ␊Ḁ́␊ḁ̥␊ḁ̴␊a͏̥␊aḁ␊ḁ́
|
73 B | |
| 008892 | ucd/maybe/U+0326 Unicode Character Database |
̦␊a̦␊̦̦␊Ș␊Ș̦␊Ș̴␊S͏̦␊Sa̦␊Ș́␊Ț␊Ț̦␊Ț̴␊T͏̦␊Ta̦␊Ț́␊ș␊ș̦␊ș̴␊s͏̦␊sa̦␊ș́␊ț␊ț̦…
|
143 B | |
| 008893 | ucd/maybe/U+0327 Unicode Character Database |
̧␊a̧␊̧̧␊Ç␊Ç̧␊Ç̴␊C͏̧␊Ca̧␊Ḉ␊Ḑ␊Ḑ̧␊Ḑ̴␊D͏̧␊Da̧␊Ḑ́␊Ȩ␊Ȩ̧␊Ȩ̴␊E͏̧␊Ea̧␊Ȩ́␊Ģ␊Ģ̧…
|
737 B | |
| 008894 | ucd/maybe/U+0328 Unicode Character Database |
̨␊ą␊̨̨␊Ą␊Ą̨␊Ą̴␊A͏̨␊Aą␊Ą́␊Ę␊Ę̨␊Ę̴␊E͏̨␊Eą␊Ę́␊Į␊Į̨␊Į̴␊I͏̨␊Ią␊Į́␊Ǫ␊Ǫ̨…
|
337 B | |
| 008895 | ucd/maybe/U+032D Unicode Character Database |
̭␊a̭␊̭̭␊Ḓ␊Ḓ̭␊Ḓ̴␊D͏̭␊Da̭␊Ḓ́␊Ḙ␊Ḙ̭␊Ḙ̴␊E͏̭␊Ea̭␊Ḙ́␊Ḽ␊Ḽ̭␊Ḽ̴␊L͏̭␊La̭␊Ḽ́␊Ṋ␊Ṋ̭…
|
407 B | |
| 008896 | ucd/maybe/U+032E Unicode Character Database |
̮␊a̮␊̮̮␊Ḫ␊Ḫ̮␊Ḫ̴␊H͏̮␊Ha̮␊Ḫ́␊ḫ␊ḫ̮␊ḫ̴␊h͏̮␊ha̮␊ḫ́
|
77 B | |
| 008897 | ucd/maybe/U+0330 Unicode Character Database |
̰␊a̰␊̰̰␊Ḛ␊Ḛ̰␊Ḛ̴␊E͏̰␊Ea̰␊Ḛ́␊Ḭ␊Ḭ̰␊Ḭ̴␊I͏̰␊Ia̰␊Ḭ́␊Ṵ␊Ṵ̰␊Ṵ̴␊U͏̰␊Ua̰␊Ṵ́␊ḛ␊ḛ̰…
|
209 B | |
| 008898 | ucd/maybe/U+0331 Unicode Character Database |
̱␊a̱␊̱̱␊Ḇ␊Ḇ̱␊Ḇ̴␊B͏̱␊Ba̱␊Ḇ́␊Ḏ␊Ḏ̱␊Ḏ̴␊D͏̱␊Da̱␊Ḏ́␊Ḵ␊Ḵ̱␊Ḵ̴␊K͏̱␊Ka̱␊Ḵ́␊Ḻ␊Ḻ̱…
|
572 B | |
| 008899 | ucd/maybe/U+0338 Unicode Character Database |
̸␊a̸␊̸̸␊≮␊≮̸␊<̴̸␊<͏̸␊<a̸␊≮́␊≠␊≠̸␊=̴̸␊=͏̸␊=a̸␊≠́␊≯␊≯̸␊>̴̸␊>͏̸␊>a̸␊≯́␊↚␊↚̸…
|
1.9 KiB | |
| 008900 | ucd/maybe/U+0342 Unicode Character Database |
͂␊a͂␊͂͂␊῁␊῁͂␊῁̴␊¨͏͂␊¨a͂␊΅͂␊ᾶ␊ᾶ͂␊ᾶ̴␊α͏͂␊αa͂␊ά͂␊ῆ␊ῆ͂␊ῆ̴␊η͏͂␊ηa͂␊ή͂␊ῖ␊ῖ͂…
|
1.4 KiB | |
| 008901 | ucd/maybe/U+0345 Unicode Character Database |
ͅ␊aͅ␊ͅͅ␊ᾼ␊ᾼͅ␊ᾼ̴␊Α͏ͅ␊Αaͅ␊Άͅ␊ῌ␊ῌͅ␊ῌ̴␊Η͏ͅ␊Ηaͅ␊Ήͅ␊ῼ␊ῼͅ␊ῼ̴␊Ω͏ͅ␊Ωaͅ␊Ώͅ␊ᾴ␊ᾴͅ…
|
3.2 KiB | |
| 008902 | ucd/maybe/U+0653 Unicode Character Database |
ٓ␊aٓ␊ٓٓ␊آ␊آٓ␊آ̴␊ا͏ٓ␊اaٓ␊ا́ٓ
|
50 B | |
| 008903 | ucd/maybe/U+0654 Unicode Character Database |
ٔ␊aٔ␊ٔٔ␊أ␊أٔ␊أ̴␊ا͏ٔ␊اaٔ␊ا́ٔ␊ؤ␊ؤٔ␊ؤ̴␊و͏ٔ␊وaٔ␊و́ٔ␊ئ␊ئٔ␊ئ̴␊ي͏ٔ␊يaٔ␊ي́ٔ␊ۂ␊ۂٔ…
|
245 B | |
| 008904 | ucd/maybe/U+0655 Unicode Character Database |
ٕ␊aٕ␊ٕٕ␊إ␊إٕ␊إ̴␊ا͏ٕ␊اaٕ␊إ́
|
50 B | |
| 008905 | ucd/maybe/U+093C Unicode Character Database |
़␊a़␊़़␊ऩ␊ऩ़␊ऩ̴␊न͏़␊नa़␊ऩ́␊ऱ␊ऱ़␊ऱ̴␊र͏़␊रa़␊ऱ́␊ऴ␊ऴ़␊ऴ̴␊ळ͏़␊ळa़␊ऴ́
|
171 B | |
| 008906 | ucd/maybe/U+09BE Unicode Character Database |
া␊aা␊াা␊ো␊োা␊ে̴া␊ে͏া␊েaা␊ে́া
|
67 B | |
| 008907 | ucd/maybe/U+09D7 Unicode Character Database |
ৗ␊aৗ␊ৗৗ␊ৌ␊ৌৗ␊ে̴ৗ␊ে͏ৗ␊েaৗ␊ে́ৗ
|
67 B | |
| 008908 | ucd/maybe/U+0B3E Unicode Character Database |
ା␊aା␊ାା␊ୋ␊ୋା␊େ̴ା␊େ͏ା␊େaା␊େ́ା
|
67 B | |
| 008909 | ucd/maybe/U+0B56 Unicode Character Database |
ୖ␊aୖ␊ୖୖ␊ୈ␊ୈୖ␊େ̴ୖ␊େ͏ୖ␊େaୖ␊େ́ୖ
|
67 B | |
| 008910 | ucd/maybe/U+0B57 Unicode Character Database |
ୗ␊aୗ␊ୗୗ␊ୌ␊ୌୗ␊େ̴ୗ␊େ͏ୗ␊େaୗ␊େ́ୗ
|
67 B | |
| 008911 | ucd/maybe/U+0BBE Unicode Character Database |
ா␊aா␊ாா␊ொ␊ொா␊ெ̴ா␊ெ͏ா␊ெaா␊ெ́ா␊ோ␊ோா␊ே̴ா␊ே͏ா␊ேaா␊ே́ா
|
119 B | |
| 008912 | ucd/maybe/U+0BD7 Unicode Character Database |
ௗ␊aௗ␊ௗௗ␊ஔ␊ஔௗ␊ஒ̴ௗ␊ஒ͏ௗ␊ஒaௗ␊ஒ́ௗ␊ௌ␊ௌௗ␊ெ̴ௗ␊ெ͏ௗ␊ெaௗ␊ெ́ௗ
|
119 B | |
| 008913 | ucd/maybe/U+0C56 Unicode Character Database |
ౖ␊aౖ␊ౖౖ␊ై␊ైౖ␊ై̴␊ె͏ౖ␊ెaౖ␊ై́
|
67 B | |
| 008914 | ucd/maybe/U+0CC2 Unicode Character Database |
ೂ␊aೂ␊ೂೂ␊ೊ␊ೊೂ␊ೆ̴ೂ␊ೆ͏ೂ␊ೆaೂ␊ೆ́ೂ
|
67 B | |
| 008915 | ucd/maybe/U+0CD5 Unicode Character Database |
ೕ␊aೕ␊ೕೕ␊ೀ␊ೀೕ␊ಿ̴ೕ␊ಿ͏ೕ␊ಿaೕ␊ಿ́ೕ␊ೇ␊ೇೕ␊ೆ̴ೕ␊ೆ͏ೕ␊ೆaೕ␊ೆ́ೕ␊ೋ␊ೋೕ␊ೊ̴ೕ␊ೊ͏ೕ␊ೊaೕ␊ೋ␊ೊ́ೕ
|
181 B | |
| 008916 | ucd/maybe/U+0CD6 Unicode Character Database |
ೖ␊aೖ␊ೖೖ␊ೈ␊ೈೖ␊ೆ̴ೖ␊ೆ͏ೖ␊ೆaೖ␊ೆ́ೖ
|
67 B | |
| 008917 | ucd/maybe/U+0D3E Unicode Character Database |
ാ␊aാ␊ാാ␊ൊ␊ൊാ␊െ̴ാ␊െ͏ാ␊െaാ␊െ́ാ␊ോ␊ോാ␊േ̴ാ␊േ͏ാ␊േaാ␊േ́ാ
|
119 B | |
| 008918 | ucd/maybe/U+0D57 Unicode Character Database |
ൗ␊aൗ␊ൗൗ␊ൌ␊ൌൗ␊െ̴ൗ␊െ͏ൗ␊െaൗ␊െ́ൗ
|
67 B | |
| 008919 | ucd/maybe/U+0DCA Unicode Character Database |
්␊a්␊්්␊ේ␊ේ්␊ේ̴␊ෙ͏්␊ෙa්␊ේ́␊ෝ␊ෝ්␊ෝ̴␊ො͏්␊ොa්␊ෝ␊ෝ́
|
129 B | |
| 008920 | ucd/maybe/U+0DCF Unicode Character Database |
ා␊aා␊ාා␊ො␊ොා␊ෙ̴ා␊ෙ͏ා␊ෙaා␊ෙ́ා
|
67 B | |
| 008921 | ucd/maybe/U+0DDF Unicode Character Database |
ෟ␊aෟ␊ෟෟ␊ෞ␊ෞෟ␊ෙ̴ෟ␊ෙ͏ෟ␊ෙaෟ␊ෙ́ෟ
|
67 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.
- NormalizationTest.txt — Unicode’s conformance test, the source of the 8,868 unicode cases; each case is one line, its distinct columns on separate lines
- The Unicode Character Database — combining classes, decompositions and composition exclusions, the source of the 157 ucd cases