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 |
|---|---|---|---|---|
| 007304 | unicode/part2/line 18532 NormalizationTest.txt |
à֮꙽̕b␊à֮꙽̕b␊à֮꙽̕b
|
34 B | |
| 007305 | unicode/part2/line 18533 NormalizationTest.txt |
a֮꙽̀̕b␊a֮꙽̀̕b
|
23 B | |
| 007306 | unicode/part2/line 18534 NormalizationTest.txt |
à֮ꚞ̕b␊à֮ꚞ̕b␊à֮ꚞ̕b
|
34 B | |
| 007307 | unicode/part2/line 18535 NormalizationTest.txt |
a֮ꚞ̀̕b␊a֮ꚞ̀̕b
|
23 B | |
| 007308 | unicode/part2/line 18536 NormalizationTest.txt |
à֮ꚟ̕b␊à֮ꚟ̕b␊à֮ꚟ̕b
|
34 B | |
| 007309 | unicode/part2/line 18537 NormalizationTest.txt |
a֮ꚟ̀̕b␊a֮ꚟ̀̕b
|
23 B | |
| 007310 | unicode/part2/line 18538 NormalizationTest.txt |
à֮꛰̕b␊à֮꛰̕b␊à֮꛰̕b
|
34 B | |
| 007311 | unicode/part2/line 18539 NormalizationTest.txt |
a֮꛰̀̕b␊a֮꛰̀̕b
|
23 B | |
| 007312 | unicode/part2/line 18540 NormalizationTest.txt |
à֮꛱̕b␊à֮꛱̕b␊à֮꛱̕b
|
34 B | |
| 007313 | unicode/part2/line 18541 NormalizationTest.txt |
a֮꛱̀̕b␊a֮꛱̀̕b
|
23 B | |
| 007314 | unicode/part2/line 18542 NormalizationTest.txt |
a゙्꠆ְb␊a゙्꠆ְb
|
27 B | |
| 007315 | unicode/part2/line 18543 NormalizationTest.txt |
a゙꠆्ְb␊a゙꠆्ְb
|
27 B | |
| 007316 | unicode/part2/line 18544 NormalizationTest.txt |
a゙्꠬ְb␊a゙्꠬ְb
|
27 B | |
| 007317 | unicode/part2/line 18545 NormalizationTest.txt |
a゙꠬्ְb␊a゙꠬्ְb
|
27 B | |
| 007318 | unicode/part2/line 18546 NormalizationTest.txt |
a゙्꣄ְb␊a゙्꣄ְb
|
27 B | |
| 007319 | unicode/part2/line 18547 NormalizationTest.txt |
a゙꣄्ְb␊a゙꣄्ְb
|
27 B | |
| 007320 | unicode/part2/line 18548 NormalizationTest.txt |
à֮꣠̕b␊à֮꣠̕b␊à֮꣠̕b
|
34 B | |
| 007321 | unicode/part2/line 18549 NormalizationTest.txt |
a֮꣠̀̕b␊a֮꣠̀̕b
|
23 B | |
| 007322 | unicode/part2/line 18550 NormalizationTest.txt |
à֮꣡̕b␊à֮꣡̕b␊à֮꣡̕b
|
34 B | |
| 007323 | unicode/part2/line 18551 NormalizationTest.txt |
a֮꣡̀̕b␊a֮꣡̀̕b
|
23 B | |
| 007324 | unicode/part2/line 18552 NormalizationTest.txt |
à֮꣢̕b␊à֮꣢̕b␊à֮꣢̕b
|
34 B | |
| 007325 | unicode/part2/line 18553 NormalizationTest.txt |
a֮꣢̀̕b␊a֮꣢̀̕b
|
23 B | |
| 007326 | unicode/part2/line 18554 NormalizationTest.txt |
à֮꣣̕b␊à֮꣣̕b␊à֮꣣̕b
|
34 B | |
| 007327 | unicode/part2/line 18555 NormalizationTest.txt |
a֮꣣̀̕b␊a֮꣣̀̕b
|
23 B | |
| 007328 | unicode/part2/line 18556 NormalizationTest.txt |
à֮꣤̕b␊à֮꣤̕b␊à֮꣤̕b
|
34 B | |
| 007329 | unicode/part2/line 18557 NormalizationTest.txt |
a֮꣤̀̕b␊a֮꣤̀̕b
|
23 B | |
| 007330 | unicode/part2/line 18558 NormalizationTest.txt |
à֮꣥̕b␊à֮꣥̕b␊à֮꣥̕b
|
34 B | |
| 007331 | unicode/part2/line 18559 NormalizationTest.txt |
a֮꣥̀̕b␊a֮꣥̀̕b
|
23 B | |
| 007332 | unicode/part2/line 18560 NormalizationTest.txt |
à֮꣦̕b␊à֮꣦̕b␊à֮꣦̕b
|
34 B | |
| 007333 | unicode/part2/line 18561 NormalizationTest.txt |
a֮꣦̀̕b␊a֮꣦̀̕b
|
23 B | |
| 007334 | unicode/part2/line 18562 NormalizationTest.txt |
à֮꣧̕b␊à֮꣧̕b␊à֮꣧̕b
|
34 B | |
| 007335 | unicode/part2/line 18563 NormalizationTest.txt |
a֮꣧̀̕b␊a֮꣧̀̕b
|
23 B | |
| 007336 | unicode/part2/line 18564 NormalizationTest.txt |
à֮꣨̕b␊à֮꣨̕b␊à֮꣨̕b
|
34 B | |
| 007337 | unicode/part2/line 18565 NormalizationTest.txt |
a֮꣨̀̕b␊a֮꣨̀̕b
|
23 B | |
| 007338 | unicode/part2/line 18566 NormalizationTest.txt |
à֮꣩̕b␊à֮꣩̕b␊à֮꣩̕b
|
34 B | |
| 007339 | unicode/part2/line 18567 NormalizationTest.txt |
a֮꣩̀̕b␊a֮꣩̀̕b
|
23 B | |
| 007340 | unicode/part2/line 18568 NormalizationTest.txt |
à֮꣪̕b␊à֮꣪̕b␊à֮꣪̕b
|
34 B | |
| 007341 | unicode/part2/line 18569 NormalizationTest.txt |
a֮꣪̀̕b␊a֮꣪̀̕b
|
23 B | |
| 007342 | unicode/part2/line 18570 NormalizationTest.txt |
à֮꣫̕b␊à֮꣫̕b␊à֮꣫̕b
|
34 B | |
| 007343 | unicode/part2/line 18571 NormalizationTest.txt |
a֮꣫̀̕b␊a֮꣫̀̕b
|
23 B | |
| 007344 | unicode/part2/line 18572 NormalizationTest.txt |
à֮꣬̕b␊à֮꣬̕b␊à֮꣬̕b
|
34 B | |
| 007345 | unicode/part2/line 18573 NormalizationTest.txt |
a֮꣬̀̕b␊a֮꣬̀̕b
|
23 B | |
| 007346 | unicode/part2/line 18574 NormalizationTest.txt |
à֮꣭̕b␊à֮꣭̕b␊à֮꣭̕b
|
34 B | |
| 007347 | unicode/part2/line 18575 NormalizationTest.txt |
a֮꣭̀̕b␊a֮꣭̀̕b
|
23 B | |
| 007348 | unicode/part2/line 18576 NormalizationTest.txt |
à֮꣮̕b␊à֮꣮̕b␊à֮꣮̕b
|
34 B | |
| 007349 | unicode/part2/line 18577 NormalizationTest.txt |
a֮꣮̀̕b␊a֮꣮̀̕b
|
23 B | |
| 007350 | unicode/part2/line 18578 NormalizationTest.txt |
à֮꣯̕b␊à֮꣯̕b␊à֮꣯̕b
|
34 B | |
| 007351 | unicode/part2/line 18579 NormalizationTest.txt |
a֮꣯̀̕b␊a֮꣯̀̕b
|
23 B | |
| 007352 | unicode/part2/line 18580 NormalizationTest.txt |
à֮꣰̕b␊à֮꣰̕b␊à֮꣰̕b
|
34 B | |
| 007353 | unicode/part2/line 18581 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