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 |
|---|---|---|---|---|
| 006200 | unicode/part2/line 17428 NormalizationTest.txt |
à֮֘̕b␊à֮֘̕b␊à֮֘̕b
|
31 B | |
| 006201 | unicode/part2/line 17429 NormalizationTest.txt |
a֮֘̀̕b␊a֮֘̀̕b
|
21 B | |
| 006202 | unicode/part2/line 17430 NormalizationTest.txt |
à֮֙̕b␊à֮֙̕b␊à֮֙̕b
|
31 B | |
| 006203 | unicode/part2/line 17431 NormalizationTest.txt |
a֮֙̀̕b␊a֮֙̀̕b
|
21 B | |
| 006204 | unicode/part2/line 17432 NormalizationTest.txt |
a̖֚֚〮b␊a̖֚֚〮b
|
23 B | |
| 006205 | unicode/part2/line 17433 NormalizationTest.txt |
a̖֚֚〮b␊a̖֚֚〮b
|
23 B | |
| 006206 | unicode/part2/line 17434 NormalizationTest.txt |
a᷺̖֛֚b␊a᷺̖֛֚b
|
23 B | |
| 006207 | unicode/part2/line 17435 NormalizationTest.txt |
a᷺֛̖֚b␊a᷺֛̖֚b
|
23 B | |
| 006208 | unicode/part2/line 17436 NormalizationTest.txt |
à֮֜̕b␊à֮֜̕b␊à֮֜̕b
|
31 B | |
| 006209 | unicode/part2/line 17437 NormalizationTest.txt |
a֮֜̀̕b␊a֮֜̀̕b
|
21 B | |
| 006210 | unicode/part2/line 17438 NormalizationTest.txt |
à֮֝̕b␊à֮֝̕b␊à֮֝̕b
|
31 B | |
| 006211 | unicode/part2/line 17439 NormalizationTest.txt |
a֮֝̀̕b␊a֮֝̀̕b
|
21 B | |
| 006212 | unicode/part2/line 17440 NormalizationTest.txt |
à֮֞̕b␊à֮֞̕b␊à֮֞̕b
|
31 B | |
| 006213 | unicode/part2/line 17441 NormalizationTest.txt |
a֮֞̀̕b␊a֮֞̀̕b
|
21 B | |
| 006214 | unicode/part2/line 17442 NormalizationTest.txt |
à֮֟̕b␊à֮֟̕b␊à֮֟̕b
|
31 B | |
| 006215 | unicode/part2/line 17443 NormalizationTest.txt |
a֮֟̀̕b␊a֮֟̀̕b
|
21 B | |
| 006216 | unicode/part2/line 17444 NormalizationTest.txt |
à֮֠̕b␊à֮֠̕b␊à֮֠̕b
|
31 B | |
| 006217 | unicode/part2/line 17445 NormalizationTest.txt |
a֮֠̀̕b␊a֮֠̀̕b
|
21 B | |
| 006218 | unicode/part2/line 17446 NormalizationTest.txt |
à֮֡̕b␊à֮֡̕b␊à֮֡̕b
|
31 B | |
| 006219 | unicode/part2/line 17447 NormalizationTest.txt |
a֮֡̀̕b␊a֮֡̀̕b
|
21 B | |
| 006220 | unicode/part2/line 17448 NormalizationTest.txt |
a᷺̖֢֚b␊a᷺̖֢֚b
|
23 B | |
| 006221 | unicode/part2/line 17449 NormalizationTest.txt |
a᷺֢̖֚b␊a᷺֢̖֚b
|
23 B | |
| 006222 | unicode/part2/line 17450 NormalizationTest.txt |
a᷺̖֣֚b␊a᷺̖֣֚b
|
23 B | |
| 006223 | unicode/part2/line 17451 NormalizationTest.txt |
a᷺֣̖֚b␊a᷺֣̖֚b
|
23 B | |
| 006224 | unicode/part2/line 17452 NormalizationTest.txt |
a᷺̖֤֚b␊a᷺̖֤֚b
|
23 B | |
| 006225 | unicode/part2/line 17453 NormalizationTest.txt |
a᷺֤̖֚b␊a᷺֤̖֚b
|
23 B | |
| 006226 | unicode/part2/line 17454 NormalizationTest.txt |
a᷺̖֥֚b␊a᷺̖֥֚b
|
23 B | |
| 006227 | unicode/part2/line 17455 NormalizationTest.txt |
a᷺֥̖֚b␊a᷺֥̖֚b
|
23 B | |
| 006228 | unicode/part2/line 17456 NormalizationTest.txt |
a᷺̖֦֚b␊a᷺̖֦֚b
|
23 B | |
| 006229 | unicode/part2/line 17457 NormalizationTest.txt |
a᷺֦̖֚b␊a᷺֦̖֚b
|
23 B | |
| 006230 | unicode/part2/line 17458 NormalizationTest.txt |
a᷺̖֧֚b␊a᷺̖֧֚b
|
23 B | |
| 006231 | unicode/part2/line 17459 NormalizationTest.txt |
a᷺֧̖֚b␊a᷺֧̖֚b
|
23 B | |
| 006232 | unicode/part2/line 17460 NormalizationTest.txt |
à֮֨̕b␊à֮֨̕b␊à֮֨̕b
|
31 B | |
| 006233 | unicode/part2/line 17461 NormalizationTest.txt |
a֮֨̀̕b␊a֮֨̀̕b
|
21 B | |
| 006234 | unicode/part2/line 17462 NormalizationTest.txt |
à֮֩̕b␊à֮֩̕b␊à֮֩̕b
|
31 B | |
| 006235 | unicode/part2/line 17463 NormalizationTest.txt |
a֮֩̀̕b␊a֮֩̀̕b
|
21 B | |
| 006236 | unicode/part2/line 17464 NormalizationTest.txt |
a᷺̖֪֚b␊a᷺̖֪֚b
|
23 B | |
| 006237 | unicode/part2/line 17465 NormalizationTest.txt |
a᷺֪̖֚b␊a᷺֪̖֚b
|
23 B | |
| 006238 | unicode/part2/line 17466 NormalizationTest.txt |
à֮֫̕b␊à֮֫̕b␊à֮֫̕b
|
31 B | |
| 006239 | unicode/part2/line 17467 NormalizationTest.txt |
a֮֫̀̕b␊a֮֫̀̕b
|
21 B | |
| 006240 | unicode/part2/line 17468 NormalizationTest.txt |
à֮֬̕b␊à֮֬̕b␊à֮֬̕b
|
31 B | |
| 006241 | unicode/part2/line 17469 NormalizationTest.txt |
a֮֬̀̕b␊a֮֬̀̕b
|
21 B | |
| 006242 | unicode/part2/line 17470 NormalizationTest.txt |
a̖֚֭〮b␊a̖֚֭〮b
|
23 B | |
| 006243 | unicode/part2/line 17471 NormalizationTest.txt |
a̖֭֚〮b␊a̖֭֚〮b
|
23 B | |
| 006244 | unicode/part2/line 17472 NormalizationTest.txt |
à𝅭֮֮b␊à𝅭֮֮b␊à𝅭֮֮b
|
37 B | |
| 006245 | unicode/part2/line 17473 NormalizationTest.txt |
à𝅭֮֮b␊à𝅭֮֮b␊à𝅭֮֮b
|
37 B | |
| 006246 | unicode/part2/line 17474 NormalizationTest.txt |
à֮֯̕b␊à֮֯̕b␊à֮֯̕b
|
31 B | |
| 006247 | unicode/part2/line 17475 NormalizationTest.txt |
a֮֯̀̕b␊a֮֯̀̕b
|
21 B | |
| 006248 | unicode/part2/line 17476 NormalizationTest.txt |
a्ְְֱb␊a्ְְֱb
|
23 B | |
| 006249 | unicode/part2/line 17477 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