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 |
|---|---|---|---|---|
| 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 | |
| 005412 | unicode/part1/U+2F800 NormalizationTest.txt |
ไธฝโไธฝ
|
8 B | |
| 005413 | unicode/part1/U+2F801 NormalizationTest.txt |
ไธธโไธธ
|
8 B | |
| 005414 | unicode/part1/U+2F802 NormalizationTest.txt |
ไนโไน
|
8 B | |
| 005415 | unicode/part1/U+2F803 NormalizationTest.txt |
๐ ขโ๐ ข
|
9 B | |
| 005416 | unicode/part1/U+2F804 NormalizationTest.txt |
ไฝ โไฝ
|
8 B | |
| 005417 | unicode/part1/U+2F805 NormalizationTest.txt |
ไพฎโไพฎ
|
8 B | |
| 005418 | unicode/part1/U+2F806 NormalizationTest.txt |
ไพปโไพป
|
8 B | |
| 005419 | unicode/part1/U+2F807 NormalizationTest.txt |
ๅโๅ
|
8 B | |
| 005420 | unicode/part1/U+2F808 NormalizationTest.txt |
ๅบโๅบ
|
8 B | |
| 005421 | unicode/part1/U+2F809 NormalizationTest.txt |
ๅโๅ
|
8 B | |
| 005422 | unicode/part1/U+2F80A NormalizationTest.txt |
ๅงโๅง
|
8 B | |
| 005423 | unicode/part1/U+2F80B NormalizationTest.txt |
ๅโๅ
|
8 B | |
| 005424 | unicode/part1/U+2F80C NormalizationTest.txt |
ใโใ
|
8 B | |
| 005425 | unicode/part1/U+2F80D NormalizationTest.txt |
๐ บโ๐ บ
|
9 B | |
| 005426 | unicode/part1/U+2F80E NormalizationTest.txt |
ๅ
โๅ
|
8 B | |
| 005427 | unicode/part1/U+2F80F NormalizationTest.txt |
ๅ
โๅ
|
8 B | |
| 005428 | unicode/part1/U+2F810 NormalizationTest.txt |
ๅ
คโๅ
ค
|
8 B | |
| 005429 | unicode/part1/U+2F811 NormalizationTest.txt |
ๅ
ทโๅ
ท
|
8 B | |
| 005430 | unicode/part1/U+2F812 NormalizationTest.txt |
๐ โ๐
|
9 B | |
| 005431 | unicode/part1/U+2F813 NormalizationTest.txt |
ในโใน
|
8 B | |
| 005432 | unicode/part1/U+2F814 NormalizationTest.txt |
ๅ
งโๅ
ง
|
8 B | |
| 005433 | unicode/part1/U+2F815 NormalizationTest.txt |
ๅโๅ
|
8 B | |
| 005434 | unicode/part1/U+2F816 NormalizationTest.txt |
๐ โ๐
|
9 B | |
| 005435 | unicode/part1/U+2F817 NormalizationTest.txt |
ๅโๅ
|
8 B | |
| 005436 | unicode/part1/U+2F818 NormalizationTest.txt |
ๅคโๅค
|
8 B | |
| 005437 | unicode/part1/U+2F819 NormalizationTest.txt |
ไปโไป
|
8 B | |
| 005438 | unicode/part1/U+2F81A NormalizationTest.txt |
ๅฌโๅฌ
|
8 B | |
| 005439 | unicode/part1/U+2F81B NormalizationTest.txt |
ๅตโๅต
|
8 B | |
| 005440 | unicode/part1/U+2F81C NormalizationTest.txt |
๐ฉโ๐ฉ
|
9 B | |
| 005441 | unicode/part1/U+2F81D NormalizationTest.txt |
ๅตโๅต
|
8 B | |
| 005442 | unicode/part1/U+2F81E NormalizationTest.txt |
ๅโๅ
|
8 B | |
| 005443 | unicode/part1/U+2F81F NormalizationTest.txt |
ใโใ
|
8 B | |
| 005444 | unicode/part1/U+2F820 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