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
All 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 005900 | unicode/part1/U+2F9E8 NormalizationTest.txt |
鋗␊鋗
|
8 B | |
| 005901 | unicode/part1/U+2F9E9 NormalizationTest.txt |
鋘␊鋘
|
8 B | |
| 005902 | unicode/part1/U+2F9EA NormalizationTest.txt |
鉼␊鉼
|
8 B | |
| 005903 | unicode/part1/U+2F9EB NormalizationTest.txt |
鏹␊鏹
|
8 B | |
| 005904 | unicode/part1/U+2F9EC NormalizationTest.txt |
鐕␊鐕
|
8 B | |
| 005905 | unicode/part1/U+2F9ED NormalizationTest.txt |
𨯺␊𨯺
|
9 B | |
| 005906 | unicode/part1/U+2F9EE NormalizationTest.txt |
開␊開
|
8 B | |
| 005907 | unicode/part1/U+2F9EF NormalizationTest.txt |
䦕␊䦕
|
8 B | |
| 005908 | unicode/part1/U+2F9F0 NormalizationTest.txt |
閷␊閷
|
8 B | |
| 005909 | unicode/part1/U+2F9F1 NormalizationTest.txt |
𨵷␊𨵷
|
9 B | |
| 005910 | unicode/part1/U+2F9F2 NormalizationTest.txt |
䧦␊䧦
|
8 B | |
| 005911 | unicode/part1/U+2F9F3 NormalizationTest.txt |
雃␊雃
|
8 B | |
| 005912 | unicode/part1/U+2F9F4 NormalizationTest.txt |
嶲␊嶲
|
8 B | |
| 005913 | unicode/part1/U+2F9F5 NormalizationTest.txt |
霣␊霣
|
8 B | |
| 005914 | unicode/part1/U+2F9F6 NormalizationTest.txt |
𩅅␊𩅅
|
9 B | |
| 005915 | unicode/part1/U+2F9F7 NormalizationTest.txt |
𩈚␊𩈚
|
9 B | |
| 005916 | unicode/part1/U+2F9F8 NormalizationTest.txt |
䩮␊䩮
|
8 B | |
| 005917 | unicode/part1/U+2F9F9 NormalizationTest.txt |
䩶␊䩶
|
8 B | |
| 005918 | unicode/part1/U+2F9FA NormalizationTest.txt |
韠␊韠
|
8 B | |
| 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 |
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