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 |
|---|---|---|---|---|
| 008600 | unicode/part4/line 19835 NormalizationTest.txt |
ᾚ␊ᾚ␊ᾚ
|
20 B | |
| 008601 | unicode/part4/line 19836 NormalizationTest.txt |
ᾚ␊ᾚ␊ᾚ
|
20 B | |
| 008602 | unicode/part4/line 19837 NormalizationTest.txt |
ᾚ␊ᾚ␊ᾚ
|
20 B | |
| 008603 | unicode/part4/line 19838 NormalizationTest.txt |
ᾚ␊ᾚ␊ᾚ
|
20 B | |
| 008604 | unicode/part4/line 19839 NormalizationTest.txt |
ᾚ␊ᾚ␊ᾚ
|
20 B | |
| 008605 | unicode/part4/line 19840 NormalizationTest.txt |
ᾛ␊ᾛ␊ᾛ
|
18 B | |
| 008606 | unicode/part4/line 19841 NormalizationTest.txt |
ᾛ␊ᾛ␊ᾛ
|
18 B | |
| 008607 | unicode/part4/line 19842 NormalizationTest.txt |
ᾛ␊ᾛ␊ᾛ
|
18 B | |
| 008608 | unicode/part4/line 19843 NormalizationTest.txt |
ᾛ␊ᾛ␊ᾛ
|
20 B | |
| 008609 | unicode/part4/line 19844 NormalizationTest.txt |
ᾛ␊ᾛ␊ᾛ
|
20 B | |
| 008610 | unicode/part4/line 19845 NormalizationTest.txt |
ᾛ␊ᾛ␊ᾛ
|
20 B | |
| 008611 | unicode/part4/line 19846 NormalizationTest.txt |
ᾛ␊ᾛ␊ᾛ
|
20 B | |
| 008612 | unicode/part4/line 19847 NormalizationTest.txt |
ᾛ␊ᾛ␊ᾛ
|
20 B | |
| 008613 | unicode/part4/line 19848 NormalizationTest.txt |
ᾛ␊ᾛ␊ᾛ
|
20 B | |
| 008614 | unicode/part4/line 19849 NormalizationTest.txt |
ᾜ␊ᾜ␊ᾜ
|
18 B | |
| 008615 | unicode/part4/line 19850 NormalizationTest.txt |
ᾜ␊ᾜ␊ᾜ
|
18 B | |
| 008616 | unicode/part4/line 19851 NormalizationTest.txt |
ᾜ␊ᾜ␊ᾜ
|
18 B | |
| 008617 | unicode/part4/line 19852 NormalizationTest.txt |
ᾜ␊ᾜ␊ᾜ
|
20 B | |
| 008618 | unicode/part4/line 19853 NormalizationTest.txt |
ᾜ␊ᾜ␊ᾜ
|
20 B | |
| 008619 | unicode/part4/line 19854 NormalizationTest.txt |
ᾜ␊ᾜ␊ᾜ
|
20 B | |
| 008620 | unicode/part4/line 19855 NormalizationTest.txt |
ᾜ␊ᾜ␊ᾜ
|
20 B | |
| 008621 | unicode/part4/line 19856 NormalizationTest.txt |
ᾜ␊ᾜ␊ᾜ
|
20 B | |
| 008622 | unicode/part4/line 19857 NormalizationTest.txt |
ᾜ␊ᾜ␊ᾜ
|
20 B | |
| 008623 | unicode/part4/line 19858 NormalizationTest.txt |
ᾜ␊ᾜ␊ᾜ
|
20 B | |
| 008624 | unicode/part4/line 19859 NormalizationTest.txt |
ᾜ␊ᾜ␊ᾜ
|
20 B | |
| 008625 | unicode/part4/line 19860 NormalizationTest.txt |
ᾝ␊ᾝ␊ᾝ
|
18 B | |
| 008626 | unicode/part4/line 19861 NormalizationTest.txt |
ᾝ␊ᾝ␊ᾝ
|
18 B | |
| 008627 | unicode/part4/line 19862 NormalizationTest.txt |
ᾝ␊ᾝ␊ᾝ
|
18 B | |
| 008628 | unicode/part4/line 19863 NormalizationTest.txt |
ᾝ␊ᾝ␊ᾝ
|
20 B | |
| 008629 | unicode/part4/line 19864 NormalizationTest.txt |
ᾝ␊ᾝ␊ᾝ
|
20 B | |
| 008630 | unicode/part4/line 19865 NormalizationTest.txt |
ᾝ␊ᾝ␊ᾝ
|
20 B | |
| 008631 | unicode/part4/line 19866 NormalizationTest.txt |
ᾝ␊ᾝ␊ᾝ
|
20 B | |
| 008632 | unicode/part4/line 19867 NormalizationTest.txt |
ᾝ␊ᾝ␊ᾝ
|
20 B | |
| 008633 | unicode/part4/line 19868 NormalizationTest.txt |
ᾝ␊ᾝ␊ᾝ
|
20 B | |
| 008634 | unicode/part4/line 19869 NormalizationTest.txt |
ᾞ␊ᾞ␊ᾞ
|
18 B | |
| 008635 | unicode/part4/line 19870 NormalizationTest.txt |
ᾞ␊ᾞ␊ᾞ
|
18 B | |
| 008636 | unicode/part4/line 19871 NormalizationTest.txt |
ᾞ␊ᾞ␊ᾞ
|
20 B | |
| 008637 | unicode/part4/line 19872 NormalizationTest.txt |
ᾞ␊ᾞ␊ᾞ
|
20 B | |
| 008638 | unicode/part4/line 19873 NormalizationTest.txt |
ᾞ␊ᾞ␊ᾞ
|
20 B | |
| 008639 | unicode/part4/line 19874 NormalizationTest.txt |
ᾞ␊ᾞ␊ᾞ
|
20 B | |
| 008640 | unicode/part4/line 19875 NormalizationTest.txt |
ᾟ␊ᾟ␊ᾟ
|
18 B | |
| 008641 | unicode/part4/line 19876 NormalizationTest.txt |
ᾟ␊ᾟ␊ᾟ
|
18 B | |
| 008642 | unicode/part4/line 19877 NormalizationTest.txt |
ᾟ␊ᾟ␊ᾟ
|
20 B | |
| 008643 | unicode/part4/line 19878 NormalizationTest.txt |
ᾟ␊ᾟ␊ᾟ
|
20 B | |
| 008644 | unicode/part4/line 19879 NormalizationTest.txt |
ᾟ␊ᾟ␊ᾟ
|
20 B | |
| 008645 | unicode/part4/line 19880 NormalizationTest.txt |
ᾠ␊ᾠ␊ᾠ
|
16 B | |
| 008646 | unicode/part4/line 19881 NormalizationTest.txt |
ᾠ␊ᾠ␊ᾠ
|
16 B | |
| 008647 | unicode/part4/line 19882 NormalizationTest.txt |
ᾠ␊ᾠ␊ᾠ
|
16 B | |
| 008648 | unicode/part4/line 19883 NormalizationTest.txt |
ᾡ␊ᾡ␊ᾡ
|
16 B | |
| 008649 | unicode/part4/line 19884 NormalizationTest.txt |
ᾡ␊ᾡ␊ᾡ
|
16 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