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
956 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 001081 | unicode/part1/U+1FDF NormalizationTest.txt |
῟␊῟␊ ̔͂
|
15 B | |
| 001082 | unicode/part1/U+1FE0 NormalizationTest.txt |
ῠ␊ῠ
|
8 B | |
| 001083 | unicode/part1/U+1FE1 NormalizationTest.txt |
ῡ␊ῡ
|
8 B | |
| 001084 | unicode/part1/U+1FE2 NormalizationTest.txt |
ῢ␊ῢ
|
10 B | |
| 001086 | unicode/part1/U+1FE4 NormalizationTest.txt |
ῤ␊ῤ
|
8 B | |
| 001087 | unicode/part1/U+1FE5 NormalizationTest.txt |
ῥ␊ῥ
|
8 B | |
| 001088 | unicode/part1/U+1FE6 NormalizationTest.txt |
ῦ␊ῦ
|
8 B | |
| 001089 | unicode/part1/U+1FE7 NormalizationTest.txt |
ῧ␊ῧ
|
10 B | |
| 001090 | unicode/part1/U+1FE8 NormalizationTest.txt |
Ῠ␊Ῠ
|
8 B | |
| 001091 | unicode/part1/U+1FE9 NormalizationTest.txt |
Ῡ␊Ῡ
|
8 B | |
| 001092 | unicode/part1/U+1FEA NormalizationTest.txt |
Ὺ␊Ὺ
|
8 B | |
| 001094 | unicode/part1/U+1FEC NormalizationTest.txt |
Ῥ␊Ῥ
|
8 B | |
| 001095 | unicode/part1/U+1FED NormalizationTest.txt |
῭␊῭␊ ̈̀
|
14 B | |
| 001098 | unicode/part1/U+1FF2 NormalizationTest.txt |
ῲ␊ῲ
|
10 B | |
| 001099 | unicode/part1/U+1FF3 NormalizationTest.txt |
ῳ␊ῳ
|
8 B | |
| 001100 | unicode/part1/U+1FF4 NormalizationTest.txt |
ῴ␊ῴ
|
10 B | |
| 001101 | unicode/part1/U+1FF6 NormalizationTest.txt |
ῶ␊ῶ
|
8 B | |
| 001102 | unicode/part1/U+1FF7 NormalizationTest.txt |
ῷ␊ῷ
|
10 B | |
| 001103 | unicode/part1/U+1FF8 NormalizationTest.txt |
Ὸ␊Ὸ
|
8 B | |
| 001105 | unicode/part1/U+1FFA NormalizationTest.txt |
Ὼ␊Ὼ
|
8 B | |
| 001107 | unicode/part1/U+1FFC NormalizationTest.txt |
ῼ␊ῼ
|
8 B | |
| 001286 | unicode/part1/U+219A NormalizationTest.txt |
↚␊↚
|
9 B | |
| 001287 | unicode/part1/U+219B NormalizationTest.txt |
↛␊↛
|
9 B | |
| 001288 | unicode/part1/U+21AE NormalizationTest.txt |
↮␊↮
|
9 B | |
| 001289 | unicode/part1/U+21CD NormalizationTest.txt |
⇍␊⇍
|
9 B | |
| 001290 | unicode/part1/U+21CE NormalizationTest.txt |
⇎␊⇎
|
9 B | |
| 001291 | unicode/part1/U+21CF NormalizationTest.txt |
⇏␊⇏
|
9 B | |
| 001292 | unicode/part1/U+2204 NormalizationTest.txt |
∄␊∄
|
9 B | |
| 001293 | unicode/part1/U+2209 NormalizationTest.txt |
∉␊∉
|
9 B | |
| 001294 | unicode/part1/U+220C NormalizationTest.txt |
∌␊∌
|
9 B | |
| 001295 | unicode/part1/U+2224 NormalizationTest.txt |
∤␊∤
|
9 B | |
| 001296 | unicode/part1/U+2226 NormalizationTest.txt |
∦␊∦
|
9 B | |
| 001301 | unicode/part1/U+2241 NormalizationTest.txt |
≁␊≁
|
9 B | |
| 001302 | unicode/part1/U+2244 NormalizationTest.txt |
≄␊≄
|
9 B | |
| 001303 | unicode/part1/U+2247 NormalizationTest.txt |
≇␊≇
|
9 B | |
| 001304 | unicode/part1/U+2249 NormalizationTest.txt |
≉␊≉
|
9 B | |
| 001305 | unicode/part1/U+2260 NormalizationTest.txt |
≠␊≠
|
7 B | |
| 001306 | unicode/part1/U+2262 NormalizationTest.txt |
≢␊≢
|
9 B | |
| 001307 | unicode/part1/U+226D NormalizationTest.txt |
≭␊≭
|
9 B | |
| 001308 | unicode/part1/U+226E NormalizationTest.txt |
≮␊≮
|
7 B | |
| 001309 | unicode/part1/U+226F NormalizationTest.txt |
≯␊≯
|
7 B | |
| 001310 | unicode/part1/U+2270 NormalizationTest.txt |
≰␊≰
|
9 B | |
| 001311 | unicode/part1/U+2271 NormalizationTest.txt |
≱␊≱
|
9 B | |
| 001312 | unicode/part1/U+2274 NormalizationTest.txt |
≴␊≴
|
9 B | |
| 001313 | unicode/part1/U+2275 NormalizationTest.txt |
≵␊≵
|
9 B | |
| 001314 | unicode/part1/U+2278 NormalizationTest.txt |
≸␊≸
|
9 B | |
| 001315 | unicode/part1/U+2279 NormalizationTest.txt |
≹␊≹
|
9 B | |
| 001316 | unicode/part1/U+2280 NormalizationTest.txt |
⊀␊⊀
|
9 B | |
| 001317 | unicode/part1/U+2281 NormalizationTest.txt |
⊁␊⊁
|
9 B | |
| 001318 | unicode/part1/U+2284 NormalizationTest.txt |
⊄␊⊄
|
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