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 |
|---|---|---|---|---|
| 009000 | ucd/maybe/U+16128 Unicode Character Database |
␊a␊
|
19 B | |
| 009001 | ucd/maybe/U+16129 Unicode Character Database |
␊a␊␊␊␊̴␊͏␊a␊́
|
84 B | |
| 009002 | ucd/maybe/U+16D67 Unicode Character Database |
␊a␊␊␊␊̴␊͏␊a␊́␊␊̴␊͏␊a␊́␊␊␊̴␊͏…
|
205 B | |
| 009003 | ucd/maybe/U+16D68 Unicode Character Database |
␊a␊
|
19 B | |
| 009004 | ucd/no/U+0340..U+F974 Unicode Character Database |
̀́␊̣̀␊̀ͅ␊़̀␊゙̀␊́́␊̣́␊́ͅ␊़́␊゙́␊̓́␊̣̓␊̓ͅ␊़̓␊゙̓␊̈́́␊̣̈́␊̈́ͅ␊़̈́␊゙̈́␊ʹ́␊ʹ̣␊ʹͅ␊ʹ़␊…
|
5.8 KiB | |
| 009005 | ucd/no/U+F975..U+FA3B Unicode Character Database |
掠́␊掠̣␊掠ͅ␊掠़␊掠゙␊略́␊略̣␊略ͅ␊略़␊略゙␊亮́␊亮̣␊亮ͅ␊亮़␊亮゙␊兩́␊兩̣␊兩ͅ␊兩़␊兩゙␊凉́␊凉̣␊凉ͅ␊凉़␊…
|
5.8 KiB | |
| 009006 | ucd/no/U+FA3C..U+FB4B Unicode Character Database |
屮́␊屮̣␊屮ͅ␊屮़␊屮゙␊悔́␊悔̣␊悔ͅ␊悔़␊悔゙␊慨́␊慨̣␊慨ͅ␊慨़␊慨゙␊憎́␊憎̣␊憎ͅ␊憎़␊憎゙␊懲́␊懲̣␊懲ͅ␊懲़␊…
|
5.8 KiB | |
| 009007 | ucd/no/U+FB4C..U+2F891 Unicode Character Database |
בֿ́␊בֿ̣␊בֿͅ␊ב़ֿ␊ב゙ֿ␊כֿ́␊כֿ̣␊כֿͅ␊כ़ֿ␊כ゙ֿ␊פֿ́␊פֿ̣␊פֿͅ␊פ़ֿ␊פ゙ֿ␊𝅗𝅥́␊𝅗𝅥̣␊𝅗𝅥ͅ␊𝅗़𝅥␊𝅗゙𝅥␊𝅘𝅥́␊𝅘𝅥̣␊𝅘𝅥ͅ␊𝅘़𝅥␊…
|
5.8 KiB | |
| 009008 | ucd/no/U+2F892..U+2F933 Unicode Character Database |
𢌱́␊𢌱̣␊𢌱ͅ␊𢌱़␊𢌱゙␊舁́␊舁̣␊舁ͅ␊舁़␊舁゙␊弢́␊弢̣␊弢ͅ␊弢़␊弢゙␊弢́␊弢̣␊弢ͅ␊弢़␊弢゙␊㣇́␊㣇̣␊㣇ͅ␊㣇़␊…
|
5.9 KiB | |
| 009009 | ucd/no/U+2F934..U+2F9D5 Unicode Character Database |
甤́␊甤̣␊甤ͅ␊甤़␊甤゙␊𤰶́␊𤰶̣␊𤰶ͅ␊𤰶़␊𤰶゙␊甾́␊甾̣␊甾ͅ␊甾़␊甾゙␊𤲒́␊𤲒̣␊𤲒ͅ␊𤲒़␊𤲒゙␊異́␊異̣␊異ͅ␊異़␊…
|
5.9 KiB | |
| 009010 | ucd/no/U+2F9D6..U+2FA1D Unicode Character Database |
贛́␊贛̣␊贛ͅ␊贛़␊贛゙␊起́␊起̣␊起ͅ␊起़␊起゙␊𧼯́␊𧼯̣␊𧼯ͅ␊𧼯़␊𧼯゙␊𠠄́␊𠠄̣␊𠠄ͅ␊𠠄़␊𠠄゙␊跋́␊跋̣␊跋ͅ␊跋़␊…
|
2.6 KiB | |
| 009011 | ucd/jamo/U+1100..U+1120 Unicode Character Database |
가␊ᄀᄀ␊가ᄀ␊각ᄀ␊ᄀᄀᆨ␊ᄀᄀ␊까␊ᄀᄁ␊가ᄁ␊각ᄁ␊ᄀᄁᆨ␊ᄁᄁ␊나␊ᄀᄂ␊가ᄂ␊각ᄂ␊ᄀᄂᆨ␊ᄂᄂ␊다␊ᄀᄃ…
|
1.4 KiB | |
| 009012 | ucd/jamo/U+1121..U+1141 Unicode Character Database |
ᄡᅡ␊ᄀᄡ␊가ᄡ␊각ᄡ␊ᄀᄡᆨ␊ᄡᄡ␊ᄢᅡ␊ᄀᄢ␊가ᄢ␊각ᄢ␊ᄀᄢᆨ␊ᄢᄢ␊ᄣᅡ␊ᄀᄣ␊가ᄣ␊각ᄣ␊ᄀᄣᆨ␊ᄣᄣ␊ᄤᅡ␊ᄀᄤ…
|
1.4 KiB | |
| 009013 | ucd/jamo/U+1142..U+1162 Unicode Character Database |
ᅂᅡ␊ᄀᅂ␊가ᅂ␊각ᅂ␊ᄀᅂᆨ␊ᅂᅂ␊ᅃᅡ␊ᄀᅃ␊가ᅃ␊각ᅃ␊ᄀᅃᆨ␊ᅃᅃ␊ᅄᅡ␊ᄀᅄ␊가ᅄ␊각ᅄ␊ᄀᅄᆨ␊ᅄᅄ␊ᅅᅡ␊ᄀᅅ…
|
1.4 KiB | |
| 009014 | ucd/jamo/U+1163..U+1183 Unicode Character Database |
ᅣᅡ␊갸␊가ᅣ␊각ᅣ␊갹␊ᅣᅣ␊ᅤᅡ␊걔␊가ᅤ␊각ᅤ␊걕␊ᅤᅤ␊ᅥᅡ␊거␊가ᅥ␊각ᅥ␊걱␊ᅥᅥ␊ᅦᅡ␊게␊가ᅦ␊각ᅦ␊…
|
1.4 KiB | |
| 009015 | ucd/jamo/U+1184..U+11A4 Unicode Character Database |
ᆄᅡ␊ᄀᆄ␊가ᆄ␊각ᆄ␊ᄀᆄᆨ␊ᆄᆄ␊ᆅᅡ␊ᄀᆅ␊가ᆅ␊각ᆅ␊ᄀᆅᆨ␊ᆅᆅ␊ᆆᅡ␊ᄀᆆ␊가ᆆ␊각ᆆ␊ᄀᆆᆨ␊ᆆᆆ␊ᆇᅡ␊ᄀᆇ␊가ᆇ␊각ᆇ␊…
|
1.4 KiB | |
| 009016 | ucd/jamo/U+11A5..U+11C5 Unicode Character Database |
ᆥᅡ␊ᄀᆥ␊가ᆥ␊각ᆥ␊ᄀᆥᆨ␊ᆥᆥ␊ᆦᅡ␊ᄀᆦ␊가ᆦ␊각ᆦ␊ᄀᆦᆨ␊ᆦᆦ␊ᆧᅡ␊ᄀᆧ␊가ᆧ␊각ᆧ␊ᄀᆧᆨ␊ᆧᆧ␊ᆨᅡ␊ᄀᆨ␊각␊각ᆨ…
|
1.4 KiB | |
| 009017 | ucd/jamo/U+11C6..U+11E6 Unicode Character Database |
ᇆᅡ␊ᄀᇆ␊가ᇆ␊각ᇆ␊ᄀᇆᆨ␊ᇆᇆ␊ᇇᅡ␊ᄀᇇ␊가ᇇ␊각ᇇ␊ᄀᇇᆨ␊ᇇᇇ␊ᇈᅡ␊ᄀᇈ␊가ᇈ␊각ᇈ␊ᄀᇈᆨ␊ᇈᇈ␊ᇉᅡ␊…
|
1.4 KiB | |
| 009018 | ucd/jamo/U+11E7..U+A967 Unicode Character Database |
ᇧᅡ␊ᄀᇧ␊가ᇧ␊각ᇧ␊ᄀᇧᆨ␊ᇧᇧ␊ᇨᅡ␊ᄀᇨ␊가ᇨ␊각ᇨ␊ᄀᇨᆨ␊ᇨᇨ␊ᇩᅡ␊ᄀᇩ␊가ᇩ␊각ᇩ␊ᄀᇩᆨ␊ᇩᇩ␊ᇪᅡ␊…
|
1.4 KiB | |
| 009019 | ucd/jamo/U+A968..U+D7B8 Unicode Character Database |
ꥨᅡ␊ᄀꥨ␊가ꥨ␊각ꥨ␊ᄀꥨᆨ␊ꥨꥨ␊ꥩᅡ␊ᄀꥩ␊가ꥩ␊각ꥩ␊ᄀꥩᆨ␊ꥩꥩ␊ꥪᅡ␊ᄀꥪ␊가ꥪ␊각ꥪ␊ᄀꥪᆨ␊ꥪꥪ␊ꥫᅡ␊ᄀꥫ…
|
1.4 KiB | |
| 009020 | ucd/jamo/U+D7B9..U+D7D9 Unicode Character Database |
ힹᅡ␊ᄀힹ␊가ힹ␊각ힹ␊ᄀힹᆨ␊ힹힹ␊ힺᅡ␊ᄀힺ␊가ힺ␊각ힺ␊ᄀힺᆨ␊ힺힺ␊ힻᅡ␊ᄀힻ␊가ힻ␊각ힻ␊ᄀힻᆨ␊ힻힻ␊ힼᅡ␊ᄀힼ␊가ힼ␊각ힼ␊…
|
1.4 KiB | |
| 009021 | ucd/jamo/U+D7DA..U+D7FA Unicode Character Database |
ퟚᅡ␊ᄀퟚ␊가ퟚ␊각ퟚ␊ᄀퟚᆨ␊ퟚퟚ␊ퟛᅡ␊ᄀퟛ␊가ퟛ␊각ퟛ␊ᄀퟛᆨ␊ퟛퟛ␊ퟜᅡ␊ᄀퟜ␊가ퟜ␊각ퟜ␊ᄀퟜᆨ␊ퟜퟜ␊ퟝᅡ␊…
|
1.4 KiB | |
| 009022 | ucd/jamo/U+D7FB..U+D7FF Unicode Character Database |
ퟻᅡ␊ᄀퟻ␊가ퟻ␊각ퟻ␊ᄀퟻᆨ␊ퟻퟻ␊ᅡ␊ᄀ␊가␊각␊ᄀᆨ␊␊ᅡ␊ᄀ␊가␊각␊ᄀ…
|
224 B | |
| 009023 | ucd/orders/U+01D5..U+1F8C Unicode Character Database |
Ǖ␊Ṻ␊ǖ␊ṻ␊Ǘ␊Ú̈␊ǘ␊ú̈␊Ǚ␊Ǔ̈␊ǚ␊ǔ̈␊Ǜ␊Ù̈␊ǜ␊ù̈␊Ǟ␊Ā̈␊ǟ␊ā̈␊Ǡ␊Ā̇␊ǡ␊ā̇␊…
|
2.9 KiB | |
| 009024 | ucd/orders/U+1F8D..U+1D1C0 Unicode Character Database |
ᾍ␊ᾍ␊Ά̔ͅ␊Ά̔ͅ␊ᾍ␊Ά̔ͅ␊ᾎ␊ᾎ␊ᾼ͂̓␊ᾼ͂̓␊ᾎ␊ᾼ͂̓␊ᾏ␊ᾏ␊ᾼ͂̔␊ᾼ͂̔␊ᾏ␊ᾼ͂̔␊ᾐ␊ᾐ␊ᾑ␊ᾑ␊ᾒ␊ᾒ␊…
|
2.0 KiB | |
| 009025 | regression/empty Focused regression |
|
0 B | |
| 009026 | regression/ascii Focused regression |
␀␁␂␃␄␅␆␇␈␉␊␋␌␍␎␏␐␑␒␓␔␕␖␗␘␙␚␛␜␝␞␟ !"#$%&'()*+,-./…
|
128 B | |
| 009027 | regression/nul in the middle Focused regression |
e␀́
|
4 B | |
| 009028 | regression/byte order mark Focused regression |
⟨U+FEFF⟩é⟨U+FEFF⟩
|
9 B | |
| 009029 | regression/noncharacters Focused regression |
⟨U+FFFE⟩⟨U+FFFF⟩⟨U+FDD0⟩⟨U+FDEF⟩⟨U+1FFFE⟩⟨U+10FFFF⟩
|
20 B | |
| 009030 | regression/latin-1 Focused regression |
⟨U+0080⟩⟨U+0081⟩⟨U+0082⟩⟨U+0083⟩⟨U+0084⟩⟨U+0085⟩⟨U+0086⟩⟨U+0087⟩⟨U+0088⟩⟨U+0089⟩⟨U+008A⟩⟨U+008B⟩⟨U+008C⟩⟨U+008D⟩⟨U+008E⟩⟨U+008F⟩⟨U+0090⟩⟨U+0091⟩⟨U+0092⟩⟨U+0093⟩⟨U+0094⟩⟨U+0095⟩⟨U+0096⟩⟨U+0097⟩⟨U+0098⟩⟨U+0099⟩⟨U+009A⟩⟨U+009B⟩⟨U+009C⟩⟨U+009D⟩⟨U+009E⟩⟨U+009F⟩⟨U+00A0⟩¡¢£¤¥¦§¨©ª«¬⟨U+00AD⟩®¯…
|
256 B | |
| 009031 | regression/compatibility characters stay Focused regression |
fi ² ㎏ A ガ ㈱ ½ ℌ
|
32 B | |
| 009032 | regression/emoji sequences Focused regression |
👩🏽⟨U+200D⟩💻 🏳️⟨U+200D⟩🌈 👨⟨U+200D⟩👩⟨U+200D⟩👧⟨U+200D⟩👦 🇳🇿 ❤️ #️⃣
|
80 B | |
| 009033 | regression/singleton/angstrom sign Focused regression |
Å
|
3 B | |
| 009034 | regression/singleton/ohm sign Focused regression |
Ω
|
3 B | |
| 009035 | regression/singleton/kelvin sign Focused regression |
K
|
3 B | |
| 009036 | regression/singleton/greek question mark Focused regression |
;
|
2 B | |
| 009037 | regression/singleton/combining grave tone mark Focused regression |
à
|
3 B | |
| 009038 | regression/singleton/greek koronis Focused regression |
ἀ
|
4 B | |
| 009039 | regression/singleton/greek oxia Focused regression |
ά
|
3 B | |
| 009040 | regression/singleton/en quad Focused regression |
|
6 B | |
| 009041 | regression/singleton/angle brackets Focused regression |
〈x〉
|
7 B | |
| 009042 | regression/singleton/cjk compatibility ideographs Focused regression |
豈﨎塚龎
|
12 B | |
| 009043 | regression/singleton/supplementary compatibility ideograph Focused regression |
丽𪘀
|
8 B | |
| 009044 | regression/singleton/angstrom then acute Focused regression |
Ǻ
|
5 B | |
| 009045 | regression/singleton/ohm then mark Focused regression |
ᾭ
|
9 B | |
| 009046 | regression/exclusion/devanagari qa Focused regression |
क़
|
3 B | |
| 009047 | regression/exclusion/devanagari ka nukta Focused regression |
क़
|
6 B | |
| 009048 | regression/exclusion/every devanagari exclusion Focused regression |
क़ख़ग़ज़ड़ढ़फ़य़
|
24 B | |
| 009049 | regression/exclusion/hebrew presentation forms Focused regression |
יִשׁשּׁפֿ
|
12 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