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 |
|---|---|---|---|---|
| 005919 | unicode/part1/U+2F9FB NormalizationTest.txt |
𩐊␊𩐊
|
9 B | |
| 005920 | unicode/part1/U+2F9FC NormalizationTest.txt |
䪲␊䪲
|
8 B | |
| 005921 | unicode/part1/U+2F9FD NormalizationTest.txt |
𩒖␊𩒖
|
9 B | |
| 005922 | unicode/part1/U+2F9FE NormalizationTest.txt |
頋␊頋
|
8 B | |
| 005923 | unicode/part1/U+2F9FF NormalizationTest.txt |
頋␊頋
|
8 B | |
| 005924 | unicode/part1/U+2FA00 NormalizationTest.txt |
頩␊頩
|
8 B | |
| 005925 | unicode/part1/U+2FA01 NormalizationTest.txt |
𩖶␊𩖶
|
9 B | |
| 005926 | unicode/part1/U+2FA02 NormalizationTest.txt |
飢␊飢
|
8 B | |
| 005927 | unicode/part1/U+2FA03 NormalizationTest.txt |
䬳␊䬳
|
8 B | |
| 005928 | unicode/part1/U+2FA04 NormalizationTest.txt |
餩␊餩
|
8 B | |
| 005929 | unicode/part1/U+2FA05 NormalizationTest.txt |
馧␊馧
|
8 B | |
| 005930 | unicode/part1/U+2FA06 NormalizationTest.txt |
駂␊駂
|
8 B | |
| 005931 | unicode/part1/U+2FA07 NormalizationTest.txt |
駾␊駾
|
8 B | |
| 005932 | unicode/part1/U+2FA08 NormalizationTest.txt |
䯎␊䯎
|
8 B | |
| 005933 | unicode/part1/U+2FA09 NormalizationTest.txt |
𩬰␊𩬰
|
9 B | |
| 005934 | unicode/part1/U+2FA0A NormalizationTest.txt |
鬒␊鬒
|
8 B | |
| 005935 | unicode/part1/U+2FA0B NormalizationTest.txt |
鱀␊鱀
|
8 B | |
| 005936 | unicode/part1/U+2FA0C NormalizationTest.txt |
鳽␊鳽
|
8 B | |
| 005937 | unicode/part1/U+2FA0D NormalizationTest.txt |
䳎␊䳎
|
8 B | |
| 005938 | unicode/part1/U+2FA0E NormalizationTest.txt |
䳭␊䳭
|
8 B | |
| 005939 | unicode/part1/U+2FA0F NormalizationTest.txt |
鵧␊鵧
|
8 B | |
| 005940 | unicode/part1/U+2FA10 NormalizationTest.txt |
𪃎␊𪃎
|
9 B | |
| 005941 | unicode/part1/U+2FA11 NormalizationTest.txt |
䳸␊䳸
|
8 B | |
| 005942 | unicode/part1/U+2FA12 NormalizationTest.txt |
𪄅␊𪄅
|
9 B | |
| 005943 | unicode/part1/U+2FA13 NormalizationTest.txt |
𪈎␊𪈎
|
9 B | |
| 005944 | unicode/part1/U+2FA14 NormalizationTest.txt |
𪊑␊𪊑
|
9 B | |
| 005945 | unicode/part1/U+2FA15 NormalizationTest.txt |
麻␊麻
|
8 B | |
| 005946 | unicode/part1/U+2FA16 NormalizationTest.txt |
䵖␊䵖
|
8 B | |
| 005947 | unicode/part1/U+2FA17 NormalizationTest.txt |
黹␊黹
|
8 B | |
| 005948 | unicode/part1/U+2FA18 NormalizationTest.txt |
黾␊黾
|
8 B | |
| 005949 | unicode/part1/U+2FA19 NormalizationTest.txt |
鼅␊鼅
|
8 B | |
| 005950 | unicode/part1/U+2FA1A NormalizationTest.txt |
鼏␊鼏
|
8 B | |
| 005951 | unicode/part1/U+2FA1B NormalizationTest.txt |
鼖␊鼖
|
8 B | |
| 005952 | unicode/part1/U+2FA1C NormalizationTest.txt |
鼻␊鼻
|
8 B | |
| 005953 | unicode/part1/U+2FA1D NormalizationTest.txt |
𪘀␊𪘀
|
9 B | |
| 009033 | regression/singleton/angstrom sign Focused regression |
Å
|
3 B | |
| 009034 | regression/singleton/ohm sign Focused regression |
Ω
|
3 B | |
| 009035 | regression/singleton/kelvin sign Focused regression |
K
|
3 B | |
| 009036 | regression/singleton/greek question mark Focused regression |
;
|
2 B | |
| 009037 | regression/singleton/combining grave tone mark Focused regression |
à
|
3 B | |
| 009038 | regression/singleton/greek koronis Focused regression |
ἀ
|
4 B | |
| 009039 | regression/singleton/greek oxia Focused regression |
ά
|
3 B | |
| 009040 | regression/singleton/en quad Focused regression |
|
6 B | |
| 009041 | regression/singleton/angle brackets Focused regression |
〈x〉
|
7 B | |
| 009042 | regression/singleton/cjk compatibility ideographs Focused regression |
豈﨎塚龎
|
12 B | |
| 009043 | regression/singleton/supplementary compatibility ideograph Focused regression |
丽𪘀
|
8 B | |
| 009044 | regression/singleton/angstrom then acute Focused regression |
Ǻ
|
5 B | |
| 009045 | regression/singleton/ohm then mark Focused regression |
ᾭ
|
9 B | |
| 009118 | regression/length/ascii from non-ascii Focused regression |
K;K;K;K;K;K;K;K;K;K;K;K;K;K;K;K;K;K;K;K;K;K;K;K;…
|
500 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