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 |
|---|---|---|---|---|
| 000815 | unicode/part1/U+1EBC NormalizationTest.txt |
Ẽ␊Ẽ
|
7 B | |
| 000816 | unicode/part1/U+1EBD NormalizationTest.txt |
ẽ␊ẽ
|
7 B | |
| 000817 | unicode/part1/U+1EBE NormalizationTest.txt |
Ế␊Ế
|
9 B | |
| 000818 | unicode/part1/U+1EBF NormalizationTest.txt |
ế␊ế
|
9 B | |
| 000819 | unicode/part1/U+1EC0 NormalizationTest.txt |
Ề␊Ề
|
9 B | |
| 000820 | unicode/part1/U+1EC1 NormalizationTest.txt |
ề␊ề
|
9 B | |
| 000821 | unicode/part1/U+1EC2 NormalizationTest.txt |
Ể␊Ể
|
9 B | |
| 000822 | unicode/part1/U+1EC3 NormalizationTest.txt |
ể␊ể
|
9 B | |
| 000823 | unicode/part1/U+1EC4 NormalizationTest.txt |
Ễ␊Ễ
|
9 B | |
| 000824 | unicode/part1/U+1EC5 NormalizationTest.txt |
ễ␊ễ
|
9 B | |
| 000825 | unicode/part1/U+1EC6 NormalizationTest.txt |
Ệ␊Ệ
|
9 B | |
| 000826 | unicode/part1/U+1EC7 NormalizationTest.txt |
ệ␊ệ
|
9 B | |
| 000827 | unicode/part1/U+1EC8 NormalizationTest.txt |
Ỉ␊Ỉ
|
7 B | |
| 000828 | unicode/part1/U+1EC9 NormalizationTest.txt |
ỉ␊ỉ
|
7 B | |
| 000829 | unicode/part1/U+1ECA NormalizationTest.txt |
Ị␊Ị
|
7 B | |
| 000830 | unicode/part1/U+1ECB NormalizationTest.txt |
ị␊ị
|
7 B | |
| 000831 | unicode/part1/U+1ECC NormalizationTest.txt |
Ọ␊Ọ
|
7 B | |
| 000832 | unicode/part1/U+1ECD NormalizationTest.txt |
ọ␊ọ
|
7 B | |
| 000833 | unicode/part1/U+1ECE NormalizationTest.txt |
Ỏ␊Ỏ
|
7 B | |
| 000834 | unicode/part1/U+1ECF NormalizationTest.txt |
ỏ␊ỏ
|
7 B | |
| 000835 | unicode/part1/U+1ED0 NormalizationTest.txt |
Ố␊Ố
|
9 B | |
| 000836 | unicode/part1/U+1ED1 NormalizationTest.txt |
ố␊ố
|
9 B | |
| 000837 | unicode/part1/U+1ED2 NormalizationTest.txt |
Ồ␊Ồ
|
9 B | |
| 000838 | unicode/part1/U+1ED3 NormalizationTest.txt |
ồ␊ồ
|
9 B | |
| 000839 | unicode/part1/U+1ED4 NormalizationTest.txt |
Ổ␊Ổ
|
9 B | |
| 000840 | unicode/part1/U+1ED5 NormalizationTest.txt |
ổ␊ổ
|
9 B | |
| 000841 | unicode/part1/U+1ED6 NormalizationTest.txt |
Ỗ␊Ỗ
|
9 B | |
| 000842 | unicode/part1/U+1ED7 NormalizationTest.txt |
ỗ␊ỗ
|
9 B | |
| 000843 | unicode/part1/U+1ED8 NormalizationTest.txt |
Ộ␊Ộ
|
9 B | |
| 000844 | unicode/part1/U+1ED9 NormalizationTest.txt |
ộ␊ộ
|
9 B | |
| 000845 | unicode/part1/U+1EDA NormalizationTest.txt |
Ớ␊Ớ
|
9 B | |
| 000846 | unicode/part1/U+1EDB NormalizationTest.txt |
ớ␊ớ
|
9 B | |
| 000847 | unicode/part1/U+1EDC NormalizationTest.txt |
Ờ␊Ờ
|
9 B | |
| 000848 | unicode/part1/U+1EDD NormalizationTest.txt |
ờ␊ờ
|
9 B | |
| 000849 | unicode/part1/U+1EDE NormalizationTest.txt |
Ở␊Ở
|
9 B | |
| 000850 | unicode/part1/U+1EDF NormalizationTest.txt |
ở␊ở
|
9 B | |
| 000851 | unicode/part1/U+1EE0 NormalizationTest.txt |
Ỡ␊Ỡ
|
9 B | |
| 000852 | unicode/part1/U+1EE1 NormalizationTest.txt |
ỡ␊ỡ
|
9 B | |
| 000853 | unicode/part1/U+1EE2 NormalizationTest.txt |
Ợ␊Ợ
|
9 B | |
| 000854 | unicode/part1/U+1EE3 NormalizationTest.txt |
ợ␊ợ
|
9 B | |
| 000855 | unicode/part1/U+1EE4 NormalizationTest.txt |
Ụ␊Ụ
|
7 B | |
| 000856 | unicode/part1/U+1EE5 NormalizationTest.txt |
ụ␊ụ
|
7 B | |
| 000857 | unicode/part1/U+1EE6 NormalizationTest.txt |
Ủ␊Ủ
|
7 B | |
| 000858 | unicode/part1/U+1EE7 NormalizationTest.txt |
ủ␊ủ
|
7 B | |
| 000859 | unicode/part1/U+1EE8 NormalizationTest.txt |
Ứ␊Ứ
|
9 B | |
| 000860 | unicode/part1/U+1EE9 NormalizationTest.txt |
ứ␊ứ
|
9 B | |
| 000861 | unicode/part1/U+1EEA NormalizationTest.txt |
Ừ␊Ừ
|
9 B | |
| 000862 | unicode/part1/U+1EEB NormalizationTest.txt |
ừ␊ừ
|
9 B | |
| 000863 | unicode/part1/U+1EEC NormalizationTest.txt |
Ử␊Ử
|
9 B | |
| 000864 | unicode/part1/U+1EED NormalizationTest.txt |
ử␊ử
|
9 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