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 |
|---|---|---|---|---|
| 001195 | unicode/part1/U+2110 NormalizationTest.txt |
ℐ␊I
|
5 B | |
| 001196 | unicode/part1/U+2111 NormalizationTest.txt |
ℑ␊I
|
5 B | |
| 001197 | unicode/part1/U+2112 NormalizationTest.txt |
ℒ␊L
|
5 B | |
| 001198 | unicode/part1/U+2113 NormalizationTest.txt |
ℓ␊l
|
5 B | |
| 001199 | unicode/part1/U+2115 NormalizationTest.txt |
ℕ␊N
|
5 B | |
| 001200 | unicode/part1/U+2116 NormalizationTest.txt |
№␊No
|
6 B | |
| 001201 | unicode/part1/U+2119 NormalizationTest.txt |
ℙ␊P
|
5 B | |
| 001202 | unicode/part1/U+211A NormalizationTest.txt |
ℚ␊Q
|
5 B | |
| 001203 | unicode/part1/U+211B NormalizationTest.txt |
ℛ␊R
|
5 B | |
| 001204 | unicode/part1/U+211C NormalizationTest.txt |
ℜ␊R
|
5 B | |
| 001205 | unicode/part1/U+211D NormalizationTest.txt |
ℝ␊R
|
5 B | |
| 001206 | unicode/part1/U+2120 NormalizationTest.txt |
℠␊SM
|
6 B | |
| 001207 | unicode/part1/U+2121 NormalizationTest.txt |
℡␊TEL
|
7 B | |
| 001208 | unicode/part1/U+2122 NormalizationTest.txt |
™␊TM
|
6 B | |
| 001209 | unicode/part1/U+2124 NormalizationTest.txt |
ℤ␊Z
|
5 B | |
| 001210 | unicode/part1/U+2126 NormalizationTest.txt |
Ω␊Ω
|
6 B | |
| 001211 | unicode/part1/U+2128 NormalizationTest.txt |
ℨ␊Z
|
5 B | |
| 001212 | unicode/part1/U+212A NormalizationTest.txt |
K␊K
|
5 B | |
| 001213 | unicode/part1/U+212B NormalizationTest.txt |
Å␊Å␊Å
|
10 B | |
| 001214 | unicode/part1/U+212C NormalizationTest.txt |
ℬ␊B
|
5 B | |
| 001215 | unicode/part1/U+212D NormalizationTest.txt |
ℭ␊C
|
5 B | |
| 001216 | unicode/part1/U+212F NormalizationTest.txt |
ℯ␊e
|
5 B | |
| 001217 | unicode/part1/U+2130 NormalizationTest.txt |
ℰ␊E
|
5 B | |
| 001218 | unicode/part1/U+2131 NormalizationTest.txt |
ℱ␊F
|
5 B | |
| 001219 | unicode/part1/U+2133 NormalizationTest.txt |
ℳ␊M
|
5 B | |
| 001220 | unicode/part1/U+2134 NormalizationTest.txt |
ℴ␊o
|
5 B | |
| 001221 | unicode/part1/U+2135 NormalizationTest.txt |
ℵ␊א
|
6 B | |
| 001222 | unicode/part1/U+2136 NormalizationTest.txt |
ℶ␊ב
|
6 B | |
| 001223 | unicode/part1/U+2137 NormalizationTest.txt |
ℷ␊ג
|
6 B | |
| 001224 | unicode/part1/U+2138 NormalizationTest.txt |
ℸ␊ד
|
6 B | |
| 001225 | unicode/part1/U+2139 NormalizationTest.txt |
ℹ␊i
|
5 B | |
| 001226 | unicode/part1/U+213B NormalizationTest.txt |
℻␊FAX
|
7 B | |
| 001227 | unicode/part1/U+213C NormalizationTest.txt |
ℼ␊π
|
6 B | |
| 001228 | unicode/part1/U+213D NormalizationTest.txt |
ℽ␊γ
|
6 B | |
| 001229 | unicode/part1/U+213E NormalizationTest.txt |
ℾ␊Γ
|
6 B | |
| 001230 | unicode/part1/U+213F NormalizationTest.txt |
ℿ␊Π
|
6 B | |
| 001231 | unicode/part1/U+2140 NormalizationTest.txt |
⅀␊∑
|
7 B | |
| 001232 | unicode/part1/U+2145 NormalizationTest.txt |
ⅅ␊D
|
5 B | |
| 001233 | unicode/part1/U+2146 NormalizationTest.txt |
ⅆ␊d
|
5 B | |
| 001234 | unicode/part1/U+2147 NormalizationTest.txt |
ⅇ␊e
|
5 B | |
| 001235 | unicode/part1/U+2148 NormalizationTest.txt |
ⅈ␊i
|
5 B | |
| 001236 | unicode/part1/U+2149 NormalizationTest.txt |
ⅉ␊j
|
5 B | |
| 001237 | unicode/part1/U+2150 NormalizationTest.txt |
⅐␊1⁄7
|
9 B | |
| 001238 | unicode/part1/U+2151 NormalizationTest.txt |
⅑␊1⁄9
|
9 B | |
| 001239 | unicode/part1/U+2152 NormalizationTest.txt |
⅒␊1⁄10
|
10 B | |
| 001240 | unicode/part1/U+2153 NormalizationTest.txt |
⅓␊1⁄3
|
9 B | |
| 001241 | unicode/part1/U+2154 NormalizationTest.txt |
⅔␊2⁄3
|
9 B | |
| 001242 | unicode/part1/U+2155 NormalizationTest.txt |
⅕␊1⁄5
|
9 B | |
| 001243 | unicode/part1/U+2156 NormalizationTest.txt |
⅖␊2⁄5
|
9 B | |
| 001244 | unicode/part1/U+2157 NormalizationTest.txt |
⅗␊3⁄5
|
9 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