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
001245 unicode/part1/U+2158 NormalizationTest.txt ⅘␊4⁄5 Line 1298: VULGAR FRACTION FOUR FIFTHS. Its distinct columns, one per line. 9 B
001246 unicode/part1/U+2159 NormalizationTest.txt ⅙␊1⁄6 Line 1299: VULGAR FRACTION ONE SIXTH. Its distinct columns, one per line. 9 B
001247 unicode/part1/U+215A NormalizationTest.txt ⅚␊5⁄6 Line 1300: VULGAR FRACTION FIVE SIXTHS. Its distinct columns, one per line. 9 B
001248 unicode/part1/U+215B NormalizationTest.txt ⅛␊1⁄8 Line 1301: VULGAR FRACTION ONE EIGHTH. Its distinct columns, one per line. 9 B
001249 unicode/part1/U+215C NormalizationTest.txt ⅜␊3⁄8 Line 1302: VULGAR FRACTION THREE EIGHTHS. Its distinct columns, one per line. 9 B
001250 unicode/part1/U+215D NormalizationTest.txt ⅝␊5⁄8 Line 1303: VULGAR FRACTION FIVE EIGHTHS. Its distinct columns, one per line. 9 B
001251 unicode/part1/U+215E NormalizationTest.txt ⅞␊7⁄8 Line 1304: VULGAR FRACTION SEVEN EIGHTHS. Its distinct columns, one per line. 9 B
001252 unicode/part1/U+215F NormalizationTest.txt ⅟␊1⁄ Line 1305: FRACTION NUMERATOR ONE. Its distinct columns, one per line. 8 B
001253 unicode/part1/U+2160 NormalizationTest.txt Ⅰ␊I Line 1306: ROMAN NUMERAL ONE. Its distinct columns, one per line. 5 B
001254 unicode/part1/U+2161 NormalizationTest.txt Ⅱ␊II Line 1307: ROMAN NUMERAL TWO. Its distinct columns, one per line. 6 B
001255 unicode/part1/U+2162 NormalizationTest.txt Ⅲ␊III Line 1308: ROMAN NUMERAL THREE. Its distinct columns, one per line. 7 B
001256 unicode/part1/U+2163 NormalizationTest.txt Ⅳ␊IV Line 1309: ROMAN NUMERAL FOUR. Its distinct columns, one per line. 6 B
001257 unicode/part1/U+2164 NormalizationTest.txt Ⅴ␊V Line 1310: ROMAN NUMERAL FIVE. Its distinct columns, one per line. 5 B
001258 unicode/part1/U+2165 NormalizationTest.txt Ⅵ␊VI Line 1311: ROMAN NUMERAL SIX. Its distinct columns, one per line. 6 B
001259 unicode/part1/U+2166 NormalizationTest.txt Ⅶ␊VII Line 1312: ROMAN NUMERAL SEVEN. Its distinct columns, one per line. 7 B
001260 unicode/part1/U+2167 NormalizationTest.txt Ⅷ␊VIII Line 1313: ROMAN NUMERAL EIGHT. Its distinct columns, one per line. 8 B
001261 unicode/part1/U+2168 NormalizationTest.txt Ⅸ␊IX Line 1314: ROMAN NUMERAL NINE. Its distinct columns, one per line. 6 B
001262 unicode/part1/U+2169 NormalizationTest.txt Ⅹ␊X Line 1315: ROMAN NUMERAL TEN. Its distinct columns, one per line. 5 B
001263 unicode/part1/U+216A NormalizationTest.txt Ⅺ␊XI Line 1316: ROMAN NUMERAL ELEVEN. Its distinct columns, one per line. 6 B
001264 unicode/part1/U+216B NormalizationTest.txt Ⅻ␊XII Line 1317: ROMAN NUMERAL TWELVE. Its distinct columns, one per line. 7 B
001265 unicode/part1/U+216C NormalizationTest.txt Ⅼ␊L Line 1318: ROMAN NUMERAL FIFTY. Its distinct columns, one per line. 5 B
001266 unicode/part1/U+216D NormalizationTest.txt Ⅽ␊C Line 1319: ROMAN NUMERAL ONE HUNDRED. Its distinct columns, one per line. 5 B
001267 unicode/part1/U+216E NormalizationTest.txt Ⅾ␊D Line 1320: ROMAN NUMERAL FIVE HUNDRED. Its distinct columns, one per line. 5 B
001268 unicode/part1/U+216F NormalizationTest.txt Ⅿ␊M Line 1321: ROMAN NUMERAL ONE THOUSAND. Its distinct columns, one per line. 5 B
001269 unicode/part1/U+2170 NormalizationTest.txt ⅰ␊i Line 1322: SMALL ROMAN NUMERAL ONE. Its distinct columns, one per line. 5 B
001270 unicode/part1/U+2171 NormalizationTest.txt ⅱ␊ii Line 1323: SMALL ROMAN NUMERAL TWO. Its distinct columns, one per line. 6 B
001271 unicode/part1/U+2172 NormalizationTest.txt ⅲ␊iii Line 1324: SMALL ROMAN NUMERAL THREE. Its distinct columns, one per line. 7 B
001272 unicode/part1/U+2173 NormalizationTest.txt ⅳ␊iv Line 1325: SMALL ROMAN NUMERAL FOUR. Its distinct columns, one per line. 6 B
001273 unicode/part1/U+2174 NormalizationTest.txt ⅴ␊v Line 1326: SMALL ROMAN NUMERAL FIVE. Its distinct columns, one per line. 5 B
001274 unicode/part1/U+2175 NormalizationTest.txt ⅵ␊vi Line 1327: SMALL ROMAN NUMERAL SIX. Its distinct columns, one per line. 6 B
001275 unicode/part1/U+2176 NormalizationTest.txt ⅶ␊vii Line 1328: SMALL ROMAN NUMERAL SEVEN. Its distinct columns, one per line. 7 B
001276 unicode/part1/U+2177 NormalizationTest.txt ⅷ␊viii Line 1329: SMALL ROMAN NUMERAL EIGHT. Its distinct columns, one per line. 8 B
001277 unicode/part1/U+2178 NormalizationTest.txt ⅸ␊ix Line 1330: SMALL ROMAN NUMERAL NINE. Its distinct columns, one per line. 6 B
001278 unicode/part1/U+2179 NormalizationTest.txt ⅹ␊x Line 1331: SMALL ROMAN NUMERAL TEN. Its distinct columns, one per line. 5 B
001279 unicode/part1/U+217A NormalizationTest.txt ⅺ␊xi Line 1332: SMALL ROMAN NUMERAL ELEVEN. Its distinct columns, one per line. 6 B
001280 unicode/part1/U+217B NormalizationTest.txt ⅻ␊xii Line 1333: SMALL ROMAN NUMERAL TWELVE. Its distinct columns, one per line. 7 B
001281 unicode/part1/U+217C NormalizationTest.txt ⅼ␊l Line 1334: SMALL ROMAN NUMERAL FIFTY. Its distinct columns, one per line. 5 B
001282 unicode/part1/U+217D NormalizationTest.txt ⅽ␊c Line 1335: SMALL ROMAN NUMERAL ONE HUNDRED. Its distinct columns, one per line. 5 B
001283 unicode/part1/U+217E NormalizationTest.txt ⅾ␊d Line 1336: SMALL ROMAN NUMERAL FIVE HUNDRED. Its distinct columns, one per line. 5 B
001284 unicode/part1/U+217F NormalizationTest.txt ⅿ␊m Line 1337: SMALL ROMAN NUMERAL ONE THOUSAND. Its distinct columns, one per line. 5 B
001285 unicode/part1/U+2189 NormalizationTest.txt ↉␊0⁄3 Line 1338: VULGAR FRACTION ZERO THIRDS. Its distinct columns, one per line. 9 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

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.