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 |
|---|---|---|---|---|
| 004800 | unicode/part1/U+1D6F7 NormalizationTest.txt |
π·βΞ¦
|
7 B | |
| 004801 | unicode/part1/U+1D6F8 NormalizationTest.txt |
πΈβΞ§
|
7 B | |
| 004802 | unicode/part1/U+1D6F9 NormalizationTest.txt |
πΉβΞ¨
|
7 B | |
| 004803 | unicode/part1/U+1D6FA NormalizationTest.txt |
πΊβΞ©
|
7 B | |
| 004804 | unicode/part1/U+1D6FB NormalizationTest.txt |
π»ββ
|
8 B | |
| 004805 | unicode/part1/U+1D6FC NormalizationTest.txt |
πΌβΞ±
|
7 B | |
| 004806 | unicode/part1/U+1D6FD NormalizationTest.txt |
π½βΞ²
|
7 B | |
| 004807 | unicode/part1/U+1D6FE NormalizationTest.txt |
πΎβΞ³
|
7 B | |
| 004808 | unicode/part1/U+1D6FF NormalizationTest.txt |
πΏβΞ΄
|
7 B | |
| 004809 | unicode/part1/U+1D700 NormalizationTest.txt |
πβΞ΅
|
7 B | |
| 004810 | unicode/part1/U+1D701 NormalizationTest.txt |
πβΞΆ
|
7 B | |
| 004811 | unicode/part1/U+1D702 NormalizationTest.txt |
πβΞ·
|
7 B | |
| 004812 | unicode/part1/U+1D703 NormalizationTest.txt |
πβΞΈ
|
7 B | |
| 004813 | unicode/part1/U+1D704 NormalizationTest.txt |
πβΞΉ
|
7 B | |
| 004814 | unicode/part1/U+1D705 NormalizationTest.txt |
π
βΞΊ
|
7 B | |
| 004815 | unicode/part1/U+1D706 NormalizationTest.txt |
πβΞ»
|
7 B | |
| 004816 | unicode/part1/U+1D707 NormalizationTest.txt |
πβΞΌ
|
7 B | |
| 004817 | unicode/part1/U+1D708 NormalizationTest.txt |
πβΞ½
|
7 B | |
| 004818 | unicode/part1/U+1D709 NormalizationTest.txt |
πβΞΎ
|
7 B | |
| 004819 | unicode/part1/U+1D70A NormalizationTest.txt |
πβΞΏ
|
7 B | |
| 004820 | unicode/part1/U+1D70B NormalizationTest.txt |
πβΟ
|
7 B | |
| 004821 | unicode/part1/U+1D70C NormalizationTest.txt |
πβΟ
|
7 B | |
| 004822 | unicode/part1/U+1D70D NormalizationTest.txt |
πβΟ
|
7 B | |
| 004823 | unicode/part1/U+1D70E NormalizationTest.txt |
πβΟ
|
7 B | |
| 004824 | unicode/part1/U+1D70F NormalizationTest.txt |
πβΟ
|
7 B | |
| 004825 | unicode/part1/U+1D710 NormalizationTest.txt |
πβΟ
|
7 B | |
| 004826 | unicode/part1/U+1D711 NormalizationTest.txt |
πβΟ
|
7 B | |
| 004827 | unicode/part1/U+1D712 NormalizationTest.txt |
πβΟ
|
7 B | |
| 004828 | unicode/part1/U+1D713 NormalizationTest.txt |
πβΟ
|
7 B | |
| 004829 | unicode/part1/U+1D714 NormalizationTest.txt |
πβΟ
|
7 B | |
| 004830 | unicode/part1/U+1D715 NormalizationTest.txt |
πββ
|
8 B | |
| 004831 | unicode/part1/U+1D716 NormalizationTest.txt |
πβΞ΅
|
7 B | |
| 004832 | unicode/part1/U+1D717 NormalizationTest.txt |
πβΞΈ
|
7 B | |
| 004833 | unicode/part1/U+1D718 NormalizationTest.txt |
πβΞΊ
|
7 B | |
| 004834 | unicode/part1/U+1D719 NormalizationTest.txt |
πβΟ
|
7 B | |
| 004835 | unicode/part1/U+1D71A NormalizationTest.txt |
πβΟ
|
7 B | |
| 004836 | unicode/part1/U+1D71B NormalizationTest.txt |
πβΟ
|
7 B | |
| 004837 | unicode/part1/U+1D71C NormalizationTest.txt |
πβΞ
|
7 B | |
| 004838 | unicode/part1/U+1D71D NormalizationTest.txt |
πβΞ
|
7 B | |
| 004839 | unicode/part1/U+1D71E NormalizationTest.txt |
πβΞ
|
7 B | |
| 004840 | unicode/part1/U+1D71F NormalizationTest.txt |
πβΞ
|
7 B | |
| 004841 | unicode/part1/U+1D720 NormalizationTest.txt |
π βΞ
|
7 B | |
| 004842 | unicode/part1/U+1D721 NormalizationTest.txt |
π‘βΞ
|
7 B | |
| 004843 | unicode/part1/U+1D722 NormalizationTest.txt |
π’βΞ
|
7 B | |
| 004844 | unicode/part1/U+1D723 NormalizationTest.txt |
π£βΞ
|
7 B | |
| 004845 | unicode/part1/U+1D724 NormalizationTest.txt |
π€βΞ
|
7 B | |
| 004846 | unicode/part1/U+1D725 NormalizationTest.txt |
π₯βΞ
|
7 B | |
| 004847 | unicode/part1/U+1D726 NormalizationTest.txt |
π¦βΞ
|
7 B | |
| 004848 | unicode/part1/U+1D727 NormalizationTest.txt |
π§βΞ
|
7 B | |
| 004849 | unicode/part1/U+1D728 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