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 |
|---|---|---|---|---|
| 006650 | unicode/part2/line 17878 NormalizationTest.txt |
à֮॔̕b␊à֮॔̕b␊à֮॔̕b
|
34 B | |
| 006651 | unicode/part2/line 17879 NormalizationTest.txt |
a֮॔̀̕b␊a֮॔̀̕b
|
23 B | |
| 006652 | unicode/part2/line 17880 NormalizationTest.txt |
a𖿰़়゙b␊a𖿰़়゙b
|
31 B | |
| 006653 | unicode/part2/line 17881 NormalizationTest.txt |
a𖿰়़゙b␊a𖿰়़゙b
|
31 B | |
| 006654 | unicode/part2/line 17882 NormalizationTest.txt |
a゙्্ְb␊a゙्্ְb
|
27 B | |
| 006655 | unicode/part2/line 17883 NormalizationTest.txt |
a゙্्ְb␊a゙্्ְb
|
27 B | |
| 006656 | unicode/part2/line 17884 NormalizationTest.txt |
à֮৾̕b␊à֮৾̕b␊à֮৾̕b
|
34 B | |
| 006657 | unicode/part2/line 17885 NormalizationTest.txt |
a֮৾̀̕b␊a֮৾̀̕b
|
23 B | |
| 006658 | unicode/part2/line 17886 NormalizationTest.txt |
a𖿰़਼゙b␊a𖿰़਼゙b
|
31 B | |
| 006659 | unicode/part2/line 17887 NormalizationTest.txt |
a𖿰਼़゙b␊a𖿰਼़゙b
|
31 B | |
| 006660 | unicode/part2/line 17888 NormalizationTest.txt |
a゙्੍ְb␊a゙्੍ְb
|
27 B | |
| 006661 | unicode/part2/line 17889 NormalizationTest.txt |
a゙੍्ְb␊a゙੍्ְb
|
27 B | |
| 006662 | unicode/part2/line 17890 NormalizationTest.txt |
a𖿰़઼゙b␊a𖿰़઼゙b
|
31 B | |
| 006663 | unicode/part2/line 17891 NormalizationTest.txt |
a𖿰઼़゙b␊a𖿰઼़゙b
|
31 B | |
| 006664 | unicode/part2/line 17892 NormalizationTest.txt |
a゙्્ְb␊a゙्્ְb
|
27 B | |
| 006665 | unicode/part2/line 17893 NormalizationTest.txt |
a゙્्ְb␊a゙્्ְb
|
27 B | |
| 006666 | unicode/part2/line 17894 NormalizationTest.txt |
a𖿰़଼゙b␊a𖿰़଼゙b
|
31 B | |
| 006667 | unicode/part2/line 17895 NormalizationTest.txt |
a𖿰଼़゙b␊a𖿰଼़゙b
|
31 B | |
| 006668 | unicode/part2/line 17896 NormalizationTest.txt |
a゙्୍ְb␊a゙्୍ְb
|
27 B | |
| 006669 | unicode/part2/line 17897 NormalizationTest.txt |
a゙୍्ְb␊a゙୍्ְb
|
27 B | |
| 006670 | unicode/part2/line 17898 NormalizationTest.txt |
a゙्்ְb␊a゙्்ְb
|
27 B | |
| 006671 | unicode/part2/line 17899 NormalizationTest.txt |
a゙்्ְb␊a゙்्ְb
|
27 B | |
| 006672 | unicode/part2/line 17900 NormalizationTest.txt |
a𖿰़఼゙b␊a𖿰़఼゙b
|
31 B | |
| 006673 | unicode/part2/line 17901 NormalizationTest.txt |
a𖿰఼़゙b␊a𖿰఼़゙b
|
31 B | |
| 006674 | unicode/part2/line 17902 NormalizationTest.txt |
a゙्్ְb␊a゙्్ְb
|
27 B | |
| 006675 | unicode/part2/line 17903 NormalizationTest.txt |
a゙్्ְb␊a゙్्ְb
|
27 B | |
| 006676 | unicode/part2/line 17904 NormalizationTest.txt |
aܑౕౕౖb␊aܑౕౕౖb
|
27 B | |
| 006677 | unicode/part2/line 17905 NormalizationTest.txt |
aܑౕౕౖb␊aܑౕౕౖb
|
27 B | |
| 006678 | unicode/part2/line 17906 NormalizationTest.txt |
aౕౖౖุb␊aౕౖౖุb
|
29 B | |
| 006679 | unicode/part2/line 17907 NormalizationTest.txt |
aౕౖౖุb␊aౕౖౖุb
|
29 B | |
| 006680 | unicode/part2/line 17908 NormalizationTest.txt |
a𖿰़಼゙b␊a𖿰़಼゙b
|
31 B | |
| 006681 | unicode/part2/line 17909 NormalizationTest.txt |
a𖿰಼़゙b␊a𖿰಼़゙b
|
31 B | |
| 006682 | unicode/part2/line 17910 NormalizationTest.txt |
a゙्್ְb␊a゙्್ְb
|
27 B | |
| 006683 | unicode/part2/line 17911 NormalizationTest.txt |
a゙್्ְb␊a゙್्ְb
|
27 B | |
| 006684 | unicode/part2/line 17912 NormalizationTest.txt |
a゙्഻ְb␊a゙्഻ְb
|
27 B | |
| 006685 | unicode/part2/line 17913 NormalizationTest.txt |
a゙഻्ְb␊a゙഻्ְb
|
27 B | |
| 006686 | unicode/part2/line 17914 NormalizationTest.txt |
a゙्഼ְb␊a゙्഼ְb
|
27 B | |
| 006687 | unicode/part2/line 17915 NormalizationTest.txt |
a゙഼्ְb␊a゙഼्ְb
|
27 B | |
| 006688 | unicode/part2/line 17916 NormalizationTest.txt |
a゙्്ְb␊a゙्്ְb
|
27 B | |
| 006689 | unicode/part2/line 17917 NormalizationTest.txt |
a゙്्ְb␊a゙്्ְb
|
27 B | |
| 006690 | unicode/part2/line 17918 NormalizationTest.txt |
a゙्්ְb␊a゙्්ְb
|
27 B | |
| 006691 | unicode/part2/line 17919 NormalizationTest.txt |
a゙්्ְb␊a゙්्ְb
|
27 B | |
| 006692 | unicode/part2/line 17920 NormalizationTest.txt |
aౖุุ่b␊aౖุุ่b
|
29 B | |
| 006693 | unicode/part2/line 17921 NormalizationTest.txt |
aౖุุ่b␊aౖุุ่b
|
29 B | |
| 006694 | unicode/part2/line 17922 NormalizationTest.txt |
aౖุู่b␊aౖุู่b
|
29 B | |
| 006695 | unicode/part2/line 17923 NormalizationTest.txt |
aౖูุ่b␊aౖูุ่b
|
29 B | |
| 006696 | unicode/part2/line 17924 NormalizationTest.txt |
a゙्ฺְb␊a゙्ฺְb
|
27 B | |
| 006697 | unicode/part2/line 17925 NormalizationTest.txt |
a゙ฺ्ְb␊a゙ฺ्ְb
|
27 B | |
| 006698 | unicode/part2/line 17926 NormalizationTest.txt |
aุ่่ຸb␊aุ่่ຸb
|
29 B | |
| 006699 | unicode/part2/line 17927 NormalizationTest.txt |
aุ่่ຸb␊aุ่่ຸb
|
29 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