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
Clear

956 of 11,911 cases

Case Name Expected Note Size
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
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
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
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
001100 unicode/part1/U+1FF4 NormalizationTest.txt ῴ␊ῴ Line 1153: GREEK SMALL LETTER OMEGA WITH OXIA AND YPOGEGRAMMENI. Its distinct columns, one per line. 10 B
001101 unicode/part1/U+1FF6 NormalizationTest.txt ῶ␊ῶ Line 1154: GREEK SMALL LETTER OMEGA WITH PERISPOMENI. Its distinct columns, one per line. 8 B
001102 unicode/part1/U+1FF7 NormalizationTest.txt ῷ␊ῷ Line 1155: GREEK SMALL LETTER OMEGA WITH PERISPOMENI AND YPOGEGRAMMENI. Its distinct columns, one per line. 10 B
001103 unicode/part1/U+1FF8 NormalizationTest.txt Ὸ␊Ὸ Line 1156: GREEK CAPITAL LETTER OMICRON WITH VARIA. Its distinct columns, one per line. 8 B
001105 unicode/part1/U+1FFA NormalizationTest.txt Ὼ␊Ὼ Line 1158: GREEK CAPITAL LETTER OMEGA WITH VARIA. Its distinct columns, one per line. 8 B
001107 unicode/part1/U+1FFC NormalizationTest.txt ῼ␊ῼ Line 1160: GREEK CAPITAL LETTER OMEGA WITH PROSGEGRAMMENI. Its distinct columns, one per line. 8 B
001286 unicode/part1/U+219A NormalizationTest.txt ↚␊↚ Line 1339: LEFTWARDS ARROW WITH STROKE. Its distinct columns, one per line. 9 B
001287 unicode/part1/U+219B NormalizationTest.txt ↛␊↛ Line 1340: RIGHTWARDS ARROW WITH STROKE. Its distinct columns, one per line. 9 B
001288 unicode/part1/U+21AE NormalizationTest.txt ↮␊↮ Line 1341: LEFT RIGHT ARROW WITH STROKE. Its distinct columns, one per line. 9 B
001289 unicode/part1/U+21CD NormalizationTest.txt ⇍␊⇍ Line 1342: LEFTWARDS DOUBLE ARROW WITH STROKE. Its distinct columns, one per line. 9 B
001290 unicode/part1/U+21CE NormalizationTest.txt ⇎␊⇎ Line 1343: LEFT RIGHT DOUBLE ARROW WITH STROKE. Its distinct columns, one per line. 9 B
001291 unicode/part1/U+21CF NormalizationTest.txt ⇏␊⇏ Line 1344: RIGHTWARDS DOUBLE ARROW WITH STROKE. Its distinct columns, one per line. 9 B
001292 unicode/part1/U+2204 NormalizationTest.txt ∄␊∄ Line 1345: THERE DOES NOT EXIST. Its distinct columns, one per line. 9 B
001293 unicode/part1/U+2209 NormalizationTest.txt ∉␊∉ Line 1346: NOT AN ELEMENT OF. Its distinct columns, one per line. 9 B
001294 unicode/part1/U+220C NormalizationTest.txt ∌␊∌ Line 1347: DOES NOT CONTAIN AS MEMBER. Its distinct columns, one per line. 9 B
001295 unicode/part1/U+2224 NormalizationTest.txt ∤␊∤ Line 1348: DOES NOT DIVIDE. Its distinct columns, one per line. 9 B
001296 unicode/part1/U+2226 NormalizationTest.txt ∦␊∦ Line 1349: NOT PARALLEL TO. Its distinct columns, one per line. 9 B
001301 unicode/part1/U+2241 NormalizationTest.txt ≁␊≁ Line 1354: NOT TILDE. Its distinct columns, one per line. 9 B
001302 unicode/part1/U+2244 NormalizationTest.txt ≄␊≄ Line 1355: NOT ASYMPTOTICALLY EQUAL TO. Its distinct columns, one per line. 9 B
001303 unicode/part1/U+2247 NormalizationTest.txt ≇␊≇ Line 1356: NEITHER APPROXIMATELY NOR ACTUALLY EQUAL TO. Its distinct columns, one per line. 9 B
001304 unicode/part1/U+2249 NormalizationTest.txt ≉␊≉ Line 1357: NOT ALMOST EQUAL TO. Its distinct columns, one per line. 9 B
001305 unicode/part1/U+2260 NormalizationTest.txt ≠␊≠ Line 1358: NOT EQUAL TO. Its distinct columns, one per line. 7 B
001306 unicode/part1/U+2262 NormalizationTest.txt ≢␊≢ Line 1359: NOT IDENTICAL TO. Its distinct columns, one per line. 9 B
001307 unicode/part1/U+226D NormalizationTest.txt ≭␊≭ Line 1360: NOT EQUIVALENT TO. Its distinct columns, one per line. 9 B
001308 unicode/part1/U+226E NormalizationTest.txt ≮␊≮ Line 1361: NOT LESS-THAN. Its distinct columns, one per line. 7 B
001309 unicode/part1/U+226F NormalizationTest.txt ≯␊≯ Line 1362: NOT GREATER-THAN. Its distinct columns, one per line. 7 B
001310 unicode/part1/U+2270 NormalizationTest.txt ≰␊≰ Line 1363: NEITHER LESS-THAN NOR EQUAL TO. Its distinct columns, one per line. 9 B
001311 unicode/part1/U+2271 NormalizationTest.txt ≱␊≱ Line 1364: NEITHER GREATER-THAN NOR EQUAL TO. Its distinct columns, one per line. 9 B
001312 unicode/part1/U+2274 NormalizationTest.txt ≴␊≴ Line 1365: NEITHER LESS-THAN NOR EQUIVALENT TO. Its distinct columns, one per line. 9 B
001313 unicode/part1/U+2275 NormalizationTest.txt ≵␊≵ Line 1366: NEITHER GREATER-THAN NOR EQUIVALENT TO. Its distinct columns, one per line. 9 B
001314 unicode/part1/U+2278 NormalizationTest.txt ≸␊≸ Line 1367: NEITHER LESS-THAN NOR GREATER-THAN. Its distinct columns, one per line. 9 B
001315 unicode/part1/U+2279 NormalizationTest.txt ≹␊≹ Line 1368: NEITHER GREATER-THAN NOR LESS-THAN. Its distinct columns, one per line. 9 B
001316 unicode/part1/U+2280 NormalizationTest.txt ⊀␊⊀ Line 1369: DOES NOT PRECEDE. Its distinct columns, one per line. 9 B
001317 unicode/part1/U+2281 NormalizationTest.txt ⊁␊⊁ Line 1370: DOES NOT SUCCEED. Its distinct columns, one per line. 9 B
001318 unicode/part1/U+2284 NormalizationTest.txt ⊄␊⊄ Line 1371: NOT A SUBSET OF. Its distinct columns, one per line. 9 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.