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
956 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 001022 | unicode/part1/U+1F9F NormalizationTest.txt |
ᾟ␊ᾟ
|
12 B | |
| 001023 | unicode/part1/U+1FA0 NormalizationTest.txt |
ᾠ␊ᾠ
|
10 B | |
| 001024 | unicode/part1/U+1FA1 NormalizationTest.txt |
ᾡ␊ᾡ
|
10 B | |
| 001025 | unicode/part1/U+1FA2 NormalizationTest.txt |
ᾢ␊ᾢ
|
12 B | |
| 001026 | unicode/part1/U+1FA3 NormalizationTest.txt |
ᾣ␊ᾣ
|
12 B | |
| 001027 | unicode/part1/U+1FA4 NormalizationTest.txt |
ᾤ␊ᾤ
|
12 B | |
| 001028 | unicode/part1/U+1FA5 NormalizationTest.txt |
ᾥ␊ᾥ
|
12 B | |
| 001029 | unicode/part1/U+1FA6 NormalizationTest.txt |
ᾦ␊ᾦ
|
12 B | |
| 001030 | unicode/part1/U+1FA7 NormalizationTest.txt |
ᾧ␊ᾧ
|
12 B | |
| 001031 | unicode/part1/U+1FA8 NormalizationTest.txt |
ᾨ␊ᾨ
|
10 B | |
| 001032 | unicode/part1/U+1FA9 NormalizationTest.txt |
ᾩ␊ᾩ
|
10 B | |
| 001033 | unicode/part1/U+1FAA NormalizationTest.txt |
ᾪ␊ᾪ
|
12 B | |
| 001034 | unicode/part1/U+1FAB NormalizationTest.txt |
ᾫ␊ᾫ
|
12 B | |
| 001035 | unicode/part1/U+1FAC NormalizationTest.txt |
ᾬ␊ᾬ
|
12 B | |
| 001036 | unicode/part1/U+1FAD NormalizationTest.txt |
ᾭ␊ᾭ
|
12 B | |
| 001037 | unicode/part1/U+1FAE NormalizationTest.txt |
ᾮ␊ᾮ
|
12 B | |
| 001038 | unicode/part1/U+1FAF NormalizationTest.txt |
ᾯ␊ᾯ
|
12 B | |
| 001039 | unicode/part1/U+1FB0 NormalizationTest.txt |
ᾰ␊ᾰ
|
8 B | |
| 001040 | unicode/part1/U+1FB1 NormalizationTest.txt |
ᾱ␊ᾱ
|
8 B | |
| 001041 | unicode/part1/U+1FB2 NormalizationTest.txt |
ᾲ␊ᾲ
|
10 B | |
| 001042 | unicode/part1/U+1FB3 NormalizationTest.txt |
ᾳ␊ᾳ
|
8 B | |
| 001043 | unicode/part1/U+1FB4 NormalizationTest.txt |
ᾴ␊ᾴ
|
10 B | |
| 001044 | unicode/part1/U+1FB6 NormalizationTest.txt |
ᾶ␊ᾶ
|
8 B | |
| 001045 | unicode/part1/U+1FB7 NormalizationTest.txt |
ᾷ␊ᾷ
|
10 B | |
| 001046 | unicode/part1/U+1FB8 NormalizationTest.txt |
Ᾰ␊Ᾰ
|
8 B | |
| 001047 | unicode/part1/U+1FB9 NormalizationTest.txt |
Ᾱ␊Ᾱ
|
8 B | |
| 001048 | unicode/part1/U+1FBA NormalizationTest.txt |
Ὰ␊Ὰ
|
8 B | |
| 001050 | unicode/part1/U+1FBC NormalizationTest.txt |
ᾼ␊ᾼ
|
8 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 | |
| 001063 | unicode/part1/U+1FCA NormalizationTest.txt |
Ὴ␊Ὴ
|
8 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 | |
| 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 | |
| 001079 | unicode/part1/U+1FDD NormalizationTest.txt |
῝␊῝␊ ̔̀
|
15 B | |
| 001080 | unicode/part1/U+1FDE NormalizationTest.txt |
῞␊῞␊ ̔́
|
15 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