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
005945 unicode/part1/U+2FA15 NormalizationTest.txt 麻␊麻 Line 17170: CJK COMPATIBILITY IDEOGRAPH-2FA15. Its distinct columns, one per line. 8 B
005946 unicode/part1/U+2FA16 NormalizationTest.txt 䵖␊䵖 Line 17171: CJK COMPATIBILITY IDEOGRAPH-2FA16. Its distinct columns, one per line. 8 B
005947 unicode/part1/U+2FA17 NormalizationTest.txt 黹␊黹 Line 17172: CJK COMPATIBILITY IDEOGRAPH-2FA17. Its distinct columns, one per line. 8 B
005948 unicode/part1/U+2FA18 NormalizationTest.txt 黾␊黾 Line 17173: CJK COMPATIBILITY IDEOGRAPH-2FA18. Its distinct columns, one per line. 8 B
005949 unicode/part1/U+2FA19 NormalizationTest.txt 鼅␊鼅 Line 17174: CJK COMPATIBILITY IDEOGRAPH-2FA19. Its distinct columns, one per line. 8 B
005950 unicode/part1/U+2FA1A NormalizationTest.txt 鼏␊鼏 Line 17175: CJK COMPATIBILITY IDEOGRAPH-2FA1A. Its distinct columns, one per line. 8 B
005951 unicode/part1/U+2FA1B NormalizationTest.txt 鼖␊鼖 Line 17176: CJK COMPATIBILITY IDEOGRAPH-2FA1B. Its distinct columns, one per line. 8 B
005952 unicode/part1/U+2FA1C NormalizationTest.txt 鼻␊鼻 Line 17177: CJK COMPATIBILITY IDEOGRAPH-2FA1C. Its distinct columns, one per line. 8 B
005953 unicode/part1/U+2FA1D NormalizationTest.txt 𪘀␊𪘀 Line 17178: CJK COMPATIBILITY IDEOGRAPH-2FA1D. Its distinct columns, one per line. 9 B
008849 unicode/part1/hangul U+AC00..U+AE4B NormalizationTest.txt 가␊가␊각␊각␊갂␊갂␊갃␊갃␊간␊간␊갅␊갅␊갆␊갆␊갇␊갇␊갈␊갈␊갉␊갉␊갊␊갊␊갋␊갋␊… The 588 lines for syllables starting with U+1100: each syllable, then its conjoining jamo. 8.0 KiB
008850 unicode/part1/hangul U+AE4C..U+B097 NormalizationTest.txt 까␊까␊깍␊깍␊깎␊깎␊깏␊깏␊깐␊깐␊깑␊깑␊깒␊깒␊깓␊깓␊깔␊깔␊깕␊깕␊깖␊깖␊깗␊깗␊… The 588 lines for syllables starting with U+1101: each syllable, then its conjoining jamo. 8.0 KiB
008851 unicode/part1/hangul U+B098..U+B2E3 NormalizationTest.txt 나␊나␊낙␊낙␊낚␊낚␊낛␊낛␊난␊난␊낝␊낝␊낞␊낞␊낟␊낟␊날␊날␊낡␊낡␊낢␊낢␊낣␊낣␊… The 588 lines for syllables starting with U+1102: each syllable, then its conjoining jamo. 8.0 KiB
008852 unicode/part1/hangul U+B2E4..U+B52F NormalizationTest.txt 다␊다␊닥␊닥␊닦␊닦␊닧␊닧␊단␊단␊닩␊닩␊닪␊닪␊닫␊닫␊달␊달␊닭␊닭␊닮␊닮␊닯␊닯␊… The 588 lines for syllables starting with U+1103: each syllable, then its conjoining jamo. 8.0 KiB
008853 unicode/part1/hangul U+B530..U+B77B NormalizationTest.txt 따␊따␊딱␊딱␊딲␊딲␊딳␊딳␊딴␊딴␊딵␊딵␊딶␊딶␊딷␊딷␊딸␊딸␊딹␊딹␊딺␊딺␊딻␊딻␊… The 588 lines for syllables starting with U+1104: each syllable, then its conjoining jamo. 8.0 KiB
008854 unicode/part1/hangul U+B77C..U+B9C7 NormalizationTest.txt 라␊라␊락␊락␊띾␊띾␊띿␊띿␊란␊란␊랁␊랁␊랂␊랂␊랃␊랃␊랄␊랄␊랅␊랅␊랆␊랆␊랇␊랇␊… The 588 lines for syllables starting with U+1105: each syllable, then its conjoining jamo. 8.0 KiB
008855 unicode/part1/hangul U+B9C8..U+BC13 NormalizationTest.txt 마␊마␊막␊막␊맊␊맊␊맋␊맋␊만␊만␊맍␊맍␊많␊많␊맏␊맏␊말␊말␊맑␊맑␊맒␊맒␊맓␊맓␊… The 588 lines for syllables starting with U+1106: each syllable, then its conjoining jamo. 8.0 KiB
008856 unicode/part1/hangul U+BC14..U+BE5F NormalizationTest.txt 바␊바␊박␊박␊밖␊밖␊밗␊밗␊반␊반␊밙␊밙␊밚␊밚␊받␊받␊발␊발␊밝␊밝␊밞␊밞␊밟␊밟␊… The 588 lines for syllables starting with U+1107: each syllable, then its conjoining jamo. 8.0 KiB
008857 unicode/part1/hangul U+BE60..U+C0AB NormalizationTest.txt 빠␊빠␊빡␊빡␊빢␊빢␊빣␊빣␊빤␊빤␊빥␊빥␊빦␊빦␊빧␊빧␊빨␊빨␊빩␊빩␊빪␊빪␊빫␊빫␊… The 588 lines for syllables starting with U+1108: each syllable, then its conjoining jamo. 8.0 KiB
008858 unicode/part1/hangul U+C0AC..U+C2F7 NormalizationTest.txt 사␊사␊삭␊삭␊삮␊삮␊삯␊삯␊산␊산␊삱␊삱␊삲␊삲␊삳␊삳␊살␊살␊삵␊삵␊삶␊삶␊삷␊삷␊… The 588 lines for syllables starting with U+1109: each syllable, then its conjoining jamo. 8.0 KiB
008859 unicode/part1/hangul U+C2F8..U+C543 NormalizationTest.txt 싸␊싸␊싹␊싹␊싺␊싺␊싻␊싻␊싼␊싼␊싽␊싽␊싾␊싾␊싿␊싿␊쌀␊쌀␊쌁␊쌁␊쌂␊쌂␊쌃␊쌃␊… The 588 lines for syllables starting with U+110A: each syllable, then its conjoining jamo. 8.0 KiB
008860 unicode/part1/hangul U+C544..U+C78F NormalizationTest.txt 아␊아␊악␊악␊앆␊앆␊앇␊앇␊안␊안␊앉␊앉␊않␊않␊앋␊앋␊알␊알␊앍␊앍␊앎␊앎␊앏␊앏␊… The 588 lines for syllables starting with U+110B: each syllable, then its conjoining jamo. 8.0 KiB
008861 unicode/part1/hangul U+C790..U+C9DB NormalizationTest.txt 자␊자␊작␊작␊잒␊잒␊잓␊잓␊잔␊잔␊잕␊잕␊잖␊잖␊잗␊잗␊잘␊잘␊잙␊잙␊잚␊잚␊잛␊잛␊… The 588 lines for syllables starting with U+110C: each syllable, then its conjoining jamo. 8.0 KiB
008862 unicode/part1/hangul U+C9DC..U+CC27 NormalizationTest.txt 짜␊짜␊짝␊짝␊짞␊짞␊짟␊짟␊짠␊짠␊짡␊짡␊짢␊짢␊짣␊짣␊짤␊짤␊짥␊짥␊짦␊짦␊짧␊짧␊… The 588 lines for syllables starting with U+110D: each syllable, then its conjoining jamo. 8.0 KiB
008863 unicode/part1/hangul U+CC28..U+CE73 NormalizationTest.txt 차␊차␊착␊착␊찪␊찪␊찫␊찫␊찬␊찬␊찭␊찭␊찮␊찮␊찯␊찯␊찰␊찰␊찱␊찱␊찲␊찲␊찳␊찳␊… The 588 lines for syllables starting with U+110E: each syllable, then its conjoining jamo. 8.0 KiB
008864 unicode/part1/hangul U+CE74..U+D0BF NormalizationTest.txt 카␊카␊칵␊칵␊칶␊칶␊칷␊칷␊칸␊칸␊칹␊칹␊칺␊칺␊칻␊칻␊칼␊칼␊칽␊칽␊칾␊칾␊칿␊칿␊… The 588 lines for syllables starting with U+110F: each syllable, then its conjoining jamo. 8.0 KiB
008865 unicode/part1/hangul U+D0C0..U+D30B NormalizationTest.txt 타␊타␊탁␊탁␊탂␊탂␊탃␊탃␊탄␊탄␊탅␊탅␊탆␊탆␊탇␊탇␊탈␊탈␊탉␊탉␊탊␊탊␊탋␊탋␊… The 588 lines for syllables starting with U+1110: each syllable, then its conjoining jamo. 8.0 KiB
008866 unicode/part1/hangul U+D30C..U+D557 NormalizationTest.txt 파␊파␊팍␊팍␊팎␊팎␊팏␊팏␊판␊판␊팑␊팑␊팒␊팒␊팓␊팓␊팔␊팔␊팕␊팕␊팖␊팖␊팗␊팗␊… The 588 lines for syllables starting with U+1111: each syllable, then its conjoining jamo. 8.0 KiB
008867 unicode/part1/hangul U+D558..U+D7A3 NormalizationTest.txt 하␊하␊학␊학␊핚␊핚␊핛␊핛␊한␊한␊핝␊핝␊핞␊핞␊핟␊핟␊할␊할␊핡␊핡␊핢␊핢␊핣␊핣␊… The 588 lines for syllables starting with U+1112: each syllable, then its conjoining jamo. 8.0 KiB

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.