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 |
|---|---|---|---|---|
| 003850 | unicode/part1/U+FF93 NormalizationTest.txt |
モ␊モ
|
7 B | |
| 003851 | unicode/part1/U+FF94 NormalizationTest.txt |
ヤ␊ヤ
|
7 B | |
| 003852 | unicode/part1/U+FF95 NormalizationTest.txt |
ユ␊ユ
|
7 B | |
| 003853 | unicode/part1/U+FF96 NormalizationTest.txt |
ヨ␊ヨ
|
7 B | |
| 003854 | unicode/part1/U+FF97 NormalizationTest.txt |
ラ␊ラ
|
7 B | |
| 003855 | unicode/part1/U+FF98 NormalizationTest.txt |
リ␊リ
|
7 B | |
| 003856 | unicode/part1/U+FF99 NormalizationTest.txt |
ル␊ル
|
7 B | |
| 003857 | unicode/part1/U+FF9A NormalizationTest.txt |
レ␊レ
|
7 B | |
| 003858 | unicode/part1/U+FF9B NormalizationTest.txt |
ロ␊ロ
|
7 B | |
| 003859 | unicode/part1/U+FF9C NormalizationTest.txt |
ワ␊ワ
|
7 B | |
| 003860 | unicode/part1/U+FF9D NormalizationTest.txt |
ン␊ン
|
7 B | |
| 003861 | unicode/part1/U+FF9E NormalizationTest.txt |
゙␊゙
|
7 B | |
| 003862 | unicode/part1/U+FF9F NormalizationTest.txt |
゚␊゚
|
7 B | |
| 003863 | unicode/part1/U+FFA0 NormalizationTest.txt |
ᅠ␊ᅠ
|
7 B | |
| 003864 | unicode/part1/U+FFA1 NormalizationTest.txt |
ᄀ␊ᄀ
|
7 B | |
| 003865 | unicode/part1/U+FFA2 NormalizationTest.txt |
ᄁ␊ᄁ
|
7 B | |
| 003866 | unicode/part1/U+FFA3 NormalizationTest.txt |
ᆪ␊ᆪ
|
7 B | |
| 003867 | unicode/part1/U+FFA4 NormalizationTest.txt |
ᄂ␊ᄂ
|
7 B | |
| 003868 | unicode/part1/U+FFA5 NormalizationTest.txt |
ᆬ␊ᆬ
|
7 B | |
| 003869 | unicode/part1/U+FFA6 NormalizationTest.txt |
ᆭ␊ᆭ
|
7 B | |
| 003870 | unicode/part1/U+FFA7 NormalizationTest.txt |
ᄃ␊ᄃ
|
7 B | |
| 003871 | unicode/part1/U+FFA8 NormalizationTest.txt |
ᄄ␊ᄄ
|
7 B | |
| 003872 | unicode/part1/U+FFA9 NormalizationTest.txt |
ᄅ␊ᄅ
|
7 B | |
| 003873 | unicode/part1/U+FFAA NormalizationTest.txt |
ᆰ␊ᆰ
|
7 B | |
| 003874 | unicode/part1/U+FFAB NormalizationTest.txt |
ᆱ␊ᆱ
|
7 B | |
| 003875 | unicode/part1/U+FFAC NormalizationTest.txt |
ᆲ␊ᆲ
|
7 B | |
| 003876 | unicode/part1/U+FFAD NormalizationTest.txt |
ᆳ␊ᆳ
|
7 B | |
| 003877 | unicode/part1/U+FFAE NormalizationTest.txt |
ᆴ␊ᆴ
|
7 B | |
| 003878 | unicode/part1/U+FFAF NormalizationTest.txt |
ᆵ␊ᆵ
|
7 B | |
| 003879 | unicode/part1/U+FFB0 NormalizationTest.txt |
ᄚ␊ᄚ
|
7 B | |
| 003880 | unicode/part1/U+FFB1 NormalizationTest.txt |
ᄆ␊ᄆ
|
7 B | |
| 003881 | unicode/part1/U+FFB2 NormalizationTest.txt |
ᄇ␊ᄇ
|
7 B | |
| 003882 | unicode/part1/U+FFB3 NormalizationTest.txt |
ᄈ␊ᄈ
|
7 B | |
| 003883 | unicode/part1/U+FFB4 NormalizationTest.txt |
ᄡ␊ᄡ
|
7 B | |
| 003884 | unicode/part1/U+FFB5 NormalizationTest.txt |
ᄉ␊ᄉ
|
7 B | |
| 003885 | unicode/part1/U+FFB6 NormalizationTest.txt |
ᄊ␊ᄊ
|
7 B | |
| 003886 | unicode/part1/U+FFB7 NormalizationTest.txt |
ᄋ␊ᄋ
|
7 B | |
| 003887 | unicode/part1/U+FFB8 NormalizationTest.txt |
ᄌ␊ᄌ
|
7 B | |
| 003888 | unicode/part1/U+FFB9 NormalizationTest.txt |
ᄍ␊ᄍ
|
7 B | |
| 003889 | unicode/part1/U+FFBA NormalizationTest.txt |
ᄎ␊ᄎ
|
7 B | |
| 003890 | unicode/part1/U+FFBB NormalizationTest.txt |
ᄏ␊ᄏ
|
7 B | |
| 003891 | unicode/part1/U+FFBC NormalizationTest.txt |
ᄐ␊ᄐ
|
7 B | |
| 003892 | unicode/part1/U+FFBD NormalizationTest.txt |
ᄑ␊ᄑ
|
7 B | |
| 003893 | unicode/part1/U+FFBE NormalizationTest.txt |
ᄒ␊ᄒ
|
7 B | |
| 003894 | unicode/part1/U+FFC2 NormalizationTest.txt |
ᅡ␊ᅡ
|
7 B | |
| 003895 | unicode/part1/U+FFC3 NormalizationTest.txt |
ᅢ␊ᅢ
|
7 B | |
| 003896 | unicode/part1/U+FFC4 NormalizationTest.txt |
ᅣ␊ᅣ
|
7 B | |
| 003897 | unicode/part1/U+FFC5 NormalizationTest.txt |
ᅤ␊ᅤ
|
7 B | |
| 003898 | unicode/part1/U+FFC6 NormalizationTest.txt |
ᅥ␊ᅥ
|
7 B | |
| 003899 | unicode/part1/U+FFC7 NormalizationTest.txt |
ᅦ␊ᅦ
|
7 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