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
38 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 008811 | unicode/part5/line 20056 NormalizationTest.txt |
ππΈβππΈβππΈ
|
30 B | |
| 008812 | unicode/part5/line 20057 NormalizationTest.txt |
π
πΈβπ
πΈβπ
πΈ
|
30 B | |
| 008813 | unicode/part5/line 20058 NormalizationTest.txt |
ππβππβππ
|
30 B | |
| 008814 | unicode/part5/line 20059 NormalizationTest.txt |
ππ
βππ
βππ
|
38 B | |
| 008815 | unicode/part5/line 20060 NormalizationTest.txt |
ππβππβππ
|
38 B | |
| 008816 | unicode/part5/line 20061 NormalizationTest.txt |
ππβππβππ
|
38 B | |
| 008817 | unicode/part5/line 20062 NormalizationTest.txt |
π
πβπ
πβπ
π
|
30 B | |
| 008818 | unicode/part5/line 20063 NormalizationTest.txt |
π
π
βπ
π
βπ
π
|
38 B | |
| 008819 | unicode/part5/line 20064 NormalizationTest.txt |
π
πβπ
πβπ
π
|
38 B | |
| 008820 | unicode/part5/line 20065 NormalizationTest.txt |
π
πβπ
πβπ
π
|
38 B | |
| 008821 | unicode/part5/line 20066 NormalizationTest.txt |
ππβππβππ
|
30 B | |
| 008822 | unicode/part5/line 20067 NormalizationTest.txt |
π
πβπ
πβπ
π
|
30 B | |
| 008823 | unicode/part5/line 20068 NormalizationTest.txt |
π‘π£βπ‘π£βπ‘π£
|
38 B | |
| 008824 | unicode/part5/line 20069 NormalizationTest.txt |
π‘π€βπ‘π€βπ‘π€
|
38 B | |
| 008825 | unicode/part5/line 20070 NormalizationTest.txt |
π‘π₯βπ‘π₯βπ‘π₯
|
38 B | |
| 008826 | unicode/part5/line 20071 NormalizationTest.txt |
π‘πβπ‘πβπ‘π
|
30 B | |
| 008827 | unicode/part5/line 20072 NormalizationTest.txt |
π‘π‘βπ‘π‘βπ‘π‘
|
38 B | |
| 008828 | unicode/part5/line 20073 NormalizationTest.txt |
π‘π’βπ‘π’βπ‘π’
|
38 B | |
| 008829 | unicode/part5/line 20074 NormalizationTest.txt |
π‘π£βπ‘π£βπ‘π£
|
34 B | |
| 008830 | unicode/part5/line 20075 NormalizationTest.txt |
π‘π£βπ‘π£βπ‘π£
|
38 B | |
| 008831 | unicode/part5/line 20076 NormalizationTest.txt |
π‘π₯βπ‘π₯βπ‘π₯
|
34 B | |
| 008832 | unicode/part5/line 20077 NormalizationTest.txt |
π‘π₯βπ‘π₯βπ‘π₯
|
38 B | |
| 008833 | unicode/part5/line 20078 NormalizationTest.txt |
π‘π¦βπ‘π¦βπ‘π¦
|
42 B | |
| 008834 | unicode/part5/line 20079 NormalizationTest.txt |
π‘π¦βπ‘π¦βπ‘π¦
|
46 B | |
| 008835 | unicode/part5/line 20080 NormalizationTest.txt |
π‘π§βπ‘π§βπ‘π§
|
42 B | |
| 008836 | unicode/part5/line 20081 NormalizationTest.txt |
π‘π§βπ‘π§βπ‘π§
|
46 B | |
| 008837 | unicode/part5/line 20082 NormalizationTest.txt |
π‘π¨βπ‘π¨βπ‘π¨
|
42 B | |
| 008838 | unicode/part5/line 20083 NormalizationTest.txt |
π‘π¨βπ‘π¨βπ‘π¨
|
46 B | |
| 008839 | unicode/part5/line 20084 NormalizationTest.txt |
π‘π€βπ‘π€βπ‘π€
|
34 B | |
| 008840 | unicode/part5/line 20085 NormalizationTest.txt |
π‘π€βπ‘π€βπ‘π€
|
38 B | |
| 008841 | unicode/part5/line 20086 NormalizationTest.txt |
π‘π©βπ‘π©βπ‘π©
|
30 B | |
| 008842 | unicode/part5/line 20087 NormalizationTest.txt |
π΅¨π΅§βπ΅¨π΅§βπ΅¨π΅§
|
30 B | |
| 008843 | unicode/part5/line 20088 NormalizationTest.txt |
π΅¨π΅¨βπ΅¨π΅¨βπ΅¨π΅¨
|
38 B | |
| 008844 | unicode/part5/line 20089 NormalizationTest.txt |
π΅ͺπ΅§βπ΅ͺπ΅§βπ΅ͺπ΅§
|
38 B | |
| 008845 | unicode/part5/line 20090 NormalizationTest.txt |
π΅ͺπ΅§βπ΅ͺπ΅§βπ΅ͺπ΅§
|
34 B | |
| 008846 | unicode/part5/line 20091 NormalizationTest.txt |
π΅ͺπ΅§βπ΅ͺπ΅§βπ΅ͺπ΅§
|
38 B | |
| 008847 | unicode/part5/line 20092 NormalizationTest.txt |
π΅ͺπ΅¨βπ΅ͺπ΅¨βπ΅ͺπ΅¨
|
42 B | |
| 008848 | unicode/part5/line 20093 NormalizationTest.txt |
π΅ͺπ΅¨βπ΅ͺπ΅¨βπ΅ͺπ΅¨
|
46 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