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
3,833 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 005329 | unicode/part1/U+1F145 NormalizationTest.txt |
๐
โV
|
6 B | |
| 005330 | unicode/part1/U+1F146 NormalizationTest.txt |
๐
โW
|
6 B | |
| 005331 | unicode/part1/U+1F147 NormalizationTest.txt |
๐
โX
|
6 B | |
| 005332 | unicode/part1/U+1F148 NormalizationTest.txt |
๐
โY
|
6 B | |
| 005333 | unicode/part1/U+1F149 NormalizationTest.txt |
๐
โZ
|
6 B | |
| 005334 | unicode/part1/U+1F14A NormalizationTest.txt |
๐
โHV
|
7 B | |
| 005335 | unicode/part1/U+1F14B NormalizationTest.txt |
๐
โMV
|
7 B | |
| 005336 | unicode/part1/U+1F14C NormalizationTest.txt |
๐
โSD
|
7 B | |
| 005337 | unicode/part1/U+1F14D NormalizationTest.txt |
๐
โSS
|
7 B | |
| 005338 | unicode/part1/U+1F14E NormalizationTest.txt |
๐
โPPV
|
8 B | |
| 005339 | unicode/part1/U+1F14F NormalizationTest.txt |
๐
โWC
|
7 B | |
| 005340 | unicode/part1/U+1F16A NormalizationTest.txt |
๐
ชโMC
|
7 B | |
| 005341 | unicode/part1/U+1F16B NormalizationTest.txt |
๐
ซโMD
|
7 B | |
| 005342 | unicode/part1/U+1F16C NormalizationTest.txt |
๐
ฌโMR
|
7 B | |
| 005343 | unicode/part1/U+1F190 NormalizationTest.txt |
๐โDJ
|
7 B | |
| 005344 | unicode/part1/U+1F200 NormalizationTest.txt |
๐โใปใ
|
11 B | |
| 005345 | unicode/part1/U+1F201 NormalizationTest.txt |
๐โใณใณ
|
11 B | |
| 005346 | unicode/part1/U+1F202 NormalizationTest.txt |
๐โใต
|
8 B | |
| 005347 | unicode/part1/U+1F210 NormalizationTest.txt |
๐โๆ
|
8 B | |
| 005348 | unicode/part1/U+1F211 NormalizationTest.txt |
๐โๅญ
|
8 B | |
| 005349 | unicode/part1/U+1F212 NormalizationTest.txt |
๐โๅ
|
8 B | |
| 005350 | unicode/part1/U+1F213 NormalizationTest.txt |
๐โใโใ
|
15 B | |
| 005351 | unicode/part1/U+1F214 NormalizationTest.txt |
๐โไบ
|
8 B | |
| 005352 | unicode/part1/U+1F215 NormalizationTest.txt |
๐โๅค
|
8 B | |
| 005353 | unicode/part1/U+1F216 NormalizationTest.txt |
๐โ่งฃ
|
8 B | |
| 005354 | unicode/part1/U+1F217 NormalizationTest.txt |
๐โๅคฉ
|
8 B | |
| 005355 | unicode/part1/U+1F218 NormalizationTest.txt |
๐โไบค
|
8 B | |
| 005356 | unicode/part1/U+1F219 NormalizationTest.txt |
๐โๆ
|
8 B | |
| 005357 | unicode/part1/U+1F21A NormalizationTest.txt |
๐โ็ก
|
8 B | |
| 005358 | unicode/part1/U+1F21B NormalizationTest.txt |
๐โๆ
|
8 B | |
| 005359 | unicode/part1/U+1F21C NormalizationTest.txt |
๐โๅ
|
8 B | |
| 005360 | unicode/part1/U+1F21D NormalizationTest.txt |
๐โๅพ
|
8 B | |
| 005361 | unicode/part1/U+1F21E NormalizationTest.txt |
๐โๅ
|
8 B | |
| 005362 | unicode/part1/U+1F21F NormalizationTest.txt |
๐โๆฐ
|
8 B | |
| 005363 | unicode/part1/U+1F220 NormalizationTest.txt |
๐ โๅ
|
8 B | |
| 005364 | unicode/part1/U+1F221 NormalizationTest.txt |
๐กโ็ต
|
8 B | |
| 005365 | unicode/part1/U+1F222 NormalizationTest.txt |
๐ขโ็
|
8 B | |
| 005366 | unicode/part1/U+1F223 NormalizationTest.txt |
๐ฃโ่ฒฉ
|
8 B | |
| 005367 | unicode/part1/U+1F224 NormalizationTest.txt |
๐คโๅฃฐ
|
8 B | |
| 005368 | unicode/part1/U+1F225 NormalizationTest.txt |
๐ฅโๅน
|
8 B | |
| 005369 | unicode/part1/U+1F226 NormalizationTest.txt |
๐ฆโๆผ
|
8 B | |
| 005370 | unicode/part1/U+1F227 NormalizationTest.txt |
๐งโๆ
|
8 B | |
| 005371 | unicode/part1/U+1F228 NormalizationTest.txt |
๐จโๆ
|
8 B | |
| 005372 | unicode/part1/U+1F229 NormalizationTest.txt |
๐ฉโไธ
|
8 B | |
| 005373 | unicode/part1/U+1F22A NormalizationTest.txt |
๐ชโไธ
|
8 B | |
| 005374 | unicode/part1/U+1F22B NormalizationTest.txt |
๐ซโ้
|
8 B | |
| 005375 | unicode/part1/U+1F22C NormalizationTest.txt |
๐ฌโๅทฆ
|
8 B | |
| 005376 | unicode/part1/U+1F22D NormalizationTest.txt |
๐ญโไธญ
|
8 B | |
| 005377 | unicode/part1/U+1F22E NormalizationTest.txt |
๐ฎโๅณ
|
8 B | |
| 005378 | unicode/part1/U+1F22F NormalizationTest.txt |
๐ฏโๆ
|
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