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
221 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 010819 | generated/0902 Generated |
áeụ́́̈Å̧̃̀UǑǒAę̄̄ụ̈̂̇aà̈̈ụ̧́Ŭ̄̀̀ậ̄̄ẽ̊̀
|
86 B | |
| 010828 | generated/0911 Generated |
ǒ̈̃̀à
|
12 B | |
| 010837 | generated/0920 Generated |
ů̧̌ụ̂̄̆ę̣Ó̂̌Ę̊̆̌ǔ̧́̈ą̆̆ệ̈Úǫ̌̌̊Ų̣̆̇ù̧̃̊Á̧̧̂Ueä̇̈
|
108 B | |
| 010845 | generated/0929 Generated |
ŏǛ́̈ěẠ̃oó̊̂ẹ̄̆è̃ăĘ̨̣ú̃EAå̌EÜêẠ̊̆ă̌̌o̊̇ăỌ̈́̇ä̈̌̃U̧̇̃̆
|
118 B | |
| 010854 | generated/0938 Generated |
uö̃uǍ̧̄̂eô̇̃̈ē̈̈̊ü̈ě̇Āụ̇ù̇̀
|
60 B | |
| 010863 | generated/0947 Generated |
ẸǑ̀Ẹ̈̌̃ỤU̧̇òaa̧̨̧
|
36 B | |
| 010872 | generated/0956 Generated |
å̌ǒÛ̌ǒÅü̧̆̇Ä́̃O
|
36 B | |
| 010881 | generated/0965 Generated |
Ę̂̊ĖỌ̧̃Â̊̇̇ǎ̧̈EŲ̆̆́U
|
44 B | |
| 010890 | generated/0974 Generated |
Ǔ̈̇Ȯ̃Ā̌û̀̌ă̂Ạ̃̃uą̆̆ǒỤ̂ă̧̆̊Ụ̣̈̄
|
70 B | |
| 010899 | generated/0983 Generated |
ọ̧Ạ̊̌eu
|
14 B | |
| 010908 | generated/0992 Generated |
ǎ̃̀̀e̊̊̃
|
16 B | |
| 010917 | generated/1001 Generated |
ộẠ̣́̀Â̈̀̈ŏ̂̈ǫ̧̆AãÔ̇Ṻ̧̨ụ̆̊È̄̂̇ȩ́̀
|
78 B | |
| 010926 | generated/1010 Generated |
ų̈̂̂
|
9 B | |
| 010935 | generated/1019 Generated |
ẹ̄ö
|
8 B | |
| 010944 | generated/1028 Generated |
ĕ̆̄Ā̧Ů̂̇̃OŲ̇̆̀u̇̌̇
|
38 B | |
| 010953 | generated/1037 Generated |
ạ́Ẽạ̌ă
|
16 B | |
| 010962 | generated/1046 Generated |
AẸ̊ė̀̄̀ŎẼ̇̂ę̃eÊ
|
34 B | |
| 010971 | generated/1055 Generated |
Ų̀ēē̄̊AỤ̄̄à̆ũ̧ou̇Ō̃̀̊é̆A
|
52 B | |
| 010980 | generated/1064 Generated |
ã̧́̈ǎ̄ạ̇ụ̀Ẹ̇̈̂Ụ̧̃̄
|
42 B | |
| 010989 | generated/1073 Generated |
Ü
|
3 B | |
| 010998 | generated/1082 Generated |
ę̨̇UĘ̈u̧̇Ą̣̌̆ò̇uỘ̧̧
|
42 B | |
| 011007 | generated/1091 Generated |
Ụ̧̀̀ẹÓÉÖ̧Aêe̊̌Õ̃Ė́ã̀̊Ė̀oûǪaȨ̂̇ọ̄̆̀OȮ̌Ê̊̊̆Ǎ̧̀ą̀̄ǫ̣̂
|
114 B | |
| 011016 | generated/1100 Generated |
Ò̇ẹ̈̂̆ȩ̨́̊ò̂u
|
29 B | |
| 011025 | generated/1109 Generated |
êu̇a
|
7 B | |
| 011034 | generated/1118 Generated |
ȯó
|
6 B | |
| 011043 | generated/1127 Generated |
U̧̇́Ų̊Ă̂̊eụ̊̂ę̆Ũ̧ọ̧̄̃ỌAō̈̌̄eAaóẪ̄ę̣̈Ọ̧̣́Ų̇̃̆ěú́̂ȧ̊Ẹ̇́Å̌̈̈
|
128 B | |
| 011052 | generated/1136 Generated |
Ų̣̄Ȩ̈̃ǎ
|
17 B | |
| 011061 | generated/1145 Generated |
Ĕ̄̈ệ̂̊
|
16 B | |
| 011070 | generated/1154 Generated |
ö̇̆Ų̊ọ̇Ō̊̈̌ũ̈Ộ̀̂ọÀ̃̃̊
|
52 B | |
| 011079 | generated/1163 Generated |
oō̧̄Ẹ̀̄̃ọ̧̀Ǔ̂̂́ǑóO̊
|
42 B | |
| 011088 | generated/1172 Generated |
ą̨́̈ǔ́Ạ̈
|
19 B | |
| 011097 | generated/1181 Generated |
Ù́̆́ũ̃̂̊Uũ̌ù̀Ẽ̊̂
|
36 B | |
| 011106 | generated/1190 Generated |
ų̧́Ŏ̈̃Å̃Ą̧̌E
|
27 B | |
| 011115 | generated/1199 Generated |
Ǫ̧̨̀Õ̇UỌ̧̊̀Ė̈ŏ̄
|
34 B | |
| 011124 | generated/1208 Generated |
AÓ̄ë̈̊̄Ô̊̊̃e̊Á̊̈̀
|
36 B | |
| 011133 | generated/1217 Generated |
ụ̄ū́̇
|
12 B | |
| 011142 | generated/1226 Generated |
EǍ̊̆ǔ̂̄̃ę̌ǔ̃̈Ü̧̊aŲ̨̀̂Ę̧̣̇oą̊̃Ọ̣̌̊ąǍ̧̃ộ̃Ą̣
|
94 B | |
| 011151 | generated/1235 Generated |
Áů̀oŬ̃Ȯ̌Ù̈Aü̧ǭËÀạ̇̈̃ė̃̇̄aÓ̈̃̌û́Ěā̂ÈǪ̣̀́E̊Ù̈̃Ô̆̃̆ạ̇̀
|
120 B | |
| 011160 | generated/1244 Generated |
aą̃̀ạ̧̈ȩ̀̂
|
22 B | |
| 011169 | generated/1253 Generated |
ú̀̈Ŭ̂̂ų̨̄̌é̆aÅ̆ĚE
|
38 B | |
| 011178 | generated/1262 Generated |
ọ̀ǪOẼ̈Ú̧̂eÄū̄̄̈á̧̧̃Ȩ́̇̌ḝôÙ̈ÀǑ̂OU̇̀̆̃Ụ̄̀Ṑ̊̀Ố̄Ė̈̄ä̧̆Ạ̄̂a
|
128 B | |
| 011187 | generated/1271 Generated |
aō
|
4 B | |
| 011196 | generated/1280 Generated |
à̀̀àA̧ą̇uE
|
20 B | |
| 011205 | generated/1289 Generated |
Ụ̂UUę̣̊
|
14 B | |
| 011214 | generated/1298 Generated |
ą́̈̀ȩUĘ̆̄ũ̆Eụ̈̌̂u̇̇̊ue̊Ú̂̌̇Ạ̌̈ẴĘ̊̊̊Ŏ̆̃Õ̆̄
|
90 B | |
| 011223 | generated/1307 Generated |
o̧̊̇̇A̧ọ́̀́ó̃UE̊̌̊̄ŭ̀ụAọọ̣̊̀EẠ̀̆̆EÓ̇̇ą̃̂̃Uǫ̧Ü̧̃ḝ́Ę́Ou̇̂Ẹ̌̈̄
|
124 B | |
| 011232 | generated/1316 Generated |
ȩ̇́
|
7 B | |
| 011241 | generated/1325 Generated |
ú̃̈̆Ē̂Ố̇̊
|
23 B | |
| 011258 | generated/1343 Generated |
Ą̈́̊Ō̧̄Ã̄È̈̄̌uóOẹ̈̇̂ŏ́̈Ou̧éÀ̧̄̂Ụ̂̂́aoEuÛ̆U̇̀̊ouË̇̈Õ̧̆
|
108 B | |
| 011267 | generated/1352 Generated |
Ó̂̌ǎ̧̄A̧
|
17 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