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
001050 unicode/part1/U+1FBC NormalizationTest.txt ᾼ␊ᾼ Line 1103: GREEK CAPITAL LETTER ALPHA WITH PROSGEGRAMMENI. Its distinct columns, one per line. 8 B
001051 unicode/part1/U+1FBD NormalizationTest.txt ᾽␊ ̓ Line 1104: GREEK KORONIS. Its distinct columns, one per line. 7 B
001052 unicode/part1/U+1FBE NormalizationTest.txt ι␊ι Line 1105: GREEK PROSGEGRAMMENI. Its distinct columns, one per line. 6 B
001053 unicode/part1/U+1FBF NormalizationTest.txt ᾿␊ ̓ Line 1106: GREEK PSILI. Its distinct columns, one per line. 7 B
001054 unicode/part1/U+1FC0 NormalizationTest.txt ῀␊ ͂ Line 1107: GREEK PERISPOMENI. Its distinct columns, one per line. 7 B
001055 unicode/part1/U+1FC1 NormalizationTest.txt ῁␊῁␊ ̈͂ Line 1108: GREEK DIALYTIKA AND PERISPOMENI. Its distinct columns, one per line. 14 B
001056 unicode/part1/U+1FC2 NormalizationTest.txt ῂ␊ῂ Line 1109: GREEK SMALL LETTER ETA WITH VARIA AND YPOGEGRAMMENI. Its distinct columns, one per line. 10 B
001057 unicode/part1/U+1FC3 NormalizationTest.txt ῃ␊ῃ Line 1110: GREEK SMALL LETTER ETA WITH YPOGEGRAMMENI. Its distinct columns, one per line. 8 B
001058 unicode/part1/U+1FC4 NormalizationTest.txt ῄ␊ῄ Line 1111: GREEK SMALL LETTER ETA WITH OXIA AND YPOGEGRAMMENI. Its distinct columns, one per line. 10 B
001059 unicode/part1/U+1FC6 NormalizationTest.txt ῆ␊ῆ Line 1112: GREEK SMALL LETTER ETA WITH PERISPOMENI. Its distinct columns, one per line. 8 B
001060 unicode/part1/U+1FC7 NormalizationTest.txt ῇ␊ῇ Line 1113: GREEK SMALL LETTER ETA WITH PERISPOMENI AND YPOGEGRAMMENI. Its distinct columns, one per line. 10 B
001061 unicode/part1/U+1FC8 NormalizationTest.txt Ὲ␊Ὲ Line 1114: GREEK CAPITAL LETTER EPSILON WITH VARIA. Its distinct columns, one per line. 8 B
001062 unicode/part1/U+1FC9 NormalizationTest.txt Έ␊Έ␊Έ Line 1115: GREEK CAPITAL LETTER EPSILON WITH OXIA. Its distinct columns, one per line. 11 B
001063 unicode/part1/U+1FCA NormalizationTest.txt Ὴ␊Ὴ Line 1116: GREEK CAPITAL LETTER ETA WITH VARIA. Its distinct columns, one per line. 8 B
001064 unicode/part1/U+1FCB NormalizationTest.txt Ή␊Ή␊Ή Line 1117: GREEK CAPITAL LETTER ETA WITH OXIA. Its distinct columns, one per line. 11 B
001065 unicode/part1/U+1FCC NormalizationTest.txt ῌ␊ῌ Line 1118: GREEK CAPITAL LETTER ETA WITH PROSGEGRAMMENI. Its distinct columns, one per line. 8 B
001066 unicode/part1/U+1FCD NormalizationTest.txt ῍␊῍␊ ̓̀ Line 1119: GREEK PSILI AND VARIA. Its distinct columns, one per line. 15 B
001067 unicode/part1/U+1FCE NormalizationTest.txt ῎␊῎␊ ̓́ Line 1120: GREEK PSILI AND OXIA. Its distinct columns, one per line. 15 B
001068 unicode/part1/U+1FCF NormalizationTest.txt ῏␊῏␊ ̓͂ Line 1121: GREEK PSILI AND PERISPOMENI. Its distinct columns, one per line. 15 B
001069 unicode/part1/U+1FD0 NormalizationTest.txt ῐ␊ῐ Line 1122: GREEK SMALL LETTER IOTA WITH VRACHY. Its distinct columns, one per line. 8 B
001070 unicode/part1/U+1FD1 NormalizationTest.txt ῑ␊ῑ Line 1123: GREEK SMALL LETTER IOTA WITH MACRON. Its distinct columns, one per line. 8 B
001071 unicode/part1/U+1FD2 NormalizationTest.txt ῒ␊ῒ Line 1124: GREEK SMALL LETTER IOTA WITH DIALYTIKA AND VARIA. Its distinct columns, one per line. 10 B
001072 unicode/part1/U+1FD3 NormalizationTest.txt ΐ␊ΐ␊ΐ Line 1125: GREEK SMALL LETTER IOTA WITH DIALYTIKA AND OXIA. Its distinct columns, one per line. 13 B
001073 unicode/part1/U+1FD6 NormalizationTest.txt ῖ␊ῖ Line 1126: GREEK SMALL LETTER IOTA WITH PERISPOMENI. Its distinct columns, one per line. 8 B
001074 unicode/part1/U+1FD7 NormalizationTest.txt ῗ␊ῗ Line 1127: GREEK SMALL LETTER IOTA WITH DIALYTIKA AND PERISPOMENI. Its distinct columns, one per line. 10 B
001075 unicode/part1/U+1FD8 NormalizationTest.txt Ῐ␊Ῐ Line 1128: GREEK CAPITAL LETTER IOTA WITH VRACHY. Its distinct columns, one per line. 8 B
001076 unicode/part1/U+1FD9 NormalizationTest.txt Ῑ␊Ῑ Line 1129: GREEK CAPITAL LETTER IOTA WITH MACRON. Its distinct columns, one per line. 8 B
001077 unicode/part1/U+1FDA NormalizationTest.txt Ὶ␊Ὶ Line 1130: GREEK CAPITAL LETTER IOTA WITH VARIA. Its distinct columns, one per line. 8 B
001078 unicode/part1/U+1FDB NormalizationTest.txt Ί␊Ί␊Ί Line 1131: GREEK CAPITAL LETTER IOTA WITH OXIA. Its distinct columns, one per line. 11 B
001079 unicode/part1/U+1FDD NormalizationTest.txt ῝␊῝␊ ̔̀ Line 1132: GREEK DASIA AND VARIA. Its distinct columns, one per line. 15 B
001080 unicode/part1/U+1FDE NormalizationTest.txt ῞␊῞␊ ̔́ Line 1133: GREEK DASIA AND OXIA. Its distinct columns, one per line. 15 B
001081 unicode/part1/U+1FDF NormalizationTest.txt ῟␊῟␊ ̔͂ Line 1134: GREEK DASIA AND PERISPOMENI. Its distinct columns, one per line. 15 B
001082 unicode/part1/U+1FE0 NormalizationTest.txt ῠ␊ῠ Line 1135: GREEK SMALL LETTER UPSILON WITH VRACHY. Its distinct columns, one per line. 8 B
001083 unicode/part1/U+1FE1 NormalizationTest.txt ῡ␊ῡ Line 1136: GREEK SMALL LETTER UPSILON WITH MACRON. Its distinct columns, one per line. 8 B
001084 unicode/part1/U+1FE2 NormalizationTest.txt ῢ␊ῢ Line 1137: GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND VARIA. Its distinct columns, one per line. 10 B
001085 unicode/part1/U+1FE3 NormalizationTest.txt ΰ␊ΰ␊ΰ Line 1138: GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND OXIA. Its distinct columns, one per line. 13 B
001086 unicode/part1/U+1FE4 NormalizationTest.txt ῤ␊ῤ Line 1139: GREEK SMALL LETTER RHO WITH PSILI. Its distinct columns, one per line. 8 B
001087 unicode/part1/U+1FE5 NormalizationTest.txt ῥ␊ῥ Line 1140: GREEK SMALL LETTER RHO WITH DASIA. Its distinct columns, one per line. 8 B
001088 unicode/part1/U+1FE6 NormalizationTest.txt ῦ␊ῦ Line 1141: GREEK SMALL LETTER UPSILON WITH PERISPOMENI. Its distinct columns, one per line. 8 B
001089 unicode/part1/U+1FE7 NormalizationTest.txt ῧ␊ῧ Line 1142: GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND PERISPOMENI. Its distinct columns, one per line. 10 B
001090 unicode/part1/U+1FE8 NormalizationTest.txt Ῠ␊Ῠ Line 1143: GREEK CAPITAL LETTER UPSILON WITH VRACHY. Its distinct columns, one per line. 8 B
001091 unicode/part1/U+1FE9 NormalizationTest.txt Ῡ␊Ῡ Line 1144: GREEK CAPITAL LETTER UPSILON WITH MACRON. Its distinct columns, one per line. 8 B
001092 unicode/part1/U+1FEA NormalizationTest.txt Ὺ␊Ὺ Line 1145: GREEK CAPITAL LETTER UPSILON WITH VARIA. Its distinct columns, one per line. 8 B
001093 unicode/part1/U+1FEB NormalizationTest.txt Ύ␊Ύ␊Ύ Line 1146: GREEK CAPITAL LETTER UPSILON WITH OXIA. Its distinct columns, one per line. 11 B
001094 unicode/part1/U+1FEC NormalizationTest.txt Ῥ␊Ῥ Line 1147: GREEK CAPITAL LETTER RHO WITH DASIA. Its distinct columns, one per line. 8 B
001095 unicode/part1/U+1FED NormalizationTest.txt ῭␊῭␊ ̈̀ Line 1148: GREEK DIALYTIKA AND VARIA. Its distinct columns, one per line. 14 B
001096 unicode/part1/U+1FEE NormalizationTest.txt ΅␊΅␊΅␊ ̈́ Line 1149: GREEK DIALYTIKA AND OXIA. Its distinct columns, one per line. 17 B
001097 unicode/part1/U+1FEF NormalizationTest.txt `␊` Line 1150: GREEK VARIA. Its distinct columns, one per line. 5 B
001098 unicode/part1/U+1FF2 NormalizationTest.txt ῲ␊ῲ Line 1151: GREEK SMALL LETTER OMEGA WITH VARIA AND YPOGEGRAMMENI. Its distinct columns, one per line. 10 B
001099 unicode/part1/U+1FF3 NormalizationTest.txt ῳ␊ῳ Line 1152: GREEK SMALL LETTER OMEGA WITH YPOGEGRAMMENI. Its distinct columns, one per line. 8 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.