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

5,928 of 11,911 cases

Case Name Expected Note Size
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
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
001104 unicode/part1/U+1FF9 NormalizationTest.txt Ό␊Ό␊Ό Line 1157: GREEK CAPITAL LETTER OMICRON WITH OXIA. Its distinct columns, one per line. 11 B
001105 unicode/part1/U+1FFA NormalizationTest.txt Ὼ␊Ὼ Line 1158: GREEK CAPITAL LETTER OMEGA WITH VARIA. Its distinct columns, one per line. 8 B
001106 unicode/part1/U+1FFB NormalizationTest.txt Ώ␊Ώ␊Ώ Line 1159: GREEK CAPITAL LETTER OMEGA WITH OXIA. Its distinct columns, one per line. 11 B
001107 unicode/part1/U+1FFC NormalizationTest.txt ῼ␊ῼ Line 1160: GREEK CAPITAL LETTER OMEGA WITH PROSGEGRAMMENI. Its distinct columns, one per line. 8 B
001108 unicode/part1/U+1FFD NormalizationTest.txt ´␊´␊ ́ Line 1161: GREEK OXIA. Its distinct columns, one per line. 10 B
001109 unicode/part1/U+1FFE NormalizationTest.txt ῾␊ ̔ Line 1162: GREEK DASIA. Its distinct columns, one per line. 7 B
001110 unicode/part1/U+2000 NormalizationTest.txt  ␊ ␊ Line 1163: EN QUAD. Its distinct columns, one per line. 9 B
001111 unicode/part1/U+2001 NormalizationTest.txt  ␊ ␊ Line 1164: EM QUAD. Its distinct columns, one per line. 9 B
001112 unicode/part1/U+2002 NormalizationTest.txt  ␊ Line 1165: EN SPACE. Its distinct columns, one per line. 5 B
001113 unicode/part1/U+2003 NormalizationTest.txt  ␊ Line 1166: EM SPACE. Its distinct columns, one per line. 5 B
001114 unicode/part1/U+2004 NormalizationTest.txt  ␊ Line 1167: THREE-PER-EM SPACE. Its distinct columns, one per line. 5 B
001115 unicode/part1/U+2005 NormalizationTest.txt  ␊ Line 1168: FOUR-PER-EM SPACE. Its distinct columns, one per line. 5 B
001116 unicode/part1/U+2006 NormalizationTest.txt  ␊ Line 1169: SIX-PER-EM SPACE. Its distinct columns, one per line. 5 B
001117 unicode/part1/U+2007 NormalizationTest.txt  ␊ Line 1170: FIGURE SPACE. Its distinct columns, one per line. 5 B
001118 unicode/part1/U+2008 NormalizationTest.txt  ␊ Line 1171: PUNCTUATION SPACE. Its distinct columns, one per line. 5 B
001119 unicode/part1/U+2009 NormalizationTest.txt  ␊ Line 1172: THIN SPACE. Its distinct columns, one per line. 5 B
001120 unicode/part1/U+200A NormalizationTest.txt  ␊ Line 1173: HAIR SPACE. Its distinct columns, one per line. 5 B
001121 unicode/part1/U+2011 NormalizationTest.txt ‑␊‐ Line 1174: NON-BREAKING HYPHEN. Its distinct columns, one per line. 7 B
001122 unicode/part1/U+2017 NormalizationTest.txt ‗␊ ̳ Line 1175: DOUBLE LOW LINE. Its distinct columns, one per line. 7 B
001123 unicode/part1/U+2024 NormalizationTest.txt ․␊. Line 1176: ONE DOT LEADER. Its distinct columns, one per line. 5 B
001124 unicode/part1/U+2025 NormalizationTest.txt ‥␊.. Line 1177: TWO DOT LEADER. Its distinct columns, one per line. 6 B
001125 unicode/part1/U+2026 NormalizationTest.txt …␊... Line 1178: HORIZONTAL ELLIPSIS. Its distinct columns, one per line. 7 B
001126 unicode/part1/U+202F NormalizationTest.txt  ␊ Line 1179: NARROW NO-BREAK SPACE. Its distinct columns, one per line. 5 B
001127 unicode/part1/U+2033 NormalizationTest.txt ″␊′′ Line 1180: DOUBLE PRIME. Its distinct columns, one per line. 10 B
001128 unicode/part1/U+2034 NormalizationTest.txt ‴␊′′′ Line 1181: TRIPLE PRIME. Its distinct columns, one per line. 13 B
001129 unicode/part1/U+2036 NormalizationTest.txt ‶␊‵‵ Line 1182: REVERSED DOUBLE PRIME. Its distinct columns, one per line. 10 B
001130 unicode/part1/U+2037 NormalizationTest.txt ‷␊‵‵‵ Line 1183: REVERSED TRIPLE PRIME. Its distinct columns, one per line. 13 B
001131 unicode/part1/U+203C NormalizationTest.txt ‼␊!! Line 1184: DOUBLE EXCLAMATION MARK. Its distinct columns, one per line. 6 B
001132 unicode/part1/U+203E NormalizationTest.txt ‾␊ ̅ Line 1185: OVERLINE. Its distinct columns, one per line. 7 B
001133 unicode/part1/U+2047 NormalizationTest.txt ⁇␊?? Line 1186: DOUBLE QUESTION MARK. Its distinct columns, one per line. 6 B
001134 unicode/part1/U+2048 NormalizationTest.txt ⁈␊?! Line 1187: QUESTION EXCLAMATION MARK. Its distinct columns, one per line. 6 B
001135 unicode/part1/U+2049 NormalizationTest.txt ⁉␊!? Line 1188: EXCLAMATION QUESTION MARK. Its distinct columns, one per line. 6 B
001136 unicode/part1/U+2057 NormalizationTest.txt ⁗␊′′′′ Line 1189: QUADRUPLE PRIME. Its distinct columns, one per line. 16 B
001137 unicode/part1/U+205F NormalizationTest.txt  ␊ Line 1190: MEDIUM MATHEMATICAL SPACE. Its distinct columns, one per line. 5 B
001138 unicode/part1/U+2070 NormalizationTest.txt ⁰␊0 Line 1191: SUPERSCRIPT ZERO. Its distinct columns, one per line. 5 B
001139 unicode/part1/U+2071 NormalizationTest.txt ⁱ␊i Line 1192: SUPERSCRIPT LATIN SMALL LETTER I. Its distinct columns, one per line. 5 B
001140 unicode/part1/U+2074 NormalizationTest.txt ⁴␊4 Line 1193: SUPERSCRIPT FOUR. Its distinct columns, one per line. 5 B
001141 unicode/part1/U+2075 NormalizationTest.txt ⁵␊5 Line 1194: SUPERSCRIPT FIVE. Its distinct columns, one per line. 5 B
001142 unicode/part1/U+2076 NormalizationTest.txt ⁶␊6 Line 1195: SUPERSCRIPT SIX. Its distinct columns, one per line. 5 B
001143 unicode/part1/U+2077 NormalizationTest.txt ⁷␊7 Line 1196: SUPERSCRIPT SEVEN. Its distinct columns, one per line. 5 B
001144 unicode/part1/U+2078 NormalizationTest.txt ⁸␊8 Line 1197: SUPERSCRIPT EIGHT. Its distinct columns, one per line. 5 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.