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
002150 unicode/part1/U+331E NormalizationTest.txt ㌞␊コーポ␊コーポ Line 2203: SQUARE KOOPO. Its distinct columns, one per line. 26 B
002151 unicode/part1/U+331F NormalizationTest.txt ㌟␊サイクル Line 2204: SQUARE SAIKURU. Its distinct columns, one per line. 16 B
002152 unicode/part1/U+3320 NormalizationTest.txt ㌠␊サンチーム Line 2205: SQUARE SANTIIMU. Its distinct columns, one per line. 19 B
002153 unicode/part1/U+3321 NormalizationTest.txt ㌡␊シリング␊シリング Line 2206: SQUARE SIRINGU. Its distinct columns, one per line. 32 B
002154 unicode/part1/U+3322 NormalizationTest.txt ㌢␊センチ Line 2207: SQUARE SENTI. Its distinct columns, one per line. 13 B
002155 unicode/part1/U+3323 NormalizationTest.txt ㌣␊セント Line 2208: SQUARE SENTO. Its distinct columns, one per line. 13 B
002156 unicode/part1/U+3324 NormalizationTest.txt ㌤␊ダース␊ダース Line 2209: SQUARE DAASU. Its distinct columns, one per line. 26 B
002157 unicode/part1/U+3325 NormalizationTest.txt ㌥␊デシ␊デシ Line 2210: SQUARE DESI. Its distinct columns, one per line. 20 B
002158 unicode/part1/U+3326 NormalizationTest.txt ㌦␊ドル␊ドル Line 2211: SQUARE DORU. Its distinct columns, one per line. 20 B
002159 unicode/part1/U+3327 NormalizationTest.txt ㌧␊トン Line 2212: SQUARE TON. Its distinct columns, one per line. 10 B
002160 unicode/part1/U+3328 NormalizationTest.txt ㌨␊ナノ Line 2213: SQUARE NANO. Its distinct columns, one per line. 10 B
002161 unicode/part1/U+3329 NormalizationTest.txt ㌩␊ノット Line 2214: SQUARE NOTTO. Its distinct columns, one per line. 13 B
002162 unicode/part1/U+332A NormalizationTest.txt ㌪␊ハイツ Line 2215: SQUARE HAITU. Its distinct columns, one per line. 13 B
002163 unicode/part1/U+332B NormalizationTest.txt ㌫␊パーセント␊パーセント Line 2216: SQUARE PAASENTO. Its distinct columns, one per line. 38 B
002164 unicode/part1/U+332C NormalizationTest.txt ㌬␊パーツ␊パーツ Line 2217: SQUARE PAATU. Its distinct columns, one per line. 26 B
002165 unicode/part1/U+332D NormalizationTest.txt ㌭␊バーレル␊バーレル Line 2218: SQUARE BAARERU. Its distinct columns, one per line. 32 B
002166 unicode/part1/U+332E NormalizationTest.txt ㌮␊ピアストル␊ピアストル Line 2219: SQUARE PIASUTORU. Its distinct columns, one per line. 38 B
002167 unicode/part1/U+332F NormalizationTest.txt ㌯␊ピクル␊ピクル Line 2220: SQUARE PIKURU. Its distinct columns, one per line. 26 B
002168 unicode/part1/U+3330 NormalizationTest.txt ㌰␊ピコ␊ピコ Line 2221: SQUARE PIKO. Its distinct columns, one per line. 20 B
002169 unicode/part1/U+3331 NormalizationTest.txt ㌱␊ビル␊ビル Line 2222: SQUARE BIRU. Its distinct columns, one per line. 20 B
002170 unicode/part1/U+3332 NormalizationTest.txt ㌲␊ファラッド␊ファラッド Line 2223: SQUARE HUARADDO. Its distinct columns, one per line. 38 B
002171 unicode/part1/U+3333 NormalizationTest.txt ㌳␊フィート Line 2224: SQUARE HUIITO. Its distinct columns, one per line. 16 B
002172 unicode/part1/U+3334 NormalizationTest.txt ㌴␊ブッシェル␊ブッシェル Line 2225: SQUARE BUSSYERU. Its distinct columns, one per line. 38 B
002173 unicode/part1/U+3335 NormalizationTest.txt ㌵␊フラン Line 2226: SQUARE HURAN. Its distinct columns, one per line. 13 B
002174 unicode/part1/U+3336 NormalizationTest.txt ㌶␊ヘクタール Line 2227: SQUARE HEKUTAARU. Its distinct columns, one per line. 19 B
002175 unicode/part1/U+3337 NormalizationTest.txt ㌷␊ペソ␊ペソ Line 2228: SQUARE PESO. Its distinct columns, one per line. 20 B
002176 unicode/part1/U+3338 NormalizationTest.txt ㌸␊ペニヒ␊ペニヒ Line 2229: SQUARE PENIHI. Its distinct columns, one per line. 26 B
002177 unicode/part1/U+3339 NormalizationTest.txt ㌹␊ヘルツ Line 2230: SQUARE HERUTU. Its distinct columns, one per line. 13 B
002178 unicode/part1/U+333A NormalizationTest.txt ㌺␊ペンス␊ペンス Line 2231: SQUARE PENSU. Its distinct columns, one per line. 26 B
002179 unicode/part1/U+333B NormalizationTest.txt ㌻␊ページ␊ページ Line 2232: SQUARE PEEZI. Its distinct columns, one per line. 29 B
002180 unicode/part1/U+333C NormalizationTest.txt ㌼␊ベータ␊ベータ Line 2233: SQUARE BEETA. Its distinct columns, one per line. 26 B
002181 unicode/part1/U+333D NormalizationTest.txt ㌽␊ポイント␊ポイント Line 2234: SQUARE POINTO. Its distinct columns, one per line. 32 B
002182 unicode/part1/U+333E NormalizationTest.txt ㌾␊ボルト␊ボルト Line 2235: SQUARE BORUTO. Its distinct columns, one per line. 26 B
002183 unicode/part1/U+333F NormalizationTest.txt ㌿␊ホン Line 2236: SQUARE HON. Its distinct columns, one per line. 10 B
002184 unicode/part1/U+3340 NormalizationTest.txt ㍀␊ポンド␊ポンド Line 2237: SQUARE PONDO. Its distinct columns, one per line. 29 B
002185 unicode/part1/U+3341 NormalizationTest.txt ㍁␊ホール Line 2238: SQUARE HOORU. Its distinct columns, one per line. 13 B
002186 unicode/part1/U+3342 NormalizationTest.txt ㍂␊ホーン Line 2239: SQUARE HOON. Its distinct columns, one per line. 13 B
002187 unicode/part1/U+3343 NormalizationTest.txt ㍃␊マイクロ Line 2240: SQUARE MAIKURO. Its distinct columns, one per line. 16 B
002188 unicode/part1/U+3344 NormalizationTest.txt ㍄␊マイル Line 2241: SQUARE MAIRU. Its distinct columns, one per line. 13 B
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

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.