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 |
|---|---|---|---|---|
| 006250 | unicode/part2/line 17478 NormalizationTest.txt |
aְֱֱֲb␊aְֱֱֲb
|
21 B | |
| 006251 | unicode/part2/line 17479 NormalizationTest.txt |
aְֱֱֲb␊aְֱֱֲb
|
21 B | |
| 006252 | unicode/part2/line 17480 NormalizationTest.txt |
aֱֲֲֳb␊aֱֲֲֳb
|
21 B | |
| 006253 | unicode/part2/line 17481 NormalizationTest.txt |
aֱֲֲֳb␊aֱֲֲֳb
|
21 B | |
| 006254 | unicode/part2/line 17482 NormalizationTest.txt |
aֲֳֳִb␊aֲֳֳִb
|
21 B | |
| 006255 | unicode/part2/line 17483 NormalizationTest.txt |
aֲֳֳִb␊aֲֳֳִb
|
21 B | |
| 006256 | unicode/part2/line 17484 NormalizationTest.txt |
aֳִִֵb␊aֳִִֵb
|
21 B | |
| 006257 | unicode/part2/line 17485 NormalizationTest.txt |
aֳִִֵb␊aֳִִֵb
|
21 B | |
| 006258 | unicode/part2/line 17486 NormalizationTest.txt |
aִֵֵֶb␊aִֵֵֶb
|
21 B | |
| 006259 | unicode/part2/line 17487 NormalizationTest.txt |
aִֵֵֶb␊aִֵֵֶb
|
21 B | |
| 006260 | unicode/part2/line 17488 NormalizationTest.txt |
aֵֶֶַb␊aֵֶֶַb
|
21 B | |
| 006261 | unicode/part2/line 17489 NormalizationTest.txt |
aֵֶֶַb␊aֵֶֶַb
|
21 B | |
| 006262 | unicode/part2/line 17490 NormalizationTest.txt |
aֶַַָb␊aֶַַָb
|
21 B | |
| 006263 | unicode/part2/line 17491 NormalizationTest.txt |
aֶַַָb␊aֶַַָb
|
21 B | |
| 006264 | unicode/part2/line 17492 NormalizationTest.txt |
aַָָֹb␊aַָָֹb
|
21 B | |
| 006265 | unicode/part2/line 17493 NormalizationTest.txt |
aַָָֹb␊aַָָֹb
|
21 B | |
| 006266 | unicode/part2/line 17494 NormalizationTest.txt |
aָֹֹֻb␊aָֹֹֻb
|
21 B | |
| 006267 | unicode/part2/line 17495 NormalizationTest.txt |
aָֹֹֻb␊aָֹֹֻb
|
21 B | |
| 006268 | unicode/part2/line 17496 NormalizationTest.txt |
aָֹֺֻb␊aָֹֺֻb
|
21 B | |
| 006269 | unicode/part2/line 17497 NormalizationTest.txt |
aָֺֹֻb␊aָֺֹֻb
|
21 B | |
| 006270 | unicode/part2/line 17498 NormalizationTest.txt |
aֹֻֻּb␊aֹֻֻּb
|
21 B | |
| 006271 | unicode/part2/line 17499 NormalizationTest.txt |
aֹֻֻּb␊aֹֻֻּb
|
21 B | |
| 006272 | unicode/part2/line 17500 NormalizationTest.txt |
aֻּּֽb␊aֻּּֽb
|
21 B | |
| 006273 | unicode/part2/line 17501 NormalizationTest.txt |
aֻּּֽb␊aֻּּֽb
|
21 B | |
| 006274 | unicode/part2/line 17502 NormalizationTest.txt |
aּֽֽֿb␊aּֽֽֿb
|
21 B | |
| 006275 | unicode/part2/line 17503 NormalizationTest.txt |
aּֽֽֿb␊aּֽֽֿb
|
21 B | |
| 006276 | unicode/part2/line 17504 NormalizationTest.txt |
aֽֿֿׁb␊aֽֿֿׁb
|
21 B | |
| 006277 | unicode/part2/line 17505 NormalizationTest.txt |
aֽֿֿׁb␊aֽֿֿׁb
|
21 B | |
| 006278 | unicode/part2/line 17506 NormalizationTest.txt |
aֿׁׁׂb␊aֿׁׁׂb
|
21 B | |
| 006279 | unicode/part2/line 17507 NormalizationTest.txt |
aֿׁׁׂb␊aֿׁׁׂb
|
21 B | |
| 006280 | unicode/part2/line 17508 NormalizationTest.txt |
aׁׂׂﬞb␊aׁׂׂﬞb
|
23 B | |
| 006281 | unicode/part2/line 17509 NormalizationTest.txt |
aׁׂׂﬞb␊aׁׂׂﬞb
|
23 B | |
| 006282 | unicode/part2/line 17510 NormalizationTest.txt |
à֮ׄ̕b␊à֮ׄ̕b␊à֮ׄ̕b
|
31 B | |
| 006283 | unicode/part2/line 17511 NormalizationTest.txt |
a֮ׄ̀̕b␊a֮ׄ̀̕b
|
21 B | |
| 006284 | unicode/part2/line 17512 NormalizationTest.txt |
a᷺̖ׅ֚b␊a᷺̖ׅ֚b
|
23 B | |
| 006285 | unicode/part2/line 17513 NormalizationTest.txt |
a᷺ׅ̖֚b␊a᷺ׅ̖֚b
|
23 B | |
| 006286 | unicode/part2/line 17514 NormalizationTest.txt |
aַָׇֹb␊aַָׇֹb
|
21 B | |
| 006287 | unicode/part2/line 17515 NormalizationTest.txt |
aַׇָֹb␊aַׇָֹb
|
21 B | |
| 006288 | unicode/part2/line 17516 NormalizationTest.txt |
à֮ؐ̕b␊à֮ؐ̕b␊à֮ؐ̕b
|
31 B | |
| 006289 | unicode/part2/line 17517 NormalizationTest.txt |
a֮ؐ̀̕b␊a֮ؐ̀̕b
|
21 B | |
| 006290 | unicode/part2/line 17518 NormalizationTest.txt |
à֮ؑ̕b␊à֮ؑ̕b␊à֮ؑ̕b
|
31 B | |
| 006291 | unicode/part2/line 17519 NormalizationTest.txt |
a֮ؑ̀̕b␊a֮ؑ̀̕b
|
21 B | |
| 006292 | unicode/part2/line 17520 NormalizationTest.txt |
à֮ؒ̕b␊à֮ؒ̕b␊à֮ؒ̕b
|
31 B | |
| 006293 | unicode/part2/line 17521 NormalizationTest.txt |
a֮ؒ̀̕b␊a֮ؒ̀̕b
|
21 B | |
| 006294 | unicode/part2/line 17522 NormalizationTest.txt |
à֮ؓ̕b␊à֮ؓ̕b␊à֮ؓ̕b
|
31 B | |
| 006295 | unicode/part2/line 17523 NormalizationTest.txt |
a֮ؓ̀̕b␊a֮ؓ̀̕b
|
21 B | |
| 006296 | unicode/part2/line 17524 NormalizationTest.txt |
à֮ؔ̕b␊à֮ؔ̕b␊à֮ؔ̕b
|
31 B | |
| 006297 | unicode/part2/line 17525 NormalizationTest.txt |
a֮ؔ̀̕b␊a֮ؔ̀̕b
|
21 B | |
| 006298 | unicode/part2/line 17526 NormalizationTest.txt |
à֮ؕ̕b␊à֮ؕ̕b␊à֮ؕ̕b
|
31 B | |
| 006299 | unicode/part2/line 17527 NormalizationTest.txt |
a֮ؕ̀̕b␊a֮ؕ̀̕b
|
21 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