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 |
|---|---|---|---|---|
| 000608 | unicode/part1/U+1DA6 NormalizationTest.txt |
ᶦ␊ɪ
|
6 B | |
| 000609 | unicode/part1/U+1DA7 NormalizationTest.txt |
ᶧ␊ᵻ
|
7 B | |
| 000610 | unicode/part1/U+1DA8 NormalizationTest.txt |
ᶨ␊ʝ
|
6 B | |
| 000611 | unicode/part1/U+1DA9 NormalizationTest.txt |
ᶩ␊ɭ
|
6 B | |
| 000612 | unicode/part1/U+1DAA NormalizationTest.txt |
ᶪ␊ᶅ
|
7 B | |
| 000613 | unicode/part1/U+1DAB NormalizationTest.txt |
ᶫ␊ʟ
|
6 B | |
| 000614 | unicode/part1/U+1DAC NormalizationTest.txt |
ᶬ␊ɱ
|
6 B | |
| 000615 | unicode/part1/U+1DAD NormalizationTest.txt |
ᶭ␊ɰ
|
6 B | |
| 000616 | unicode/part1/U+1DAE NormalizationTest.txt |
ᶮ␊ɲ
|
6 B | |
| 000617 | unicode/part1/U+1DAF NormalizationTest.txt |
ᶯ␊ɳ
|
6 B | |
| 000618 | unicode/part1/U+1DB0 NormalizationTest.txt |
ᶰ␊ɴ
|
6 B | |
| 000619 | unicode/part1/U+1DB1 NormalizationTest.txt |
ᶱ␊ɵ
|
6 B | |
| 000620 | unicode/part1/U+1DB2 NormalizationTest.txt |
ᶲ␊ɸ
|
6 B | |
| 000621 | unicode/part1/U+1DB3 NormalizationTest.txt |
ᶳ␊ʂ
|
6 B | |
| 000622 | unicode/part1/U+1DB4 NormalizationTest.txt |
ᶴ␊ʃ
|
6 B | |
| 000623 | unicode/part1/U+1DB5 NormalizationTest.txt |
ᶵ␊ƫ
|
6 B | |
| 000624 | unicode/part1/U+1DB6 NormalizationTest.txt |
ᶶ␊ʉ
|
6 B | |
| 000625 | unicode/part1/U+1DB7 NormalizationTest.txt |
ᶷ␊ʊ
|
6 B | |
| 000626 | unicode/part1/U+1DB8 NormalizationTest.txt |
ᶸ␊ᴜ
|
7 B | |
| 000627 | unicode/part1/U+1DB9 NormalizationTest.txt |
ᶹ␊ʋ
|
6 B | |
| 000628 | unicode/part1/U+1DBA NormalizationTest.txt |
ᶺ␊ʌ
|
6 B | |
| 000629 | unicode/part1/U+1DBB NormalizationTest.txt |
ᶻ␊z
|
5 B | |
| 000630 | unicode/part1/U+1DBC NormalizationTest.txt |
ᶼ␊ʐ
|
6 B | |
| 000631 | unicode/part1/U+1DBD NormalizationTest.txt |
ᶽ␊ʑ
|
6 B | |
| 000632 | unicode/part1/U+1DBE NormalizationTest.txt |
ᶾ␊ʒ
|
6 B | |
| 000633 | unicode/part1/U+1DBF NormalizationTest.txt |
ᶿ␊θ
|
6 B | |
| 000785 | unicode/part1/U+1E9A NormalizationTest.txt |
ẚ␊aʾ
|
7 B | |
| 001051 | unicode/part1/U+1FBD NormalizationTest.txt |
᾽␊ ̓
|
7 B | |
| 001053 | unicode/part1/U+1FBF NormalizationTest.txt |
᾿␊ ̓
|
7 B | |
| 001054 | unicode/part1/U+1FC0 NormalizationTest.txt |
῀␊ ͂
|
7 B | |
| 001109 | unicode/part1/U+1FFE NormalizationTest.txt |
῾␊ ̔
|
7 B | |
| 001112 | unicode/part1/U+2002 NormalizationTest.txt |
␊
|
5 B | |
| 001113 | unicode/part1/U+2003 NormalizationTest.txt |
␊
|
5 B | |
| 001114 | unicode/part1/U+2004 NormalizationTest.txt |
␊
|
5 B | |
| 001115 | unicode/part1/U+2005 NormalizationTest.txt |
␊
|
5 B | |
| 001116 | unicode/part1/U+2006 NormalizationTest.txt |
␊
|
5 B | |
| 001117 | unicode/part1/U+2007 NormalizationTest.txt |
␊
|
5 B | |
| 001118 | unicode/part1/U+2008 NormalizationTest.txt |
␊
|
5 B | |
| 001119 | unicode/part1/U+2009 NormalizationTest.txt |
␊
|
5 B | |
| 001120 | unicode/part1/U+200A NormalizationTest.txt |
␊
|
5 B | |
| 001121 | unicode/part1/U+2011 NormalizationTest.txt |
‑␊‐
|
7 B | |
| 001122 | unicode/part1/U+2017 NormalizationTest.txt |
‗␊ ̳
|
7 B | |
| 001123 | unicode/part1/U+2024 NormalizationTest.txt |
․␊.
|
5 B | |
| 001124 | unicode/part1/U+2025 NormalizationTest.txt |
‥␊..
|
6 B | |
| 001125 | unicode/part1/U+2026 NormalizationTest.txt |
…␊...
|
7 B | |
| 001126 | unicode/part1/U+202F NormalizationTest.txt |
␊
|
5 B | |
| 001127 | unicode/part1/U+2033 NormalizationTest.txt |
″␊′′
|
10 B | |
| 001128 | unicode/part1/U+2034 NormalizationTest.txt |
‴␊′′′
|
13 B | |
| 001129 | unicode/part1/U+2036 NormalizationTest.txt |
‶␊‵‵
|
10 B | |
| 001130 | unicode/part1/U+2037 NormalizationTest.txt |
‷␊‵‵‵
|
13 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