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 |
|---|---|---|---|---|
| 006050 | unicode/part2/line 17278 NormalizationTest.txt |
a᷺̖̰֚b␊a᷺̖̰֚b
|
23 B | |
| 006051 | unicode/part2/line 17279 NormalizationTest.txt |
a᷺̰̖֚b␊a᷺̰̖֚b
|
23 B | |
| 006052 | unicode/part2/line 17280 NormalizationTest.txt |
a᷺̖̱֚b␊a᷺̖̱֚b
|
23 B | |
| 006053 | unicode/part2/line 17281 NormalizationTest.txt |
a᷺̱̖֚b␊a᷺̱̖֚b
|
23 B | |
| 006054 | unicode/part2/line 17282 NormalizationTest.txt |
a᷺̖̲֚b␊a᷺̖̲֚b
|
23 B | |
| 006055 | unicode/part2/line 17283 NormalizationTest.txt |
a᷺̲̖֚b␊a᷺̲̖֚b
|
23 B | |
| 006056 | unicode/part2/line 17284 NormalizationTest.txt |
a᷺̖̳֚b␊a᷺̖̳֚b
|
23 B | |
| 006057 | unicode/part2/line 17285 NormalizationTest.txt |
a᷺̳̖֚b␊a᷺̳̖֚b
|
23 B | |
| 006058 | unicode/part2/line 17286 NormalizationTest.txt |
a̴̴𖿰b␊a̴̴𖿰b
|
21 B | |
| 006059 | unicode/part2/line 17287 NormalizationTest.txt |
a̴̴𖿰b␊a̴̴𖿰b
|
21 B | |
| 006060 | unicode/part2/line 17288 NormalizationTest.txt |
a̴̵𖿰b␊a̴̵𖿰b
|
21 B | |
| 006061 | unicode/part2/line 17289 NormalizationTest.txt |
a̵̴𖿰b␊a̵̴𖿰b
|
21 B | |
| 006062 | unicode/part2/line 17290 NormalizationTest.txt |
a̴̶𖿰b␊a̴̶𖿰b
|
21 B | |
| 006063 | unicode/part2/line 17291 NormalizationTest.txt |
a̶̴𖿰b␊a̶̴𖿰b
|
21 B | |
| 006064 | unicode/part2/line 17292 NormalizationTest.txt |
a̴̷𖿰b␊a̴̷𖿰b
|
21 B | |
| 006065 | unicode/part2/line 17293 NormalizationTest.txt |
a̷̴𖿰b␊a̷̴𖿰b
|
21 B | |
| 006066 | unicode/part2/line 17294 NormalizationTest.txt |
a̴̸𖿰b␊a̴̸𖿰b
|
21 B | |
| 006067 | unicode/part2/line 17295 NormalizationTest.txt |
a̸̴𖿰b␊a̸̴𖿰b
|
21 B | |
| 006068 | unicode/part2/line 17296 NormalizationTest.txt |
a᷺̖̹֚b␊a᷺̖̹֚b
|
23 B | |
| 006069 | unicode/part2/line 17297 NormalizationTest.txt |
a᷺̹̖֚b␊a᷺̹̖֚b
|
23 B | |
| 006070 | unicode/part2/line 17298 NormalizationTest.txt |
a᷺̖̺֚b␊a᷺̖̺֚b
|
23 B | |
| 006071 | unicode/part2/line 17299 NormalizationTest.txt |
a᷺̺̖֚b␊a᷺̺̖֚b
|
23 B | |
| 006072 | unicode/part2/line 17300 NormalizationTest.txt |
a᷺̖̻֚b␊a᷺̖̻֚b
|
23 B | |
| 006073 | unicode/part2/line 17301 NormalizationTest.txt |
a᷺̻̖֚b␊a᷺̻̖֚b
|
23 B | |
| 006074 | unicode/part2/line 17302 NormalizationTest.txt |
a᷺̖̼֚b␊a᷺̖̼֚b
|
23 B | |
| 006075 | unicode/part2/line 17303 NormalizationTest.txt |
a᷺̼̖֚b␊a᷺̼̖֚b
|
23 B | |
| 006076 | unicode/part2/line 17304 NormalizationTest.txt |
à֮̽̕b␊à֮̽̕b␊à֮̽̕b
|
31 B | |
| 006077 | unicode/part2/line 17305 NormalizationTest.txt |
a֮̽̀̕b␊a֮̽̀̕b
|
21 B | |
| 006078 | unicode/part2/line 17306 NormalizationTest.txt |
à֮̾̕b␊à֮̾̕b␊à֮̾̕b
|
31 B | |
| 006079 | unicode/part2/line 17307 NormalizationTest.txt |
a֮̾̀̕b␊a֮̾̀̕b
|
21 B | |
| 006080 | unicode/part2/line 17308 NormalizationTest.txt |
à֮̿̕b␊à֮̿̕b␊à֮̿̕b
|
31 B | |
| 006081 | unicode/part2/line 17309 NormalizationTest.txt |
a֮̿̀̕b␊a֮̿̀̕b
|
21 B | |
| 006082 | unicode/part2/line 17310 NormalizationTest.txt |
à֮̀̕b␊à֮̀̕b␊à֮̀̕b
|
31 B | |
| 006083 | unicode/part2/line 17311 NormalizationTest.txt |
à֮̀̕b␊à֮̀̕b␊à֮̀̕b
|
31 B | |
| 006084 | unicode/part2/line 17312 NormalizationTest.txt |
à֮́̕b␊à֮́̕b␊à֮́̕b
|
31 B | |
| 006085 | unicode/part2/line 17313 NormalizationTest.txt |
á֮̀̕b␊á֮̀̕b␊á֮̀̕b
|
31 B | |
| 006086 | unicode/part2/line 17314 NormalizationTest.txt |
à֮͂̕b␊à֮͂̕b␊à֮͂̕b
|
31 B | |
| 006087 | unicode/part2/line 17315 NormalizationTest.txt |
a֮͂̀̕b␊a֮͂̀̕b
|
21 B | |
| 006088 | unicode/part2/line 17316 NormalizationTest.txt |
à֮̓̕b␊à֮̓̕b␊à֮̓̕b
|
31 B | |
| 006089 | unicode/part2/line 17317 NormalizationTest.txt |
a֮̓̀̕b␊a֮̓̀̕b
|
21 B | |
| 006090 | unicode/part2/line 17318 NormalizationTest.txt |
à֮̈́̕b␊à֮̈́̕b␊à֮̈́̕b
|
35 B | |
| 006091 | unicode/part2/line 17319 NormalizationTest.txt |
ä֮́̀̕b␊ä֮́̀̕b␊ä֮́̀̕b
|
35 B | |
| 006092 | unicode/part2/line 17320 NormalizationTest.txt |
a͝ͅͅb␊a͝ͅͅb
|
17 B | |
| 006093 | unicode/part2/line 17321 NormalizationTest.txt |
a͝ͅͅb␊a͝ͅͅb
|
17 B | |
| 006094 | unicode/part2/line 17322 NormalizationTest.txt |
à֮͆̕b␊à֮͆̕b␊à֮͆̕b
|
31 B | |
| 006095 | unicode/part2/line 17323 NormalizationTest.txt |
a֮͆̀̕b␊a֮͆̀̕b
|
21 B | |
| 006096 | unicode/part2/line 17324 NormalizationTest.txt |
a᷺̖͇֚b␊a᷺̖͇֚b
|
23 B | |
| 006097 | unicode/part2/line 17325 NormalizationTest.txt |
a᷺͇̖֚b␊a᷺͇̖֚b
|
23 B | |
| 006098 | unicode/part2/line 17326 NormalizationTest.txt |
a᷺̖͈֚b␊a᷺̖͈֚b
|
23 B | |
| 006099 | unicode/part2/line 17327 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