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
1,049 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 000347 | unicode/part1/U+0340 NormalizationTest.txt |
̀␊̀
|
5 B | |
| 000348 | unicode/part1/U+0341 NormalizationTest.txt |
́␊́
|
5 B | |
| 000349 | unicode/part1/U+0343 NormalizationTest.txt |
̓␊̓
|
5 B | |
| 000351 | unicode/part1/U+0374 NormalizationTest.txt |
ʹ␊ʹ
|
5 B | |
| 000353 | unicode/part1/U+037E NormalizationTest.txt |
;␊;
|
4 B | |
| 000357 | unicode/part1/U+0387 NormalizationTest.txt |
·␊·
|
5 B | |
| 000978 | unicode/part1/U+1F71 NormalizationTest.txt |
ά␊ά␊ά
|
11 B | |
| 000980 | unicode/part1/U+1F73 NormalizationTest.txt |
έ␊έ␊έ
|
11 B | |
| 000982 | unicode/part1/U+1F75 NormalizationTest.txt |
ή␊ή␊ή
|
11 B | |
| 000984 | unicode/part1/U+1F77 NormalizationTest.txt |
ί␊ί␊ί
|
11 B | |
| 000986 | unicode/part1/U+1F79 NormalizationTest.txt |
ό␊ό␊ό
|
11 B | |
| 000988 | unicode/part1/U+1F7B NormalizationTest.txt |
ύ␊ύ␊ύ
|
11 B | |
| 000990 | unicode/part1/U+1F7D NormalizationTest.txt |
ώ␊ώ␊ώ
|
11 B | |
| 001049 | unicode/part1/U+1FBB NormalizationTest.txt |
Ά␊Ά␊Ά
|
11 B | |
| 001052 | unicode/part1/U+1FBE NormalizationTest.txt |
ι␊ι
|
6 B | |
| 001062 | unicode/part1/U+1FC9 NormalizationTest.txt |
Έ␊Έ␊Έ
|
11 B | |
| 001064 | unicode/part1/U+1FCB NormalizationTest.txt |
Ή␊Ή␊Ή
|
11 B | |
| 001072 | unicode/part1/U+1FD3 NormalizationTest.txt |
ΐ␊ΐ␊ΐ
|
13 B | |
| 001078 | unicode/part1/U+1FDB NormalizationTest.txt |
Ί␊Ί␊Ί
|
11 B | |
| 001085 | unicode/part1/U+1FE3 NormalizationTest.txt |
ΰ␊ΰ␊ΰ
|
13 B | |
| 001093 | unicode/part1/U+1FEB NormalizationTest.txt |
Ύ␊Ύ␊Ύ
|
11 B | |
| 001096 | unicode/part1/U+1FEE NormalizationTest.txt |
΅␊΅␊΅␊ ̈́
|
17 B | |
| 001097 | unicode/part1/U+1FEF NormalizationTest.txt |
`␊`
|
5 B | |
| 001104 | unicode/part1/U+1FF9 NormalizationTest.txt |
Ό␊Ό␊Ό
|
11 B | |
| 001106 | unicode/part1/U+1FFB NormalizationTest.txt |
Ώ␊Ώ␊Ώ
|
11 B | |
| 001108 | unicode/part1/U+1FFD NormalizationTest.txt |
´␊´␊ ́
|
10 B | |
| 001110 | unicode/part1/U+2000 NormalizationTest.txt |
␊ ␊
|
9 B | |
| 001111 | unicode/part1/U+2001 NormalizationTest.txt |
␊ ␊
|
9 B | |
| 001210 | unicode/part1/U+2126 NormalizationTest.txt |
Ω␊Ω
|
6 B | |
| 001212 | unicode/part1/U+212A NormalizationTest.txt |
K␊K
|
5 B | |
| 001213 | unicode/part1/U+212B NormalizationTest.txt |
Å␊Å␊Å
|
10 B | |
| 001334 | unicode/part1/U+2329 NormalizationTest.txt |
〈␊〈
|
7 B | |
| 001335 | unicode/part1/U+232A NormalizationTest.txt |
〉␊〉
|
7 B | |
| 002390 | unicode/part1/U+F900 NormalizationTest.txt |
豈␊豈
|
7 B | |
| 002391 | unicode/part1/U+F901 NormalizationTest.txt |
更␊更
|
7 B | |
| 002392 | unicode/part1/U+F902 NormalizationTest.txt |
車␊車
|
7 B | |
| 002393 | unicode/part1/U+F903 NormalizationTest.txt |
賈␊賈
|
7 B | |
| 002394 | unicode/part1/U+F904 NormalizationTest.txt |
滑␊滑
|
7 B | |
| 002395 | unicode/part1/U+F905 NormalizationTest.txt |
串␊串
|
7 B | |
| 002396 | unicode/part1/U+F906 NormalizationTest.txt |
句␊句
|
7 B | |
| 002397 | unicode/part1/U+F907 NormalizationTest.txt |
龜␊龜
|
7 B | |
| 002398 | unicode/part1/U+F908 NormalizationTest.txt |
龜␊龜
|
7 B | |
| 002399 | unicode/part1/U+F909 NormalizationTest.txt |
契␊契
|
7 B | |
| 002400 | unicode/part1/U+F90A NormalizationTest.txt |
金␊金
|
7 B | |
| 002401 | unicode/part1/U+F90B NormalizationTest.txt |
喇␊喇
|
7 B | |
| 002402 | unicode/part1/U+F90C NormalizationTest.txt |
奈␊奈
|
7 B | |
| 002403 | unicode/part1/U+F90D NormalizationTest.txt |
懶␊懶
|
7 B | |
| 002404 | unicode/part1/U+F90E NormalizationTest.txt |
癩␊癩
|
7 B | |
| 002405 | unicode/part1/U+F90F NormalizationTest.txt |
羅␊羅
|
7 B | |
| 002406 | unicode/part1/U+F910 NormalizationTest.txt |
蘿␊蘿
|
7 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