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

52 of 11,911 cases

Case Name Expected Note Size
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
009011 ucd/jamo/U+1100..U+1120 Unicode Character Database 가␊ᄀᄀ␊가ᄀ␊각ᄀ␊ᄀᄀᆨ␊ᄀᄀ␊까␊ᄀᄁ␊가ᄁ␊각ᄁ␊ᄀᄁᆨ␊ᄁᄁ␊나␊ᄀᄂ␊가ᄂ␊각ᄂ␊ᄀᄂᆨ␊ᄂᄂ␊다␊ᄀᄃ… Each jamo in this range before a vowel, after a leading consonant, after an LV and an LVT syllable, between a leading and a trailing consonant, and doubled, one per line. 1.4 KiB
009012 ucd/jamo/U+1121..U+1141 Unicode Character Database ᄡᅡ␊ᄀᄡ␊가ᄡ␊각ᄡ␊ᄀᄡᆨ␊ᄡᄡ␊ᄢᅡ␊ᄀᄢ␊가ᄢ␊각ᄢ␊ᄀᄢᆨ␊ᄢᄢ␊ᄣᅡ␊ᄀᄣ␊가ᄣ␊각ᄣ␊ᄀᄣᆨ␊ᄣᄣ␊ᄤᅡ␊ᄀᄤ… Each jamo in this range before a vowel, after a leading consonant, after an LV and an LVT syllable, between a leading and a trailing consonant, and doubled, one per line. 1.4 KiB
009013 ucd/jamo/U+1142..U+1162 Unicode Character Database ᅂᅡ␊ᄀᅂ␊가ᅂ␊각ᅂ␊ᄀᅂᆨ␊ᅂᅂ␊ᅃᅡ␊ᄀᅃ␊가ᅃ␊각ᅃ␊ᄀᅃᆨ␊ᅃᅃ␊ᅄᅡ␊ᄀᅄ␊가ᅄ␊각ᅄ␊ᄀᅄᆨ␊ᅄᅄ␊ᅅᅡ␊ᄀᅅ… Each jamo in this range before a vowel, after a leading consonant, after an LV and an LVT syllable, between a leading and a trailing consonant, and doubled, one per line. 1.4 KiB
009014 ucd/jamo/U+1163..U+1183 Unicode Character Database ᅣᅡ␊갸␊가ᅣ␊각ᅣ␊갹␊ᅣᅣ␊ᅤᅡ␊걔␊가ᅤ␊각ᅤ␊걕␊ᅤᅤ␊ᅥᅡ␊거␊가ᅥ␊각ᅥ␊걱␊ᅥᅥ␊ᅦᅡ␊게␊가ᅦ␊각ᅦ␊… Each jamo in this range before a vowel, after a leading consonant, after an LV and an LVT syllable, between a leading and a trailing consonant, and doubled, one per line. 1.4 KiB
009015 ucd/jamo/U+1184..U+11A4 Unicode Character Database ᆄᅡ␊ᄀᆄ␊가ᆄ␊각ᆄ␊ᄀᆄᆨ␊ᆄᆄ␊ᆅᅡ␊ᄀᆅ␊가ᆅ␊각ᆅ␊ᄀᆅᆨ␊ᆅᆅ␊ᆆᅡ␊ᄀᆆ␊가ᆆ␊각ᆆ␊ᄀᆆᆨ␊ᆆᆆ␊ᆇᅡ␊ᄀᆇ␊가ᆇ␊각ᆇ␊… Each jamo in this range before a vowel, after a leading consonant, after an LV and an LVT syllable, between a leading and a trailing consonant, and doubled, one per line. 1.4 KiB
009016 ucd/jamo/U+11A5..U+11C5 Unicode Character Database ᆥᅡ␊ᄀᆥ␊가ᆥ␊각ᆥ␊ᄀᆥᆨ␊ᆥᆥ␊ᆦᅡ␊ᄀᆦ␊가ᆦ␊각ᆦ␊ᄀᆦᆨ␊ᆦᆦ␊ᆧᅡ␊ᄀᆧ␊가ᆧ␊각ᆧ␊ᄀᆧᆨ␊ᆧᆧ␊ᆨᅡ␊ᄀᆨ␊각␊각ᆨ… Each jamo in this range before a vowel, after a leading consonant, after an LV and an LVT syllable, between a leading and a trailing consonant, and doubled, one per line. 1.4 KiB
009017 ucd/jamo/U+11C6..U+11E6 Unicode Character Database ᇆᅡ␊ᄀᇆ␊가ᇆ␊각ᇆ␊ᄀᇆᆨ␊ᇆᇆ␊ᇇᅡ␊ᄀᇇ␊가ᇇ␊각ᇇ␊ᄀᇇᆨ␊ᇇᇇ␊ᇈᅡ␊ᄀᇈ␊가ᇈ␊각ᇈ␊ᄀᇈᆨ␊ᇈᇈ␊ᇉᅡ␊… Each jamo in this range before a vowel, after a leading consonant, after an LV and an LVT syllable, between a leading and a trailing consonant, and doubled, one per line. 1.4 KiB
009018 ucd/jamo/U+11E7..U+A967 Unicode Character Database ᇧᅡ␊ᄀᇧ␊가ᇧ␊각ᇧ␊ᄀᇧᆨ␊ᇧᇧ␊ᇨᅡ␊ᄀᇨ␊가ᇨ␊각ᇨ␊ᄀᇨᆨ␊ᇨᇨ␊ᇩᅡ␊ᄀᇩ␊가ᇩ␊각ᇩ␊ᄀᇩᆨ␊ᇩᇩ␊ᇪᅡ␊… Each jamo in this range before a vowel, after a leading consonant, after an LV and an LVT syllable, between a leading and a trailing consonant, and doubled, one per line. 1.4 KiB
009019 ucd/jamo/U+A968..U+D7B8 Unicode Character Database ꥨᅡ␊ᄀꥨ␊가ꥨ␊각ꥨ␊ᄀꥨᆨ␊ꥨꥨ␊ꥩᅡ␊ᄀꥩ␊가ꥩ␊각ꥩ␊ᄀꥩᆨ␊ꥩꥩ␊ꥪᅡ␊ᄀꥪ␊가ꥪ␊각ꥪ␊ᄀꥪᆨ␊ꥪꥪ␊ꥫᅡ␊ᄀꥫ… Each jamo in this range before a vowel, after a leading consonant, after an LV and an LVT syllable, between a leading and a trailing consonant, and doubled, one per line. 1.4 KiB
009020 ucd/jamo/U+D7B9..U+D7D9 Unicode Character Database ힹᅡ␊ᄀힹ␊가ힹ␊각ힹ␊ᄀힹᆨ␊ힹힹ␊ힺᅡ␊ᄀힺ␊가ힺ␊각ힺ␊ᄀힺᆨ␊ힺힺ␊ힻᅡ␊ᄀힻ␊가ힻ␊각ힻ␊ᄀힻᆨ␊ힻힻ␊ힼᅡ␊ᄀힼ␊가ힼ␊각ힼ␊… Each jamo in this range before a vowel, after a leading consonant, after an LV and an LVT syllable, between a leading and a trailing consonant, and doubled, one per line. 1.4 KiB
009021 ucd/jamo/U+D7DA..U+D7FA Unicode Character Database ퟚᅡ␊ᄀퟚ␊가ퟚ␊각ퟚ␊ᄀퟚᆨ␊ퟚퟚ␊ퟛᅡ␊ᄀퟛ␊가ퟛ␊각ퟛ␊ᄀퟛᆨ␊ퟛퟛ␊ퟜᅡ␊ᄀퟜ␊가ퟜ␊각ퟜ␊ᄀퟜᆨ␊ퟜퟜ␊ퟝᅡ␊… Each jamo in this range before a vowel, after a leading consonant, after an LV and an LVT syllable, between a leading and a trailing consonant, and doubled, one per line. 1.4 KiB
009022 ucd/jamo/U+D7FB..U+D7FF Unicode Character Database ퟻᅡ␊ᄀퟻ␊가ퟻ␊각ퟻ␊ᄀퟻᆨ␊ퟻퟻ␊퟼ᅡ␊ᄀ퟼␊가퟼␊각퟼␊ᄀ퟼ᆨ␊퟼퟼␊퟽ᅡ␊ᄀ퟽␊가퟽␊각퟽␊ᄀ퟽… Each jamo in this range before a vowel, after a leading consonant, after an LV and an LVT syllable, between a leading and a trailing consonant, and doubled, one per line. 224 B
009096 regression/hangul/L V Focused regression 가 6 B
009097 regression/hangul/L V T Focused regression 각 9 B
009098 regression/hangul/LV T Focused regression 각 A precomposed LV syllable takes a trailing consonant. 6 B
009099 regression/hangul/LVT T Focused regression 각ᆨ An LVT syllable is full. Composing again is a classic bug: U+AC01 + U+11A8 is not U+AC02. 6 B
009100 regression/hangul/LVT every T Focused regression 개ᆧ객갞갟갠갡갢갣갤갥갦갧갨갩갪갫갬갭갮갯갰갱갲갳갴갵갶갷개ᇃ 174 B
009101 regression/hangul/L V T T Focused regression 각ᆨ 12 B
009102 regression/hangul/L L V Focused regression ᄀ가 9 B
009103 regression/hangul/L V V Focused regression 가ᅡ 9 B
009104 regression/hangul/V and T alone Focused regression ᅡ ᆨ ᅡᆨ 14 B
009105 regression/hangul/T base is not a trailing consonant Focused regression 가ᆧ U+11A7 is TBase itself, one before the first trailing consonant. 6 B
009106 regression/hangul/just outside the ranges Focused regression ᄓᅡ ᄀᅶ 가ᇃ ჿᅡ ᄀᅠ U+1113 is past the last modern leading consonant, U+1176 past the last vowel, U+11C3 past the last trailing consonant; U+1160 is the vowel filler. 34 B
009107 regression/hangul/first and last of each range Focused regression 가 히 깋 힣 학 43 B
009108 regression/hangul/mark between jamo Focused regression ᄀ̀ᅡ 가̀ᆨ PRI #29: the mark blocks the jamo from composing. 17 B
009109 regression/hangul/LV then a starter then T Focused regression 가⟨U+200D⟩ᆨ 9 B
009110 regression/hangul/old and compatibility jamo Focused regression ꥠᅡ ㄱㅏ 가 ힰ ᄀힰ 가ퟋ Extended, compatibility and halfwidth jamo don't compose. 38 B
009111 regression/hangul/input ends after L Focused regression 각ᄀ 6 B
009112 regression/hangul/input ends after L V Focused regression x가 7 B
009113 regression/hangul/syllable then mark Focused regression 가̣́ 7 B
009114 regression/hangul/every LV syllable Focused regression 가개갸걔거게겨계고과괘괴교구궈궤귀규그긔기까깨꺄꺠꺼께껴꼐꼬꽈꽤꾀꾜꾸꿔꿰뀌뀨끄끠끼나내냐냬너네… 2.3 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.