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
002089 unicode/part1/U+32E1 NormalizationTest.txt ㋡␊ツ Line 2142: CIRCLED KATAKANA TU. Its distinct columns, one per line. 7 B
002090 unicode/part1/U+32E2 NormalizationTest.txt ㋢␊テ Line 2143: CIRCLED KATAKANA TE. Its distinct columns, one per line. 7 B
002091 unicode/part1/U+32E3 NormalizationTest.txt ㋣␊ト Line 2144: CIRCLED KATAKANA TO. Its distinct columns, one per line. 7 B
002092 unicode/part1/U+32E4 NormalizationTest.txt ㋤␊ナ Line 2145: CIRCLED KATAKANA NA. Its distinct columns, one per line. 7 B
002093 unicode/part1/U+32E5 NormalizationTest.txt ㋥␊ニ Line 2146: CIRCLED KATAKANA NI. Its distinct columns, one per line. 7 B
002094 unicode/part1/U+32E6 NormalizationTest.txt ㋦␊ヌ Line 2147: CIRCLED KATAKANA NU. Its distinct columns, one per line. 7 B
002095 unicode/part1/U+32E7 NormalizationTest.txt ㋧␊ネ Line 2148: CIRCLED KATAKANA NE. Its distinct columns, one per line. 7 B
002096 unicode/part1/U+32E8 NormalizationTest.txt ㋨␊ノ Line 2149: CIRCLED KATAKANA NO. Its distinct columns, one per line. 7 B
002097 unicode/part1/U+32E9 NormalizationTest.txt ㋩␊ハ Line 2150: CIRCLED KATAKANA HA. Its distinct columns, one per line. 7 B
002098 unicode/part1/U+32EA NormalizationTest.txt ㋪␊ヒ Line 2151: CIRCLED KATAKANA HI. Its distinct columns, one per line. 7 B
002099 unicode/part1/U+32EB NormalizationTest.txt ㋫␊フ Line 2152: CIRCLED KATAKANA HU. Its distinct columns, one per line. 7 B
002100 unicode/part1/U+32EC NormalizationTest.txt ㋬␊ヘ Line 2153: CIRCLED KATAKANA HE. Its distinct columns, one per line. 7 B
002101 unicode/part1/U+32ED NormalizationTest.txt ㋭␊ホ Line 2154: CIRCLED KATAKANA HO. Its distinct columns, one per line. 7 B
002102 unicode/part1/U+32EE NormalizationTest.txt ㋮␊マ Line 2155: CIRCLED KATAKANA MA. Its distinct columns, one per line. 7 B
002103 unicode/part1/U+32EF NormalizationTest.txt ㋯␊ミ Line 2156: CIRCLED KATAKANA MI. Its distinct columns, one per line. 7 B
002104 unicode/part1/U+32F0 NormalizationTest.txt ㋰␊ム Line 2157: CIRCLED KATAKANA MU. Its distinct columns, one per line. 7 B
002105 unicode/part1/U+32F1 NormalizationTest.txt ㋱␊メ Line 2158: CIRCLED KATAKANA ME. Its distinct columns, one per line. 7 B
002106 unicode/part1/U+32F2 NormalizationTest.txt ㋲␊モ Line 2159: CIRCLED KATAKANA MO. Its distinct columns, one per line. 7 B
002107 unicode/part1/U+32F3 NormalizationTest.txt ㋳␊ヤ Line 2160: CIRCLED KATAKANA YA. Its distinct columns, one per line. 7 B
002108 unicode/part1/U+32F4 NormalizationTest.txt ㋴␊ユ Line 2161: CIRCLED KATAKANA YU. Its distinct columns, one per line. 7 B
002109 unicode/part1/U+32F5 NormalizationTest.txt ㋵␊ヨ Line 2162: CIRCLED KATAKANA YO. Its distinct columns, one per line. 7 B
002110 unicode/part1/U+32F6 NormalizationTest.txt ㋶␊ラ Line 2163: CIRCLED KATAKANA RA. Its distinct columns, one per line. 7 B
002111 unicode/part1/U+32F7 NormalizationTest.txt ㋷␊リ Line 2164: CIRCLED KATAKANA RI. Its distinct columns, one per line. 7 B
002112 unicode/part1/U+32F8 NormalizationTest.txt ㋸␊ル Line 2165: CIRCLED KATAKANA RU. Its distinct columns, one per line. 7 B
002113 unicode/part1/U+32F9 NormalizationTest.txt ㋹␊レ Line 2166: CIRCLED KATAKANA RE. Its distinct columns, one per line. 7 B
002114 unicode/part1/U+32FA NormalizationTest.txt ㋺␊ロ Line 2167: CIRCLED KATAKANA RO. Its distinct columns, one per line. 7 B
002115 unicode/part1/U+32FB NormalizationTest.txt ㋻␊ワ Line 2168: CIRCLED KATAKANA WA. Its distinct columns, one per line. 7 B
002116 unicode/part1/U+32FC NormalizationTest.txt ㋼␊ヰ Line 2169: CIRCLED KATAKANA WI. Its distinct columns, one per line. 7 B
002117 unicode/part1/U+32FD NormalizationTest.txt ㋽␊ヱ Line 2170: CIRCLED KATAKANA WE. Its distinct columns, one per line. 7 B
002118 unicode/part1/U+32FE NormalizationTest.txt ㋾␊ヲ Line 2171: CIRCLED KATAKANA WO. Its distinct columns, one per line. 7 B
002119 unicode/part1/U+32FF NormalizationTest.txt ㋿␊令和 Line 2172: SQUARE ERA NAME REIWA. Its distinct columns, one per line. 10 B
002120 unicode/part1/U+3300 NormalizationTest.txt ㌀␊アパート␊アパート Line 2173: SQUARE APAATO. Its distinct columns, one per line. 32 B
002121 unicode/part1/U+3301 NormalizationTest.txt ㌁␊アルファ Line 2174: SQUARE ARUHUA. Its distinct columns, one per line. 16 B
002122 unicode/part1/U+3302 NormalizationTest.txt ㌂␊アンペア␊アンペア Line 2175: SQUARE ANPEA. Its distinct columns, one per line. 32 B
002123 unicode/part1/U+3303 NormalizationTest.txt ㌃␊アール Line 2176: SQUARE AARU. Its distinct columns, one per line. 13 B
002124 unicode/part1/U+3304 NormalizationTest.txt ㌄␊イニング␊イニング Line 2177: SQUARE ININGU. Its distinct columns, one per line. 32 B
002125 unicode/part1/U+3305 NormalizationTest.txt ㌅␊インチ Line 2178: SQUARE INTI. Its distinct columns, one per line. 13 B
002126 unicode/part1/U+3306 NormalizationTest.txt ㌆␊ウォン Line 2179: SQUARE UON. Its distinct columns, one per line. 13 B
002127 unicode/part1/U+3307 NormalizationTest.txt ㌇␊エスクード␊エスクード Line 2180: SQUARE ESUKUUDO. Its distinct columns, one per line. 38 B
002128 unicode/part1/U+3308 NormalizationTest.txt ㌈␊エーカー Line 2181: SQUARE EEKAA. Its distinct columns, one per line. 16 B
002129 unicode/part1/U+3309 NormalizationTest.txt ㌉␊オンス Line 2182: SQUARE ONSU. Its distinct columns, one per line. 13 B
002130 unicode/part1/U+330A NormalizationTest.txt ㌊␊オーム Line 2183: SQUARE OOMU. Its distinct columns, one per line. 13 B
002131 unicode/part1/U+330B NormalizationTest.txt ㌋␊カイリ Line 2184: SQUARE KAIRI. Its distinct columns, one per line. 13 B
002132 unicode/part1/U+330C NormalizationTest.txt ㌌␊カラット Line 2185: SQUARE KARATTO. Its distinct columns, one per line. 16 B
002133 unicode/part1/U+330D NormalizationTest.txt ㌍␊カロリー Line 2186: SQUARE KARORII. Its distinct columns, one per line. 16 B
002134 unicode/part1/U+330E NormalizationTest.txt ㌎␊ガロン␊ガロン Line 2187: SQUARE GARON. Its distinct columns, one per line. 26 B
002135 unicode/part1/U+330F NormalizationTest.txt ㌏␊ガンマ␊ガンマ Line 2188: SQUARE GANMA. Its distinct columns, one per line. 26 B
002136 unicode/part1/U+3310 NormalizationTest.txt ㌐␊ギガ␊ギガ Line 2189: SQUARE GIGA. Its distinct columns, one per line. 23 B
002137 unicode/part1/U+3311 NormalizationTest.txt ㌑␊ギニー␊ギニー Line 2190: SQUARE GINII. Its distinct columns, one per line. 26 B
002138 unicode/part1/U+3312 NormalizationTest.txt ㌒␊キュリー Line 2191: SQUARE KYURII. Its distinct columns, one per line. 16 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.