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
727 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 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 | |
| 008650 | unicode/part4/line 19885 NormalizationTest.txt |
ᾢ␊ᾢ␊ᾢ
|
18 B | |
| 008651 | unicode/part4/line 19886 NormalizationTest.txt |
ᾢ␊ᾢ␊ᾢ
|
18 B | |
| 008652 | unicode/part4/line 19887 NormalizationTest.txt |
ᾢ␊ᾢ␊ᾢ
|
18 B | |
| 008653 | unicode/part4/line 19888 NormalizationTest.txt |
ᾢ␊ᾢ␊ᾢ
|
20 B | |
| 008654 | unicode/part4/line 19889 NormalizationTest.txt |
ᾢ␊ᾢ␊ᾢ
|
20 B | |
| 008655 | unicode/part4/line 19890 NormalizationTest.txt |
ᾢ␊ᾢ␊ᾢ
|
20 B | |
| 008656 | unicode/part4/line 19891 NormalizationTest.txt |
ᾢ␊ᾢ␊ᾢ
|
20 B | |
| 008657 | unicode/part4/line 19892 NormalizationTest.txt |
ᾢ␊ᾢ␊ᾢ
|
20 B | |
| 008658 | unicode/part4/line 19893 NormalizationTest.txt |
ᾢ␊ᾢ␊ᾢ
|
20 B | |
| 008659 | unicode/part4/line 19894 NormalizationTest.txt |
ᾢ␊ᾢ␊ᾢ
|
20 B | |
| 008660 | unicode/part4/line 19895 NormalizationTest.txt |
ᾢ␊ᾢ␊ᾢ
|
20 B | |
| 008661 | unicode/part4/line 19896 NormalizationTest.txt |
ᾣ␊ᾣ␊ᾣ
|
18 B | |
| 008662 | unicode/part4/line 19897 NormalizationTest.txt |
ᾣ␊ᾣ␊ᾣ
|
18 B | |
| 008663 | unicode/part4/line 19898 NormalizationTest.txt |
ᾣ␊ᾣ␊ᾣ
|
18 B | |
| 008664 | unicode/part4/line 19899 NormalizationTest.txt |
ᾣ␊ᾣ␊ᾣ
|
20 B | |
| 008665 | unicode/part4/line 19900 NormalizationTest.txt |
ᾣ␊ᾣ␊ᾣ
|
20 B | |
| 008666 | unicode/part4/line 19901 NormalizationTest.txt |
ᾣ␊ᾣ␊ᾣ
|
20 B | |
| 008667 | unicode/part4/line 19902 NormalizationTest.txt |
ᾣ␊ᾣ␊ᾣ
|
20 B | |
| 008668 | unicode/part4/line 19903 NormalizationTest.txt |
ᾣ␊ᾣ␊ᾣ
|
20 B | |
| 008669 | unicode/part4/line 19904 NormalizationTest.txt |
ᾣ␊ᾣ␊ᾣ
|
20 B | |
| 008670 | unicode/part4/line 19905 NormalizationTest.txt |
ᾤ␊ᾤ␊ᾤ
|
18 B | |
| 008671 | unicode/part4/line 19906 NormalizationTest.txt |
ᾤ␊ᾤ␊ᾤ
|
18 B | |
| 008672 | unicode/part4/line 19907 NormalizationTest.txt |
ᾤ␊ᾤ␊ᾤ
|
18 B | |
| 008673 | unicode/part4/line 19908 NormalizationTest.txt |
ᾤ␊ᾤ␊ᾤ
|
20 B | |
| 008674 | unicode/part4/line 19909 NormalizationTest.txt |
ᾤ␊ᾤ␊ᾤ
|
20 B | |
| 008675 | unicode/part4/line 19910 NormalizationTest.txt |
ᾤ␊ᾤ␊ᾤ
|
20 B | |
| 008676 | unicode/part4/line 19911 NormalizationTest.txt |
ᾤ␊ᾤ␊ᾤ
|
20 B | |
| 008677 | unicode/part4/line 19912 NormalizationTest.txt |
ᾤ␊ᾤ␊ᾤ
|
20 B | |
| 008678 | unicode/part4/line 19913 NormalizationTest.txt |
ᾤ␊ᾤ␊ᾤ
|
20 B | |
| 008679 | unicode/part4/line 19914 NormalizationTest.txt |
ᾤ␊ᾤ␊ᾤ
|
20 B | |
| 008680 | unicode/part4/line 19915 NormalizationTest.txt |
ᾤ␊ᾤ␊ᾤ
|
20 B | |
| 008681 | unicode/part4/line 19916 NormalizationTest.txt |
ᾥ␊ᾥ␊ᾥ
|
18 B | |
| 008682 | unicode/part4/line 19917 NormalizationTest.txt |
ᾥ␊ᾥ␊ᾥ
|
18 B | |
| 008683 | unicode/part4/line 19918 NormalizationTest.txt |
ᾥ␊ᾥ␊ᾥ
|
18 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