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 |
|---|---|---|---|---|
| 001181 | unicode/part1/U+2100 NormalizationTest.txt |
℀␊a/c
|
7 B | |
| 001182 | unicode/part1/U+2101 NormalizationTest.txt |
℁␊a/s
|
7 B | |
| 001183 | unicode/part1/U+2102 NormalizationTest.txt |
ℂ␊C
|
5 B | |
| 001184 | unicode/part1/U+2103 NormalizationTest.txt |
℃␊°C
|
7 B | |
| 001185 | unicode/part1/U+2105 NormalizationTest.txt |
℅␊c/o
|
7 B | |
| 001186 | unicode/part1/U+2106 NormalizationTest.txt |
℆␊c/u
|
7 B | |
| 001187 | unicode/part1/U+2107 NormalizationTest.txt |
ℇ␊Ɛ
|
6 B | |
| 001188 | unicode/part1/U+2109 NormalizationTest.txt |
℉␊°F
|
7 B | |
| 001189 | unicode/part1/U+210A NormalizationTest.txt |
ℊ␊g
|
5 B | |
| 001190 | unicode/part1/U+210B NormalizationTest.txt |
ℋ␊H
|
5 B | |
| 001191 | unicode/part1/U+210C NormalizationTest.txt |
ℌ␊H
|
5 B | |
| 001192 | unicode/part1/U+210D NormalizationTest.txt |
ℍ␊H
|
5 B | |
| 001193 | unicode/part1/U+210E NormalizationTest.txt |
ℎ␊h
|
5 B | |
| 001194 | unicode/part1/U+210F NormalizationTest.txt |
ℏ␊ħ
|
6 B | |
| 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 | |
| 001211 | unicode/part1/U+2128 NormalizationTest.txt |
ℨ␊Z
|
5 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 |
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