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
5,928 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 000895 | unicode/part1/U+1F12 NormalizationTest.txt |
ἒ␊ἒ
|
10 B | |
| 000896 | unicode/part1/U+1F13 NormalizationTest.txt |
ἓ␊ἓ
|
10 B | |
| 000897 | unicode/part1/U+1F14 NormalizationTest.txt |
ἔ␊ἔ
|
10 B | |
| 000898 | unicode/part1/U+1F15 NormalizationTest.txt |
ἕ␊ἕ
|
10 B | |
| 000899 | unicode/part1/U+1F18 NormalizationTest.txt |
Ἐ␊Ἐ
|
8 B | |
| 000900 | unicode/part1/U+1F19 NormalizationTest.txt |
Ἑ␊Ἑ
|
8 B | |
| 000901 | unicode/part1/U+1F1A NormalizationTest.txt |
Ἒ␊Ἒ
|
10 B | |
| 000902 | unicode/part1/U+1F1B NormalizationTest.txt |
Ἓ␊Ἓ
|
10 B | |
| 000903 | unicode/part1/U+1F1C NormalizationTest.txt |
Ἔ␊Ἔ
|
10 B | |
| 000904 | unicode/part1/U+1F1D NormalizationTest.txt |
Ἕ␊Ἕ
|
10 B | |
| 000905 | unicode/part1/U+1F20 NormalizationTest.txt |
ἠ␊ἠ
|
8 B | |
| 000906 | unicode/part1/U+1F21 NormalizationTest.txt |
ἡ␊ἡ
|
8 B | |
| 000907 | unicode/part1/U+1F22 NormalizationTest.txt |
ἢ␊ἢ
|
10 B | |
| 000908 | unicode/part1/U+1F23 NormalizationTest.txt |
ἣ␊ἣ
|
10 B | |
| 000909 | unicode/part1/U+1F24 NormalizationTest.txt |
ἤ␊ἤ
|
10 B | |
| 000910 | unicode/part1/U+1F25 NormalizationTest.txt |
ἥ␊ἥ
|
10 B | |
| 000911 | unicode/part1/U+1F26 NormalizationTest.txt |
ἦ␊ἦ
|
10 B | |
| 000912 | unicode/part1/U+1F27 NormalizationTest.txt |
ἧ␊ἧ
|
10 B | |
| 000913 | unicode/part1/U+1F28 NormalizationTest.txt |
Ἠ␊Ἠ
|
8 B | |
| 000914 | unicode/part1/U+1F29 NormalizationTest.txt |
Ἡ␊Ἡ
|
8 B | |
| 000915 | unicode/part1/U+1F2A NormalizationTest.txt |
Ἢ␊Ἢ
|
10 B | |
| 000916 | unicode/part1/U+1F2B NormalizationTest.txt |
Ἣ␊Ἣ
|
10 B | |
| 000917 | unicode/part1/U+1F2C NormalizationTest.txt |
Ἤ␊Ἤ
|
10 B | |
| 000918 | unicode/part1/U+1F2D NormalizationTest.txt |
Ἥ␊Ἥ
|
10 B | |
| 000919 | unicode/part1/U+1F2E NormalizationTest.txt |
Ἦ␊Ἦ
|
10 B | |
| 000920 | unicode/part1/U+1F2F NormalizationTest.txt |
Ἧ␊Ἧ
|
10 B | |
| 000921 | unicode/part1/U+1F30 NormalizationTest.txt |
ἰ␊ἰ
|
8 B | |
| 000922 | unicode/part1/U+1F31 NormalizationTest.txt |
ἱ␊ἱ
|
8 B | |
| 000923 | unicode/part1/U+1F32 NormalizationTest.txt |
ἲ␊ἲ
|
10 B | |
| 000924 | unicode/part1/U+1F33 NormalizationTest.txt |
ἳ␊ἳ
|
10 B | |
| 000925 | unicode/part1/U+1F34 NormalizationTest.txt |
ἴ␊ἴ
|
10 B | |
| 000926 | unicode/part1/U+1F35 NormalizationTest.txt |
ἵ␊ἵ
|
10 B | |
| 000927 | unicode/part1/U+1F36 NormalizationTest.txt |
ἶ␊ἶ
|
10 B | |
| 000928 | unicode/part1/U+1F37 NormalizationTest.txt |
ἷ␊ἷ
|
10 B | |
| 000929 | unicode/part1/U+1F38 NormalizationTest.txt |
Ἰ␊Ἰ
|
8 B | |
| 000930 | unicode/part1/U+1F39 NormalizationTest.txt |
Ἱ␊Ἱ
|
8 B | |
| 000931 | unicode/part1/U+1F3A NormalizationTest.txt |
Ἲ␊Ἲ
|
10 B | |
| 000932 | unicode/part1/U+1F3B NormalizationTest.txt |
Ἳ␊Ἳ
|
10 B | |
| 000933 | unicode/part1/U+1F3C NormalizationTest.txt |
Ἴ␊Ἴ
|
10 B | |
| 000934 | unicode/part1/U+1F3D NormalizationTest.txt |
Ἵ␊Ἵ
|
10 B | |
| 000935 | unicode/part1/U+1F3E NormalizationTest.txt |
Ἶ␊Ἶ
|
10 B | |
| 000936 | unicode/part1/U+1F3F NormalizationTest.txt |
Ἷ␊Ἷ
|
10 B | |
| 000937 | unicode/part1/U+1F40 NormalizationTest.txt |
ὀ␊ὀ
|
8 B | |
| 000938 | unicode/part1/U+1F41 NormalizationTest.txt |
ὁ␊ὁ
|
8 B | |
| 000939 | unicode/part1/U+1F42 NormalizationTest.txt |
ὂ␊ὂ
|
10 B | |
| 000940 | unicode/part1/U+1F43 NormalizationTest.txt |
ὃ␊ὃ
|
10 B | |
| 000941 | unicode/part1/U+1F44 NormalizationTest.txt |
ὄ␊ὄ
|
10 B | |
| 000942 | unicode/part1/U+1F45 NormalizationTest.txt |
ὅ␊ὅ
|
10 B | |
| 000943 | unicode/part1/U+1F48 NormalizationTest.txt |
Ὀ␊Ὀ
|
8 B | |
| 000944 | unicode/part1/U+1F49 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