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
93 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 002888 | unicode/part1/U+FB39 NormalizationTest.txt |
יּ␊יּ
|
8 B | |
| 002889 | unicode/part1/U+FB3A NormalizationTest.txt |
ךּ␊ךּ
|
8 B | |
| 002890 | unicode/part1/U+FB3B NormalizationTest.txt |
כּ␊כּ
|
8 B | |
| 002891 | unicode/part1/U+FB3C NormalizationTest.txt |
לּ␊לּ
|
8 B | |
| 002892 | unicode/part1/U+FB3E NormalizationTest.txt |
מּ␊מּ
|
8 B | |
| 002893 | unicode/part1/U+FB40 NormalizationTest.txt |
נּ␊נּ
|
8 B | |
| 002894 | unicode/part1/U+FB41 NormalizationTest.txt |
סּ␊סּ
|
8 B | |
| 002895 | unicode/part1/U+FB43 NormalizationTest.txt |
ףּ␊ףּ
|
8 B | |
| 002896 | unicode/part1/U+FB44 NormalizationTest.txt |
פּ␊פּ
|
8 B | |
| 002897 | unicode/part1/U+FB46 NormalizationTest.txt |
צּ␊צּ
|
8 B | |
| 002898 | unicode/part1/U+FB47 NormalizationTest.txt |
קּ␊קּ
|
8 B | |
| 002899 | unicode/part1/U+FB48 NormalizationTest.txt |
רּ␊רּ
|
8 B | |
| 002900 | unicode/part1/U+FB49 NormalizationTest.txt |
שּ␊שּ
|
8 B | |
| 002901 | unicode/part1/U+FB4A NormalizationTest.txt |
תּ␊תּ
|
8 B | |
| 002902 | unicode/part1/U+FB4B NormalizationTest.txt |
וֹ␊וֹ
|
8 B | |
| 002903 | unicode/part1/U+FB4C NormalizationTest.txt |
בֿ␊בֿ
|
8 B | |
| 002904 | unicode/part1/U+FB4D NormalizationTest.txt |
כֿ␊כֿ
|
8 B | |
| 002905 | unicode/part1/U+FB4E NormalizationTest.txt |
פֿ␊פֿ
|
8 B | |
| 004054 | unicode/part1/U+1D15E NormalizationTest.txt |
𝅗𝅥␊𝅗𝅥
|
13 B | |
| 004055 | unicode/part1/U+1D15F NormalizationTest.txt |
𝅘𝅥␊𝅘𝅥
|
13 B | |
| 004056 | unicode/part1/U+1D160 NormalizationTest.txt |
𝅘𝅥𝅮␊𝅘𝅥𝅮
|
17 B | |
| 004057 | unicode/part1/U+1D161 NormalizationTest.txt |
𝅘𝅥𝅯␊𝅘𝅥𝅯
|
17 B | |
| 004058 | unicode/part1/U+1D162 NormalizationTest.txt |
𝅘𝅥𝅰␊𝅘𝅥𝅰
|
17 B | |
| 004059 | unicode/part1/U+1D163 NormalizationTest.txt |
𝅘𝅥𝅱␊𝅘𝅥𝅱
|
17 B | |
| 004060 | unicode/part1/U+1D164 NormalizationTest.txt |
𝅘𝅥𝅲␊𝅘𝅥𝅲
|
17 B | |
| 004061 | unicode/part1/U+1D1BB NormalizationTest.txt |
𝆹𝅥␊𝆹𝅥
|
13 B | |
| 004062 | unicode/part1/U+1D1BC NormalizationTest.txt |
𝆺𝅥␊𝆺𝅥
|
13 B | |
| 004063 | unicode/part1/U+1D1BD NormalizationTest.txt |
𝆹𝅥𝅮␊𝆹𝅥𝅮
|
17 B | |
| 004064 | unicode/part1/U+1D1BE NormalizationTest.txt |
𝆺𝅥𝅮␊𝆺𝅥𝅮
|
17 B | |
| 004065 | unicode/part1/U+1D1BF NormalizationTest.txt |
𝆹𝅥𝅯␊𝆹𝅥𝅯
|
17 B | |
| 004066 | unicode/part1/U+1D1C0 NormalizationTest.txt |
𝆺𝅥𝅯␊𝆺𝅥𝅯
|
17 B | |
| 009046 | regression/exclusion/devanagari qa Focused regression |
क़
|
3 B | |
| 009047 | regression/exclusion/devanagari ka nukta Focused regression |
क़
|
6 B | |
| 009048 | regression/exclusion/every devanagari exclusion Focused regression |
क़ख़ग़ज़ड़ढ़फ़य़
|
24 B | |
| 009049 | regression/exclusion/hebrew presentation forms Focused regression |
יִשׁשּׁפֿ
|
12 B | |
| 009050 | regression/exclusion/forking Focused regression |
⫝̸
|
3 B | |
| 009051 | regression/exclusion/musical symbols Focused regression |
𝅗𝅥𝅘𝅥𝅮𝆹𝅥𝆺𝅥𝅯
|
16 B | |
| 009052 | regression/exclusion/tibetan Focused regression |
གྷཀྵྲྀླྀ
|
12 B | |
| 009053 | regression/exclusion/bengali and oriya Focused regression |
ড়ঢ়য়ଡ଼ଢ଼
|
15 B | |
| 009054 | regression/exclusion/gurmukhi Focused regression |
ਲ਼ਸ਼ਖ਼ਗ਼ਜ਼ਫ਼
|
18 B | |
| 009055 | regression/exclusion/not excluded: devanagari nnna Focused regression |
ऩ ऱ ऴ
|
20 B | |
| 009116 | regression/length/grows three times Focused regression |
𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮𝅘𝅥𝅮…
|
8.0 KiB | |
| 009117 | regression/length/grows twice Focused regression |
क़क़क़क़क़क़क़क़क़क़क़क़क़क़क़क़क़क़क़क़क़क़क़क़क़क़क़क़क़क़क़क़क़क़क़क़क़क़क़क़क़क़क़क़क़क़क़क़…
|
2.9 KiB |
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