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
5,928 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 005245 | unicode/part1/U+1EEA6 NormalizationTest.txt |
๐บฆโุฒ
|
7 B | |
| 005246 | unicode/part1/U+1EEA7 NormalizationTest.txt |
๐บงโุญ
|
7 B | |
| 005247 | unicode/part1/U+1EEA8 NormalizationTest.txt |
๐บจโุท
|
7 B | |
| 005248 | unicode/part1/U+1EEA9 NormalizationTest.txt |
๐บฉโู
|
7 B | |
| 005249 | unicode/part1/U+1EEAB NormalizationTest.txt |
๐บซโู
|
7 B | |
| 005250 | unicode/part1/U+1EEAC NormalizationTest.txt |
๐บฌโู
|
7 B | |
| 005251 | unicode/part1/U+1EEAD NormalizationTest.txt |
๐บญโู
|
7 B | |
| 005252 | unicode/part1/U+1EEAE NormalizationTest.txt |
๐บฎโุณ
|
7 B | |
| 005253 | unicode/part1/U+1EEAF NormalizationTest.txt |
๐บฏโุน
|
7 B | |
| 005254 | unicode/part1/U+1EEB0 NormalizationTest.txt |
๐บฐโู
|
7 B | |
| 005255 | unicode/part1/U+1EEB1 NormalizationTest.txt |
๐บฑโุต
|
7 B | |
| 005256 | unicode/part1/U+1EEB2 NormalizationTest.txt |
๐บฒโู
|
7 B | |
| 005257 | unicode/part1/U+1EEB3 NormalizationTest.txt |
๐บณโุฑ
|
7 B | |
| 005258 | unicode/part1/U+1EEB4 NormalizationTest.txt |
๐บดโุด
|
7 B | |
| 005259 | unicode/part1/U+1EEB5 NormalizationTest.txt |
๐บตโุช
|
7 B | |
| 005260 | unicode/part1/U+1EEB6 NormalizationTest.txt |
๐บถโุซ
|
7 B | |
| 005261 | unicode/part1/U+1EEB7 NormalizationTest.txt |
๐บทโุฎ
|
7 B | |
| 005262 | unicode/part1/U+1EEB8 NormalizationTest.txt |
๐บธโุฐ
|
7 B | |
| 005263 | unicode/part1/U+1EEB9 NormalizationTest.txt |
๐บนโุถ
|
7 B | |
| 005264 | unicode/part1/U+1EEBA NormalizationTest.txt |
๐บบโุธ
|
7 B | |
| 005265 | unicode/part1/U+1EEBB NormalizationTest.txt |
๐บปโุบ
|
7 B | |
| 005266 | unicode/part1/U+1F100 NormalizationTest.txt |
๐โ0.
|
7 B | |
| 005267 | unicode/part1/U+1F101 NormalizationTest.txt |
๐โ0,
|
7 B | |
| 005268 | unicode/part1/U+1F102 NormalizationTest.txt |
๐โ1,
|
7 B | |
| 005269 | unicode/part1/U+1F103 NormalizationTest.txt |
๐โ2,
|
7 B | |
| 005270 | unicode/part1/U+1F104 NormalizationTest.txt |
๐โ3,
|
7 B | |
| 005271 | unicode/part1/U+1F105 NormalizationTest.txt |
๐
โ4,
|
7 B | |
| 005272 | unicode/part1/U+1F106 NormalizationTest.txt |
๐โ5,
|
7 B | |
| 005273 | unicode/part1/U+1F107 NormalizationTest.txt |
๐โ6,
|
7 B | |
| 005274 | unicode/part1/U+1F108 NormalizationTest.txt |
๐โ7,
|
7 B | |
| 005275 | unicode/part1/U+1F109 NormalizationTest.txt |
๐โ8,
|
7 B | |
| 005276 | unicode/part1/U+1F10A NormalizationTest.txt |
๐โ9,
|
7 B | |
| 005277 | unicode/part1/U+1F110 NormalizationTest.txt |
๐โ(A)
|
8 B | |
| 005278 | unicode/part1/U+1F111 NormalizationTest.txt |
๐โ(B)
|
8 B | |
| 005279 | unicode/part1/U+1F112 NormalizationTest.txt |
๐โ(C)
|
8 B | |
| 005280 | unicode/part1/U+1F113 NormalizationTest.txt |
๐โ(D)
|
8 B | |
| 005281 | unicode/part1/U+1F114 NormalizationTest.txt |
๐โ(E)
|
8 B | |
| 005282 | unicode/part1/U+1F115 NormalizationTest.txt |
๐โ(F)
|
8 B | |
| 005283 | unicode/part1/U+1F116 NormalizationTest.txt |
๐โ(G)
|
8 B | |
| 005284 | unicode/part1/U+1F117 NormalizationTest.txt |
๐โ(H)
|
8 B | |
| 005285 | unicode/part1/U+1F118 NormalizationTest.txt |
๐โ(I)
|
8 B | |
| 005286 | unicode/part1/U+1F119 NormalizationTest.txt |
๐โ(J)
|
8 B | |
| 005287 | unicode/part1/U+1F11A NormalizationTest.txt |
๐โ(K)
|
8 B | |
| 005288 | unicode/part1/U+1F11B NormalizationTest.txt |
๐โ(L)
|
8 B | |
| 005289 | unicode/part1/U+1F11C NormalizationTest.txt |
๐โ(M)
|
8 B | |
| 005290 | unicode/part1/U+1F11D NormalizationTest.txt |
๐โ(N)
|
8 B | |
| 005291 | unicode/part1/U+1F11E NormalizationTest.txt |
๐โ(O)
|
8 B | |
| 005292 | unicode/part1/U+1F11F NormalizationTest.txt |
๐โ(P)
|
8 B | |
| 005293 | unicode/part1/U+1F120 NormalizationTest.txt |
๐ โ(Q)
|
8 B | |
| 005294 | unicode/part1/U+1F121 NormalizationTest.txt |
๐กโ(R)
|
8 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