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

3,833 of 11,911 cases

Case Name Expected Note Size
002189 unicode/part1/U+3345 NormalizationTest.txt ㍅␊マッハ Line 2242: SQUARE MAHHA. Its distinct columns, one per line. 13 B
002190 unicode/part1/U+3346 NormalizationTest.txt ㍆␊マルク Line 2243: SQUARE MARUKU. Its distinct columns, one per line. 13 B
002191 unicode/part1/U+3347 NormalizationTest.txt ㍇␊マンション Line 2244: SQUARE MANSYON. Its distinct columns, one per line. 19 B
002192 unicode/part1/U+3348 NormalizationTest.txt ㍈␊ミクロン Line 2245: SQUARE MIKURON. Its distinct columns, one per line. 16 B
002193 unicode/part1/U+3349 NormalizationTest.txt ㍉␊ミリ Line 2246: SQUARE MIRI. Its distinct columns, one per line. 10 B
002194 unicode/part1/U+334A NormalizationTest.txt ㍊␊ミリバール␊ミリバール Line 2247: SQUARE MIRIBAARU. Its distinct columns, one per line. 38 B
002195 unicode/part1/U+334B NormalizationTest.txt ㍋␊メガ␊メガ Line 2248: SQUARE MEGA. Its distinct columns, one per line. 20 B
002196 unicode/part1/U+334C NormalizationTest.txt ㍌␊メガトン␊メガトン Line 2249: SQUARE MEGATON. Its distinct columns, one per line. 32 B
002197 unicode/part1/U+334D NormalizationTest.txt ㍍␊メートル Line 2250: SQUARE MEETORU. Its distinct columns, one per line. 16 B
002198 unicode/part1/U+334E NormalizationTest.txt ㍎␊ヤード␊ヤード Line 2251: SQUARE YAADO. Its distinct columns, one per line. 26 B
002199 unicode/part1/U+334F NormalizationTest.txt ㍏␊ヤール Line 2252: SQUARE YAARU. Its distinct columns, one per line. 13 B
002200 unicode/part1/U+3350 NormalizationTest.txt ㍐␊ユアン Line 2253: SQUARE YUAN. Its distinct columns, one per line. 13 B
002201 unicode/part1/U+3351 NormalizationTest.txt ㍑␊リットル Line 2254: SQUARE RITTORU. Its distinct columns, one per line. 16 B
002202 unicode/part1/U+3352 NormalizationTest.txt ㍒␊リラ Line 2255: SQUARE RIRA. Its distinct columns, one per line. 10 B
002203 unicode/part1/U+3353 NormalizationTest.txt ㍓␊ルピー␊ルピー Line 2256: SQUARE RUPII. Its distinct columns, one per line. 26 B
002204 unicode/part1/U+3354 NormalizationTest.txt ㍔␊ルーブル␊ルーブル Line 2257: SQUARE RUUBURU. Its distinct columns, one per line. 32 B
002205 unicode/part1/U+3355 NormalizationTest.txt ㍕␊レム Line 2258: SQUARE REMU. Its distinct columns, one per line. 10 B
002206 unicode/part1/U+3356 NormalizationTest.txt ㍖␊レントゲン␊レントゲン Line 2259: SQUARE RENTOGEN. Its distinct columns, one per line. 38 B
002207 unicode/part1/U+3357 NormalizationTest.txt ㍗␊ワット Line 2260: SQUARE WATTO. Its distinct columns, one per line. 13 B
002208 unicode/part1/U+3358 NormalizationTest.txt ㍘␊0点 Line 2261: IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR ZERO. Its distinct columns, one per line. 8 B
002209 unicode/part1/U+3359 NormalizationTest.txt ㍙␊1点 Line 2262: IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR ONE. Its distinct columns, one per line. 8 B
002210 unicode/part1/U+335A NormalizationTest.txt ㍚␊2点 Line 2263: IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR TWO. Its distinct columns, one per line. 8 B
002211 unicode/part1/U+335B NormalizationTest.txt ㍛␊3点 Line 2264: IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR THREE. Its distinct columns, one per line. 8 B
002212 unicode/part1/U+335C NormalizationTest.txt ㍜␊4点 Line 2265: IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR FOUR. Its distinct columns, one per line. 8 B
002213 unicode/part1/U+335D NormalizationTest.txt ㍝␊5点 Line 2266: IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR FIVE. Its distinct columns, one per line. 8 B
002214 unicode/part1/U+335E NormalizationTest.txt ㍞␊6点 Line 2267: IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR SIX. Its distinct columns, one per line. 8 B
002215 unicode/part1/U+335F NormalizationTest.txt ㍟␊7点 Line 2268: IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR SEVEN. Its distinct columns, one per line. 8 B
002216 unicode/part1/U+3360 NormalizationTest.txt ㍠␊8点 Line 2269: IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR EIGHT. Its distinct columns, one per line. 8 B
002217 unicode/part1/U+3361 NormalizationTest.txt ㍡␊9点 Line 2270: IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR NINE. Its distinct columns, one per line. 8 B
002218 unicode/part1/U+3362 NormalizationTest.txt ㍢␊10点 Line 2271: IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR TEN. Its distinct columns, one per line. 9 B
002219 unicode/part1/U+3363 NormalizationTest.txt ㍣␊11点 Line 2272: IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR ELEVEN. Its distinct columns, one per line. 9 B
002220 unicode/part1/U+3364 NormalizationTest.txt ㍤␊12点 Line 2273: IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR TWELVE. Its distinct columns, one per line. 9 B
002221 unicode/part1/U+3365 NormalizationTest.txt ㍥␊13点 Line 2274: IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR THIRTEEN. Its distinct columns, one per line. 9 B
002222 unicode/part1/U+3366 NormalizationTest.txt ㍦␊14点 Line 2275: IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR FOURTEEN. Its distinct columns, one per line. 9 B
002223 unicode/part1/U+3367 NormalizationTest.txt ㍧␊15点 Line 2276: IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR FIFTEEN. Its distinct columns, one per line. 9 B
002224 unicode/part1/U+3368 NormalizationTest.txt ㍨␊16点 Line 2277: IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR SIXTEEN. Its distinct columns, one per line. 9 B
002225 unicode/part1/U+3369 NormalizationTest.txt ㍩␊17点 Line 2278: IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR SEVENTEEN. Its distinct columns, one per line. 9 B
002226 unicode/part1/U+336A NormalizationTest.txt ㍪␊18点 Line 2279: IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR EIGHTEEN. Its distinct columns, one per line. 9 B
002227 unicode/part1/U+336B NormalizationTest.txt ㍫␊19点 Line 2280: IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR NINETEEN. Its distinct columns, one per line. 9 B
002228 unicode/part1/U+336C NormalizationTest.txt ㍬␊20点 Line 2281: IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR TWENTY. Its distinct columns, one per line. 9 B
002229 unicode/part1/U+336D NormalizationTest.txt ㍭␊21点 Line 2282: IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR TWENTY-ONE. Its distinct columns, one per line. 9 B
002230 unicode/part1/U+336E NormalizationTest.txt ㍮␊22点 Line 2283: IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR TWENTY-TWO. Its distinct columns, one per line. 9 B
002231 unicode/part1/U+336F NormalizationTest.txt ㍯␊23点 Line 2284: IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR TWENTY-THREE. Its distinct columns, one per line. 9 B
002232 unicode/part1/U+3370 NormalizationTest.txt ㍰␊24点 Line 2285: IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR TWENTY-FOUR. Its distinct columns, one per line. 9 B
002233 unicode/part1/U+3371 NormalizationTest.txt ㍱␊hPa Line 2286: SQUARE HPA. Its distinct columns, one per line. 7 B
002234 unicode/part1/U+3372 NormalizationTest.txt ㍲␊da Line 2287: SQUARE DA. Its distinct columns, one per line. 6 B
002235 unicode/part1/U+3373 NormalizationTest.txt ㍳␊AU Line 2288: SQUARE AU. Its distinct columns, one per line. 6 B
002236 unicode/part1/U+3374 NormalizationTest.txt ㍴␊bar Line 2289: SQUARE BAR. Its distinct columns, one per line. 7 B
002237 unicode/part1/U+3375 NormalizationTest.txt ㍵␊oV Line 2290: SQUARE OV. Its distinct columns, one per line. 6 B
002238 unicode/part1/U+3376 NormalizationTest.txt ㍶␊pc Line 2291: SQUARE PC. Its distinct columns, one per line. 6 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.