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 |
|---|---|---|---|---|
| 004995 | unicode/part1/U+1D7BA NormalizationTest.txt |
πΊβΟ
|
7 B | |
| 004996 | unicode/part1/U+1D7BB NormalizationTest.txt |
π»βΟ
|
7 B | |
| 004997 | unicode/part1/U+1D7BC NormalizationTest.txt |
πΌβΟ
|
7 B | |
| 004998 | unicode/part1/U+1D7BD NormalizationTest.txt |
π½βΟ
|
7 B | |
| 004999 | unicode/part1/U+1D7BE NormalizationTest.txt |
πΎβΟ
|
7 B | |
| 005000 | unicode/part1/U+1D7BF NormalizationTest.txt |
πΏβΟ
|
7 B | |
| 005001 | unicode/part1/U+1D7C0 NormalizationTest.txt |
πβΟ
|
7 B | |
| 005002 | unicode/part1/U+1D7C1 NormalizationTest.txt |
πβΟ
|
7 B | |
| 005003 | unicode/part1/U+1D7C2 NormalizationTest.txt |
πβΟ
|
7 B | |
| 005004 | unicode/part1/U+1D7C3 NormalizationTest.txt |
πββ
|
8 B | |
| 005005 | unicode/part1/U+1D7C4 NormalizationTest.txt |
πβΞ΅
|
7 B | |
| 005006 | unicode/part1/U+1D7C5 NormalizationTest.txt |
π
βΞΈ
|
7 B | |
| 005007 | unicode/part1/U+1D7C6 NormalizationTest.txt |
πβΞΊ
|
7 B | |
| 005008 | unicode/part1/U+1D7C7 NormalizationTest.txt |
πβΟ
|
7 B | |
| 005009 | unicode/part1/U+1D7C8 NormalizationTest.txt |
πβΟ
|
7 B | |
| 005010 | unicode/part1/U+1D7C9 NormalizationTest.txt |
πβΟ
|
7 B | |
| 005011 | unicode/part1/U+1D7CA NormalizationTest.txt |
πβΟ
|
7 B | |
| 005012 | unicode/part1/U+1D7CB NormalizationTest.txt |
πβΟ
|
7 B | |
| 005013 | unicode/part1/U+1D7CE NormalizationTest.txt |
πβ0
|
6 B | |
| 005014 | unicode/part1/U+1D7CF NormalizationTest.txt |
πβ1
|
6 B | |
| 005015 | unicode/part1/U+1D7D0 NormalizationTest.txt |
πβ2
|
6 B | |
| 005016 | unicode/part1/U+1D7D1 NormalizationTest.txt |
πβ3
|
6 B | |
| 005017 | unicode/part1/U+1D7D2 NormalizationTest.txt |
πβ4
|
6 B | |
| 005018 | unicode/part1/U+1D7D3 NormalizationTest.txt |
πβ5
|
6 B | |
| 005019 | unicode/part1/U+1D7D4 NormalizationTest.txt |
πβ6
|
6 B | |
| 005020 | unicode/part1/U+1D7D5 NormalizationTest.txt |
πβ7
|
6 B | |
| 005021 | unicode/part1/U+1D7D6 NormalizationTest.txt |
πβ8
|
6 B | |
| 005022 | unicode/part1/U+1D7D7 NormalizationTest.txt |
πβ9
|
6 B | |
| 005023 | unicode/part1/U+1D7D8 NormalizationTest.txt |
πβ0
|
6 B | |
| 005024 | unicode/part1/U+1D7D9 NormalizationTest.txt |
πβ1
|
6 B | |
| 005025 | unicode/part1/U+1D7DA NormalizationTest.txt |
πβ2
|
6 B | |
| 005026 | unicode/part1/U+1D7DB NormalizationTest.txt |
πβ3
|
6 B | |
| 005027 | unicode/part1/U+1D7DC NormalizationTest.txt |
πβ4
|
6 B | |
| 005028 | unicode/part1/U+1D7DD NormalizationTest.txt |
πβ5
|
6 B | |
| 005029 | unicode/part1/U+1D7DE NormalizationTest.txt |
πβ6
|
6 B | |
| 005030 | unicode/part1/U+1D7DF NormalizationTest.txt |
πβ7
|
6 B | |
| 005031 | unicode/part1/U+1D7E0 NormalizationTest.txt |
π β8
|
6 B | |
| 005032 | unicode/part1/U+1D7E1 NormalizationTest.txt |
π‘β9
|
6 B | |
| 005033 | unicode/part1/U+1D7E2 NormalizationTest.txt |
π’β0
|
6 B | |
| 005034 | unicode/part1/U+1D7E3 NormalizationTest.txt |
π£β1
|
6 B | |
| 005035 | unicode/part1/U+1D7E4 NormalizationTest.txt |
π€β2
|
6 B | |
| 005036 | unicode/part1/U+1D7E5 NormalizationTest.txt |
π₯β3
|
6 B | |
| 005037 | unicode/part1/U+1D7E6 NormalizationTest.txt |
π¦β4
|
6 B | |
| 005038 | unicode/part1/U+1D7E7 NormalizationTest.txt |
π§β5
|
6 B | |
| 005039 | unicode/part1/U+1D7E8 NormalizationTest.txt |
π¨β6
|
6 B | |
| 005040 | unicode/part1/U+1D7E9 NormalizationTest.txt |
π©β7
|
6 B | |
| 005041 | unicode/part1/U+1D7EA NormalizationTest.txt |
πͺβ8
|
6 B | |
| 005042 | unicode/part1/U+1D7EB NormalizationTest.txt |
π«β9
|
6 B | |
| 005043 | unicode/part1/U+1D7EC NormalizationTest.txt |
π¬β0
|
6 B | |
| 005044 | unicode/part1/U+1D7ED NormalizationTest.txt |
πβ1
|
6 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