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
1,936 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 007004 | unicode/part2/line 18232 NormalizationTest.txt |
a̴᳧𖿰b␊a̴᳧𖿰b
|
23 B | |
| 007005 | unicode/part2/line 18233 NormalizationTest.txt |
a᳧̴𖿰b␊a᳧̴𖿰b
|
23 B | |
| 007006 | unicode/part2/line 18234 NormalizationTest.txt |
a̴᳨𖿰b␊a̴᳨𖿰b
|
23 B | |
| 007007 | unicode/part2/line 18235 NormalizationTest.txt |
a᳨̴𖿰b␊a᳨̴𖿰b
|
23 B | |
| 007008 | unicode/part2/line 18236 NormalizationTest.txt |
a᷺̖᳭֚b␊a᷺̖᳭֚b
|
25 B | |
| 007009 | unicode/part2/line 18237 NormalizationTest.txt |
a᷺᳭̖֚b␊a᷺᳭̖֚b
|
25 B | |
| 007010 | unicode/part2/line 18238 NormalizationTest.txt |
à֮᳴̕b␊à֮᳴̕b␊à֮᳴̕b
|
34 B | |
| 007011 | unicode/part2/line 18239 NormalizationTest.txt |
a֮᳴̀̕b␊a֮᳴̀̕b
|
23 B | |
| 007012 | unicode/part2/line 18240 NormalizationTest.txt |
à֮᳸̕b␊à֮᳸̕b␊à֮᳸̕b
|
34 B | |
| 007013 | unicode/part2/line 18241 NormalizationTest.txt |
a֮᳸̀̕b␊a֮᳸̀̕b
|
23 B | |
| 007014 | unicode/part2/line 18242 NormalizationTest.txt |
à֮᳹̕b␊à֮᳹̕b␊à֮᳹̕b
|
34 B | |
| 007015 | unicode/part2/line 18243 NormalizationTest.txt |
a֮᳹̀̕b␊a֮᳹̀̕b
|
23 B | |
| 007016 | unicode/part2/line 18244 NormalizationTest.txt |
à֮᷀̕b␊à֮᷀̕b␊à֮᷀̕b
|
34 B | |
| 007017 | unicode/part2/line 18245 NormalizationTest.txt |
a֮᷀̀̕b␊a֮᷀̀̕b
|
23 B | |
| 007018 | unicode/part2/line 18246 NormalizationTest.txt |
à֮᷁̕b␊à֮᷁̕b␊à֮᷁̕b
|
34 B | |
| 007019 | unicode/part2/line 18247 NormalizationTest.txt |
a֮᷁̀̕b␊a֮᷁̀̕b
|
23 B | |
| 007020 | unicode/part2/line 18248 NormalizationTest.txt |
a᷺̖᷂֚b␊a᷺̖᷂֚b
|
25 B | |
| 007021 | unicode/part2/line 18249 NormalizationTest.txt |
a᷺᷂̖֚b␊a᷺᷂̖֚b
|
25 B | |
| 007022 | unicode/part2/line 18250 NormalizationTest.txt |
à֮᷃̕b␊à֮᷃̕b␊à֮᷃̕b
|
34 B | |
| 007023 | unicode/part2/line 18251 NormalizationTest.txt |
a֮᷃̀̕b␊a֮᷃̀̕b
|
23 B | |
| 007024 | unicode/part2/line 18252 NormalizationTest.txt |
à֮᷄̕b␊à֮᷄̕b␊à֮᷄̕b
|
34 B | |
| 007025 | unicode/part2/line 18253 NormalizationTest.txt |
a֮᷄̀̕b␊a֮᷄̀̕b
|
23 B | |
| 007026 | unicode/part2/line 18254 NormalizationTest.txt |
à֮᷅̕b␊à֮᷅̕b␊à֮᷅̕b
|
34 B | |
| 007027 | unicode/part2/line 18255 NormalizationTest.txt |
a֮᷅̀̕b␊a֮᷅̀̕b
|
23 B | |
| 007028 | unicode/part2/line 18256 NormalizationTest.txt |
à֮᷆̕b␊à֮᷆̕b␊à֮᷆̕b
|
34 B | |
| 007029 | unicode/part2/line 18257 NormalizationTest.txt |
a֮᷆̀̕b␊a֮᷆̀̕b
|
23 B | |
| 007030 | unicode/part2/line 18258 NormalizationTest.txt |
à֮᷇̕b␊à֮᷇̕b␊à֮᷇̕b
|
34 B | |
| 007031 | unicode/part2/line 18259 NormalizationTest.txt |
a֮᷇̀̕b␊a֮᷇̀̕b
|
23 B | |
| 007032 | unicode/part2/line 18260 NormalizationTest.txt |
à֮᷈̕b␊à֮᷈̕b␊à֮᷈̕b
|
34 B | |
| 007033 | unicode/part2/line 18261 NormalizationTest.txt |
a֮᷈̀̕b␊a֮᷈̀̕b
|
23 B | |
| 007034 | unicode/part2/line 18262 NormalizationTest.txt |
à֮᷉̕b␊à֮᷉̕b␊à֮᷉̕b
|
34 B | |
| 007035 | unicode/part2/line 18263 NormalizationTest.txt |
a֮᷉̀̕b␊a֮᷉̀̕b
|
23 B | |
| 007036 | unicode/part2/line 18264 NormalizationTest.txt |
a᷺̖᷊֚b␊a᷺̖᷊֚b
|
25 B | |
| 007037 | unicode/part2/line 18265 NormalizationTest.txt |
a᷺᷊̖֚b␊a᷺᷊̖֚b
|
25 B | |
| 007038 | unicode/part2/line 18266 NormalizationTest.txt |
à֮᷋̕b␊à֮᷋̕b␊à֮᷋̕b
|
34 B | |
| 007039 | unicode/part2/line 18267 NormalizationTest.txt |
a֮᷋̀̕b␊a֮᷋̀̕b
|
23 B | |
| 007040 | unicode/part2/line 18268 NormalizationTest.txt |
à֮᷌̕b␊à֮᷌̕b␊à֮᷌̕b
|
34 B | |
| 007041 | unicode/part2/line 18269 NormalizationTest.txt |
a֮᷌̀̕b␊a֮᷌̀̕b
|
23 B | |
| 007042 | unicode/part2/line 18270 NormalizationTest.txt |
a͜͝᷍ͅb␊a͜͝᷍ͅb
|
23 B | |
| 007043 | unicode/part2/line 18271 NormalizationTest.txt |
a͜᷍͝ͅb␊a͜᷍͝ͅb
|
23 B | |
| 007044 | unicode/part2/line 18272 NormalizationTest.txt |
a̡᷎᷎̛b␊a̡᷎᷎̛b
|
25 B | |
| 007045 | unicode/part2/line 18273 NormalizationTest.txt |
a̡᷎᷎̛b␊a̡᷎᷎̛b
|
25 B | |
| 007046 | unicode/part2/line 18274 NormalizationTest.txt |
a᷺̖᷏֚b␊a᷺̖᷏֚b
|
25 B | |
| 007047 | unicode/part2/line 18275 NormalizationTest.txt |
a᷺᷏̖֚b␊a᷺᷏̖֚b
|
25 B | |
| 007048 | unicode/part2/line 18276 NormalizationTest.txt |
aུ̡᷐᷎b␊aུ̡᷐᷎b
|
27 B | |
| 007049 | unicode/part2/line 18277 NormalizationTest.txt |
aུ᷐̡᷎b␊aུ᷐̡᷎b
|
27 B | |
| 007050 | unicode/part2/line 18278 NormalizationTest.txt |
à֮᷑̕b␊à֮᷑̕b␊à֮᷑̕b
|
34 B | |
| 007051 | unicode/part2/line 18279 NormalizationTest.txt |
a֮᷑̀̕b␊a֮᷑̀̕b
|
23 B | |
| 007052 | unicode/part2/line 18280 NormalizationTest.txt |
à֮᷒̕b␊à֮᷒̕b␊à֮᷒̕b
|
34 B | |
| 007053 | unicode/part2/line 18281 NormalizationTest.txt |
a֮᷒̀̕b␊a֮᷒̀̕b
|
23 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