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 |
|---|---|---|---|---|
| 007054 | unicode/part2/line 18282 NormalizationTest.txt |
à֮ᷓ̕b␊à֮ᷓ̕b␊à֮ᷓ̕b
|
34 B | |
| 007055 | unicode/part2/line 18283 NormalizationTest.txt |
a֮ᷓ̀̕b␊a֮ᷓ̀̕b
|
23 B | |
| 007056 | unicode/part2/line 18284 NormalizationTest.txt |
à֮ᷔ̕b␊à֮ᷔ̕b␊à֮ᷔ̕b
|
34 B | |
| 007057 | unicode/part2/line 18285 NormalizationTest.txt |
a֮ᷔ̀̕b␊a֮ᷔ̀̕b
|
23 B | |
| 007058 | unicode/part2/line 18286 NormalizationTest.txt |
à֮ᷕ̕b␊à֮ᷕ̕b␊à֮ᷕ̕b
|
34 B | |
| 007059 | unicode/part2/line 18287 NormalizationTest.txt |
a֮ᷕ̀̕b␊a֮ᷕ̀̕b
|
23 B | |
| 007060 | unicode/part2/line 18288 NormalizationTest.txt |
à֮ᷖ̕b␊à֮ᷖ̕b␊à֮ᷖ̕b
|
34 B | |
| 007061 | unicode/part2/line 18289 NormalizationTest.txt |
a֮ᷖ̀̕b␊a֮ᷖ̀̕b
|
23 B | |
| 007062 | unicode/part2/line 18290 NormalizationTest.txt |
à֮ᷗ̕b␊à֮ᷗ̕b␊à֮ᷗ̕b
|
34 B | |
| 007063 | unicode/part2/line 18291 NormalizationTest.txt |
a֮ᷗ̀̕b␊a֮ᷗ̀̕b
|
23 B | |
| 007064 | unicode/part2/line 18292 NormalizationTest.txt |
à֮ᷘ̕b␊à֮ᷘ̕b␊à֮ᷘ̕b
|
34 B | |
| 007065 | unicode/part2/line 18293 NormalizationTest.txt |
a֮ᷘ̀̕b␊a֮ᷘ̀̕b
|
23 B | |
| 007066 | unicode/part2/line 18294 NormalizationTest.txt |
à֮ᷙ̕b␊à֮ᷙ̕b␊à֮ᷙ̕b
|
34 B | |
| 007067 | unicode/part2/line 18295 NormalizationTest.txt |
a֮ᷙ̀̕b␊a֮ᷙ̀̕b
|
23 B | |
| 007068 | unicode/part2/line 18296 NormalizationTest.txt |
à֮ᷚ̕b␊à֮ᷚ̕b␊à֮ᷚ̕b
|
34 B | |
| 007069 | unicode/part2/line 18297 NormalizationTest.txt |
a֮ᷚ̀̕b␊a֮ᷚ̀̕b
|
23 B | |
| 007070 | unicode/part2/line 18298 NormalizationTest.txt |
à֮ᷛ̕b␊à֮ᷛ̕b␊à֮ᷛ̕b
|
34 B | |
| 007071 | unicode/part2/line 18299 NormalizationTest.txt |
a֮ᷛ̀̕b␊a֮ᷛ̀̕b
|
23 B | |
| 007072 | unicode/part2/line 18300 NormalizationTest.txt |
à֮ᷜ̕b␊à֮ᷜ̕b␊à֮ᷜ̕b
|
34 B | |
| 007073 | unicode/part2/line 18301 NormalizationTest.txt |
a֮ᷜ̀̕b␊a֮ᷜ̀̕b
|
23 B | |
| 007074 | unicode/part2/line 18302 NormalizationTest.txt |
à֮ᷝ̕b␊à֮ᷝ̕b␊à֮ᷝ̕b
|
34 B | |
| 007075 | unicode/part2/line 18303 NormalizationTest.txt |
a֮ᷝ̀̕b␊a֮ᷝ̀̕b
|
23 B | |
| 007076 | unicode/part2/line 18304 NormalizationTest.txt |
à֮ᷞ̕b␊à֮ᷞ̕b␊à֮ᷞ̕b
|
34 B | |
| 007077 | unicode/part2/line 18305 NormalizationTest.txt |
a֮ᷞ̀̕b␊a֮ᷞ̀̕b
|
23 B | |
| 007078 | unicode/part2/line 18306 NormalizationTest.txt |
à֮ᷟ̕b␊à֮ᷟ̕b␊à֮ᷟ̕b
|
34 B | |
| 007079 | unicode/part2/line 18307 NormalizationTest.txt |
a֮ᷟ̀̕b␊a֮ᷟ̀̕b
|
23 B | |
| 007080 | unicode/part2/line 18308 NormalizationTest.txt |
à֮ᷠ̕b␊à֮ᷠ̕b␊à֮ᷠ̕b
|
34 B | |
| 007081 | unicode/part2/line 18309 NormalizationTest.txt |
a֮ᷠ̀̕b␊a֮ᷠ̀̕b
|
23 B | |
| 007082 | unicode/part2/line 18310 NormalizationTest.txt |
à֮ᷡ̕b␊à֮ᷡ̕b␊à֮ᷡ̕b
|
34 B | |
| 007083 | unicode/part2/line 18311 NormalizationTest.txt |
a֮ᷡ̀̕b␊a֮ᷡ̀̕b
|
23 B | |
| 007084 | unicode/part2/line 18312 NormalizationTest.txt |
à֮ᷢ̕b␊à֮ᷢ̕b␊à֮ᷢ̕b
|
34 B | |
| 007085 | unicode/part2/line 18313 NormalizationTest.txt |
a֮ᷢ̀̕b␊a֮ᷢ̀̕b
|
23 B | |
| 007086 | unicode/part2/line 18314 NormalizationTest.txt |
à֮ᷣ̕b␊à֮ᷣ̕b␊à֮ᷣ̕b
|
34 B | |
| 007087 | unicode/part2/line 18315 NormalizationTest.txt |
a֮ᷣ̀̕b␊a֮ᷣ̀̕b
|
23 B | |
| 007088 | unicode/part2/line 18316 NormalizationTest.txt |
à֮ᷤ̕b␊à֮ᷤ̕b␊à֮ᷤ̕b
|
34 B | |
| 007089 | unicode/part2/line 18317 NormalizationTest.txt |
a֮ᷤ̀̕b␊a֮ᷤ̀̕b
|
23 B | |
| 007090 | unicode/part2/line 18318 NormalizationTest.txt |
à֮ᷥ̕b␊à֮ᷥ̕b␊à֮ᷥ̕b
|
34 B | |
| 007091 | unicode/part2/line 18319 NormalizationTest.txt |
a֮ᷥ̀̕b␊a֮ᷥ̀̕b
|
23 B | |
| 007092 | unicode/part2/line 18320 NormalizationTest.txt |
à֮ᷦ̕b␊à֮ᷦ̕b␊à֮ᷦ̕b
|
34 B | |
| 007093 | unicode/part2/line 18321 NormalizationTest.txt |
a֮ᷦ̀̕b␊a֮ᷦ̀̕b
|
23 B | |
| 007094 | unicode/part2/line 18322 NormalizationTest.txt |
à֮ᷧ̕b␊à֮ᷧ̕b␊à֮ᷧ̕b
|
34 B | |
| 007095 | unicode/part2/line 18323 NormalizationTest.txt |
a֮ᷧ̀̕b␊a֮ᷧ̀̕b
|
23 B | |
| 007096 | unicode/part2/line 18324 NormalizationTest.txt |
à֮ᷨ̕b␊à֮ᷨ̕b␊à֮ᷨ̕b
|
34 B | |
| 007097 | unicode/part2/line 18325 NormalizationTest.txt |
a֮ᷨ̀̕b␊a֮ᷨ̀̕b
|
23 B | |
| 007098 | unicode/part2/line 18326 NormalizationTest.txt |
à֮ᷩ̕b␊à֮ᷩ̕b␊à֮ᷩ̕b
|
34 B | |
| 007099 | unicode/part2/line 18327 NormalizationTest.txt |
a֮ᷩ̀̕b␊a֮ᷩ̀̕b
|
23 B | |
| 007100 | unicode/part2/line 18328 NormalizationTest.txt |
à֮ᷪ̕b␊à֮ᷪ̕b␊à֮ᷪ̕b
|
34 B | |
| 007101 | unicode/part2/line 18329 NormalizationTest.txt |
a֮ᷪ̀̕b␊a֮ᷪ̀̕b
|
23 B | |
| 007102 | unicode/part2/line 18330 NormalizationTest.txt |
à֮ᷫ̕b␊à֮ᷫ̕b␊à֮ᷫ̕b
|
34 B | |
| 007103 | unicode/part2/line 18331 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