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 |
|---|---|---|---|---|
| 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 | |
| 005379 | unicode/part1/U+1F230 NormalizationTest.txt |
๐ฐโ่ตฐ
|
8 B | |
| 005380 | unicode/part1/U+1F231 NormalizationTest.txt |
๐ฑโๆ
|
8 B | |
| 005381 | unicode/part1/U+1F232 NormalizationTest.txt |
๐ฒโ็ฆ
|
8 B | |
| 005382 | unicode/part1/U+1F233 NormalizationTest.txt |
๐ณโ็ฉบ
|
8 B | |
| 005383 | unicode/part1/U+1F234 NormalizationTest.txt |
๐ดโๅ
|
8 B | |
| 005384 | unicode/part1/U+1F235 NormalizationTest.txt |
๐ตโๆบ
|
8 B | |
| 005385 | unicode/part1/U+1F236 NormalizationTest.txt |
๐ถโๆ
|
8 B | |
| 005386 | unicode/part1/U+1F237 NormalizationTest.txt |
๐ทโๆ
|
8 B | |
| 005387 | unicode/part1/U+1F238 NormalizationTest.txt |
๐ธโ็ณ
|
8 B | |
| 005388 | unicode/part1/U+1F239 NormalizationTest.txt |
๐นโๅฒ
|
8 B | |
| 005389 | unicode/part1/U+1F23A NormalizationTest.txt |
๐บโๅถ
|
8 B | |
| 005390 | unicode/part1/U+1F23B NormalizationTest.txt |
๐ปโ้
|
8 B | |
| 005391 | unicode/part1/U+1F240 NormalizationTest.txt |
๐โใๆฌใ
|
14 B | |
| 005392 | unicode/part1/U+1F241 NormalizationTest.txt |
๐โใไธใ
|
14 B | |
| 005393 | unicode/part1/U+1F242 NormalizationTest.txt |
๐โใไบใ
|
14 B | |
| 005394 | unicode/part1/U+1F243 NormalizationTest.txt |
๐โใๅฎใ
|
14 B | |
| 005395 | unicode/part1/U+1F244 NormalizationTest.txt |
๐โใ็นใ
|
14 B | |
| 005396 | unicode/part1/U+1F245 NormalizationTest.txt |
๐
โใๆใ
|
14 B | |
| 005397 | unicode/part1/U+1F246 NormalizationTest.txt |
๐โใ็ใ
|
14 B | |
| 005398 | unicode/part1/U+1F247 NormalizationTest.txt |
๐โใๅใ
|
14 B | |
| 005399 | unicode/part1/U+1F248 NormalizationTest.txt |
๐โใๆใ
|
14 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