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 |
|---|---|---|---|---|
| 002039 | unicode/part1/U+32AF NormalizationTest.txt |
㊯␊協
|
7 B | |
| 002040 | unicode/part1/U+32B0 NormalizationTest.txt |
㊰␊夜
|
7 B | |
| 002041 | unicode/part1/U+32B1 NormalizationTest.txt |
㊱␊36
|
6 B | |
| 002042 | unicode/part1/U+32B2 NormalizationTest.txt |
㊲␊37
|
6 B | |
| 002043 | unicode/part1/U+32B3 NormalizationTest.txt |
㊳␊38
|
6 B | |
| 002044 | unicode/part1/U+32B4 NormalizationTest.txt |
㊴␊39
|
6 B | |
| 002045 | unicode/part1/U+32B5 NormalizationTest.txt |
㊵␊40
|
6 B | |
| 002046 | unicode/part1/U+32B6 NormalizationTest.txt |
㊶␊41
|
6 B | |
| 002047 | unicode/part1/U+32B7 NormalizationTest.txt |
㊷␊42
|
6 B | |
| 002048 | unicode/part1/U+32B8 NormalizationTest.txt |
㊸␊43
|
6 B | |
| 002049 | unicode/part1/U+32B9 NormalizationTest.txt |
㊹␊44
|
6 B | |
| 002050 | unicode/part1/U+32BA NormalizationTest.txt |
㊺␊45
|
6 B | |
| 002051 | unicode/part1/U+32BB NormalizationTest.txt |
㊻␊46
|
6 B | |
| 002052 | unicode/part1/U+32BC NormalizationTest.txt |
㊼␊47
|
6 B | |
| 002053 | unicode/part1/U+32BD NormalizationTest.txt |
㊽␊48
|
6 B | |
| 002054 | unicode/part1/U+32BE NormalizationTest.txt |
㊾␊49
|
6 B | |
| 002055 | unicode/part1/U+32BF NormalizationTest.txt |
㊿␊50
|
6 B | |
| 002056 | unicode/part1/U+32C0 NormalizationTest.txt |
㋀␊1月
|
8 B | |
| 002057 | unicode/part1/U+32C1 NormalizationTest.txt |
㋁␊2月
|
8 B | |
| 002058 | unicode/part1/U+32C2 NormalizationTest.txt |
㋂␊3月
|
8 B | |
| 002059 | unicode/part1/U+32C3 NormalizationTest.txt |
㋃␊4月
|
8 B | |
| 002060 | unicode/part1/U+32C4 NormalizationTest.txt |
㋄␊5月
|
8 B | |
| 002061 | unicode/part1/U+32C5 NormalizationTest.txt |
㋅␊6月
|
8 B | |
| 002062 | unicode/part1/U+32C6 NormalizationTest.txt |
㋆␊7月
|
8 B | |
| 002063 | unicode/part1/U+32C7 NormalizationTest.txt |
㋇␊8月
|
8 B | |
| 002064 | unicode/part1/U+32C8 NormalizationTest.txt |
㋈␊9月
|
8 B | |
| 002065 | unicode/part1/U+32C9 NormalizationTest.txt |
㋉␊10月
|
9 B | |
| 002066 | unicode/part1/U+32CA NormalizationTest.txt |
㋊␊11月
|
9 B | |
| 002067 | unicode/part1/U+32CB NormalizationTest.txt |
㋋␊12月
|
9 B | |
| 002068 | unicode/part1/U+32CC NormalizationTest.txt |
㋌␊Hg
|
6 B | |
| 002069 | unicode/part1/U+32CD NormalizationTest.txt |
㋍␊erg
|
7 B | |
| 002070 | unicode/part1/U+32CE NormalizationTest.txt |
㋎␊eV
|
6 B | |
| 002071 | unicode/part1/U+32CF NormalizationTest.txt |
㋏␊LTD
|
7 B | |
| 002072 | unicode/part1/U+32D0 NormalizationTest.txt |
㋐␊ア
|
7 B | |
| 002073 | unicode/part1/U+32D1 NormalizationTest.txt |
㋑␊イ
|
7 B | |
| 002074 | unicode/part1/U+32D2 NormalizationTest.txt |
㋒␊ウ
|
7 B | |
| 002075 | unicode/part1/U+32D3 NormalizationTest.txt |
㋓␊エ
|
7 B | |
| 002076 | unicode/part1/U+32D4 NormalizationTest.txt |
㋔␊オ
|
7 B | |
| 002077 | unicode/part1/U+32D5 NormalizationTest.txt |
㋕␊カ
|
7 B | |
| 002078 | unicode/part1/U+32D6 NormalizationTest.txt |
㋖␊キ
|
7 B | |
| 002079 | unicode/part1/U+32D7 NormalizationTest.txt |
㋗␊ク
|
7 B | |
| 002080 | unicode/part1/U+32D8 NormalizationTest.txt |
㋘␊ケ
|
7 B | |
| 002081 | unicode/part1/U+32D9 NormalizationTest.txt |
㋙␊コ
|
7 B | |
| 002082 | unicode/part1/U+32DA NormalizationTest.txt |
㋚␊サ
|
7 B | |
| 002083 | unicode/part1/U+32DB NormalizationTest.txt |
㋛␊シ
|
7 B | |
| 002084 | unicode/part1/U+32DC NormalizationTest.txt |
㋜␊ス
|
7 B | |
| 002085 | unicode/part1/U+32DD NormalizationTest.txt |
㋝␊セ
|
7 B | |
| 002086 | unicode/part1/U+32DE NormalizationTest.txt |
㋞␊ソ
|
7 B | |
| 002087 | unicode/part1/U+32DF NormalizationTest.txt |
㋟␊タ
|
7 B | |
| 002088 | unicode/part1/U+32E0 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