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 |
|---|---|---|---|---|
| 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 | |
| 005400 | unicode/part1/U+1F250 NormalizationTest.txt |
๐โๅพ
|
8 B | |
| 005401 | unicode/part1/U+1F251 NormalizationTest.txt |
๐โๅฏ
|
8 B | |
| 005402 | unicode/part1/U+1FBF0 NormalizationTest.txt |
๐ฏฐโ0
|
6 B | |
| 005403 | unicode/part1/U+1FBF1 NormalizationTest.txt |
๐ฏฑโ1
|
6 B | |
| 005404 | unicode/part1/U+1FBF2 NormalizationTest.txt |
๐ฏฒโ2
|
6 B | |
| 005405 | unicode/part1/U+1FBF3 NormalizationTest.txt |
๐ฏณโ3
|
6 B | |
| 005406 | unicode/part1/U+1FBF4 NormalizationTest.txt |
๐ฏดโ4
|
6 B | |
| 005407 | unicode/part1/U+1FBF5 NormalizationTest.txt |
๐ฏตโ5
|
6 B | |
| 005408 | unicode/part1/U+1FBF6 NormalizationTest.txt |
๐ฏถโ6
|
6 B | |
| 005409 | unicode/part1/U+1FBF7 NormalizationTest.txt |
๐ฏทโ7
|
6 B | |
| 005410 | unicode/part1/U+1FBF8 NormalizationTest.txt |
๐ฏธโ8
|
6 B | |
| 005411 | unicode/part1/U+1FBF9 NormalizationTest.txt |
๐ฏนโ9
|
6 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