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 |
|---|---|---|---|---|
| 001050 | unicode/part1/U+1FBC NormalizationTest.txt |
ᾼ␊ᾼ
|
8 B | |
| 001051 | unicode/part1/U+1FBD NormalizationTest.txt |
᾽␊ ̓
|
7 B | |
| 001052 | unicode/part1/U+1FBE NormalizationTest.txt |
ι␊ι
|
6 B | |
| 001053 | unicode/part1/U+1FBF NormalizationTest.txt |
᾿␊ ̓
|
7 B | |
| 001054 | unicode/part1/U+1FC0 NormalizationTest.txt |
῀␊ ͂
|
7 B | |
| 001055 | unicode/part1/U+1FC1 NormalizationTest.txt |
῁␊῁␊ ̈͂
|
14 B | |
| 001056 | unicode/part1/U+1FC2 NormalizationTest.txt |
ῂ␊ῂ
|
10 B | |
| 001057 | unicode/part1/U+1FC3 NormalizationTest.txt |
ῃ␊ῃ
|
8 B | |
| 001058 | unicode/part1/U+1FC4 NormalizationTest.txt |
ῄ␊ῄ
|
10 B | |
| 001059 | unicode/part1/U+1FC6 NormalizationTest.txt |
ῆ␊ῆ
|
8 B | |
| 001060 | unicode/part1/U+1FC7 NormalizationTest.txt |
ῇ␊ῇ
|
10 B | |
| 001061 | unicode/part1/U+1FC8 NormalizationTest.txt |
Ὲ␊Ὲ
|
8 B | |
| 001062 | unicode/part1/U+1FC9 NormalizationTest.txt |
Έ␊Έ␊Έ
|
11 B | |
| 001063 | unicode/part1/U+1FCA NormalizationTest.txt |
Ὴ␊Ὴ
|
8 B | |
| 001064 | unicode/part1/U+1FCB NormalizationTest.txt |
Ή␊Ή␊Ή
|
11 B | |
| 001065 | unicode/part1/U+1FCC NormalizationTest.txt |
ῌ␊ῌ
|
8 B | |
| 001066 | unicode/part1/U+1FCD NormalizationTest.txt |
῍␊῍␊ ̓̀
|
15 B | |
| 001067 | unicode/part1/U+1FCE NormalizationTest.txt |
῎␊῎␊ ̓́
|
15 B | |
| 001068 | unicode/part1/U+1FCF NormalizationTest.txt |
῏␊῏␊ ̓͂
|
15 B | |
| 001069 | unicode/part1/U+1FD0 NormalizationTest.txt |
ῐ␊ῐ
|
8 B | |
| 001070 | unicode/part1/U+1FD1 NormalizationTest.txt |
ῑ␊ῑ
|
8 B | |
| 001071 | unicode/part1/U+1FD2 NormalizationTest.txt |
ῒ␊ῒ
|
10 B | |
| 001072 | unicode/part1/U+1FD3 NormalizationTest.txt |
ΐ␊ΐ␊ΐ
|
13 B | |
| 001073 | unicode/part1/U+1FD6 NormalizationTest.txt |
ῖ␊ῖ
|
8 B | |
| 001074 | unicode/part1/U+1FD7 NormalizationTest.txt |
ῗ␊ῗ
|
10 B | |
| 001075 | unicode/part1/U+1FD8 NormalizationTest.txt |
Ῐ␊Ῐ
|
8 B | |
| 001076 | unicode/part1/U+1FD9 NormalizationTest.txt |
Ῑ␊Ῑ
|
8 B | |
| 001077 | unicode/part1/U+1FDA NormalizationTest.txt |
Ὶ␊Ὶ
|
8 B | |
| 001078 | unicode/part1/U+1FDB NormalizationTest.txt |
Ί␊Ί␊Ί
|
11 B | |
| 001079 | unicode/part1/U+1FDD NormalizationTest.txt |
῝␊῝␊ ̔̀
|
15 B | |
| 001080 | unicode/part1/U+1FDE NormalizationTest.txt |
῞␊῞␊ ̔́
|
15 B | |
| 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 | |
| 001085 | unicode/part1/U+1FE3 NormalizationTest.txt |
ΰ␊ΰ␊ΰ
|
13 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 | |
| 001093 | unicode/part1/U+1FEB NormalizationTest.txt |
Ύ␊Ύ␊Ύ
|
11 B | |
| 001094 | unicode/part1/U+1FEC NormalizationTest.txt |
Ῥ␊Ῥ
|
8 B | |
| 001095 | unicode/part1/U+1FED NormalizationTest.txt |
῭␊῭␊ ̈̀
|
14 B | |
| 001096 | unicode/part1/U+1FEE NormalizationTest.txt |
΅␊΅␊΅␊ ̈́
|
17 B | |
| 001097 | unicode/part1/U+1FEF NormalizationTest.txt |
`␊`
|
5 B | |
| 001098 | unicode/part1/U+1FF2 NormalizationTest.txt |
ῲ␊ῲ
|
10 B | |
| 001099 | unicode/part1/U+1FF3 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