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
001989 unicode/part1/U+327C NormalizationTest.txt ㉼␊참고␊참고 Line 2042: CIRCLED KOREAN CHARACTER CHAMKO. Its distinct columns, one per line. 26 B
001990 unicode/part1/U+327D NormalizationTest.txt ㉽␊주의␊주의 Line 2043: CIRCLED KOREAN CHARACTER JUEUI. Its distinct columns, one per line. 23 B
001991 unicode/part1/U+327E NormalizationTest.txt ㉾␊우␊우 Line 2044: CIRCLED HANGUL IEUNG U. Its distinct columns, one per line. 14 B
001992 unicode/part1/U+3280 NormalizationTest.txt ㊀␊一 Line 2045: CIRCLED IDEOGRAPH ONE. Its distinct columns, one per line. 7 B
001993 unicode/part1/U+3281 NormalizationTest.txt ㊁␊二 Line 2046: CIRCLED IDEOGRAPH TWO. Its distinct columns, one per line. 7 B
001994 unicode/part1/U+3282 NormalizationTest.txt ㊂␊三 Line 2047: CIRCLED IDEOGRAPH THREE. Its distinct columns, one per line. 7 B
001995 unicode/part1/U+3283 NormalizationTest.txt ㊃␊四 Line 2048: CIRCLED IDEOGRAPH FOUR. Its distinct columns, one per line. 7 B
001996 unicode/part1/U+3284 NormalizationTest.txt ㊄␊五 Line 2049: CIRCLED IDEOGRAPH FIVE. Its distinct columns, one per line. 7 B
001997 unicode/part1/U+3285 NormalizationTest.txt ㊅␊六 Line 2050: CIRCLED IDEOGRAPH SIX. Its distinct columns, one per line. 7 B
001998 unicode/part1/U+3286 NormalizationTest.txt ㊆␊七 Line 2051: CIRCLED IDEOGRAPH SEVEN. Its distinct columns, one per line. 7 B
001999 unicode/part1/U+3287 NormalizationTest.txt ㊇␊八 Line 2052: CIRCLED IDEOGRAPH EIGHT. Its distinct columns, one per line. 7 B
002000 unicode/part1/U+3288 NormalizationTest.txt ㊈␊九 Line 2053: CIRCLED IDEOGRAPH NINE. Its distinct columns, one per line. 7 B
002001 unicode/part1/U+3289 NormalizationTest.txt ㊉␊十 Line 2054: CIRCLED IDEOGRAPH TEN. Its distinct columns, one per line. 7 B
002002 unicode/part1/U+328A NormalizationTest.txt ㊊␊月 Line 2055: CIRCLED IDEOGRAPH MOON. Its distinct columns, one per line. 7 B
002003 unicode/part1/U+328B NormalizationTest.txt ㊋␊火 Line 2056: CIRCLED IDEOGRAPH FIRE. Its distinct columns, one per line. 7 B
002004 unicode/part1/U+328C NormalizationTest.txt ㊌␊水 Line 2057: CIRCLED IDEOGRAPH WATER. Its distinct columns, one per line. 7 B
002005 unicode/part1/U+328D NormalizationTest.txt ㊍␊木 Line 2058: CIRCLED IDEOGRAPH WOOD. Its distinct columns, one per line. 7 B
002006 unicode/part1/U+328E NormalizationTest.txt ㊎␊金 Line 2059: CIRCLED IDEOGRAPH METAL. Its distinct columns, one per line. 7 B
002007 unicode/part1/U+328F NormalizationTest.txt ㊏␊土 Line 2060: CIRCLED IDEOGRAPH EARTH. Its distinct columns, one per line. 7 B
002008 unicode/part1/U+3290 NormalizationTest.txt ㊐␊日 Line 2061: CIRCLED IDEOGRAPH SUN. Its distinct columns, one per line. 7 B
002009 unicode/part1/U+3291 NormalizationTest.txt ㊑␊株 Line 2062: CIRCLED IDEOGRAPH STOCK. Its distinct columns, one per line. 7 B
002010 unicode/part1/U+3292 NormalizationTest.txt ㊒␊有 Line 2063: CIRCLED IDEOGRAPH HAVE. Its distinct columns, one per line. 7 B
002011 unicode/part1/U+3293 NormalizationTest.txt ㊓␊社 Line 2064: CIRCLED IDEOGRAPH SOCIETY. Its distinct columns, one per line. 7 B
002012 unicode/part1/U+3294 NormalizationTest.txt ㊔␊名 Line 2065: CIRCLED IDEOGRAPH NAME. Its distinct columns, one per line. 7 B
002013 unicode/part1/U+3295 NormalizationTest.txt ㊕␊特 Line 2066: CIRCLED IDEOGRAPH SPECIAL. Its distinct columns, one per line. 7 B
002014 unicode/part1/U+3296 NormalizationTest.txt ㊖␊財 Line 2067: CIRCLED IDEOGRAPH FINANCIAL. Its distinct columns, one per line. 7 B
002015 unicode/part1/U+3297 NormalizationTest.txt ㊗␊祝 Line 2068: CIRCLED IDEOGRAPH CONGRATULATION. Its distinct columns, one per line. 7 B
002016 unicode/part1/U+3298 NormalizationTest.txt ㊘␊労 Line 2069: CIRCLED IDEOGRAPH LABOR. Its distinct columns, one per line. 7 B
002017 unicode/part1/U+3299 NormalizationTest.txt ㊙␊秘 Line 2070: CIRCLED IDEOGRAPH SECRET. Its distinct columns, one per line. 7 B
002018 unicode/part1/U+329A NormalizationTest.txt ㊚␊男 Line 2071: CIRCLED IDEOGRAPH MALE. Its distinct columns, one per line. 7 B
002019 unicode/part1/U+329B NormalizationTest.txt ㊛␊女 Line 2072: CIRCLED IDEOGRAPH FEMALE. Its distinct columns, one per line. 7 B
002020 unicode/part1/U+329C NormalizationTest.txt ㊜␊適 Line 2073: CIRCLED IDEOGRAPH SUITABLE. Its distinct columns, one per line. 7 B
002021 unicode/part1/U+329D NormalizationTest.txt ㊝␊優 Line 2074: CIRCLED IDEOGRAPH EXCELLENT. Its distinct columns, one per line. 7 B
002022 unicode/part1/U+329E NormalizationTest.txt ㊞␊印 Line 2075: CIRCLED IDEOGRAPH PRINT. Its distinct columns, one per line. 7 B
002023 unicode/part1/U+329F NormalizationTest.txt ㊟␊注 Line 2076: CIRCLED IDEOGRAPH ATTENTION. Its distinct columns, one per line. 7 B
002024 unicode/part1/U+32A0 NormalizationTest.txt ㊠␊項 Line 2077: CIRCLED IDEOGRAPH ITEM. Its distinct columns, one per line. 7 B
002025 unicode/part1/U+32A1 NormalizationTest.txt ㊡␊休 Line 2078: CIRCLED IDEOGRAPH REST. Its distinct columns, one per line. 7 B
002026 unicode/part1/U+32A2 NormalizationTest.txt ㊢␊写 Line 2079: CIRCLED IDEOGRAPH COPY. Its distinct columns, one per line. 7 B
002027 unicode/part1/U+32A3 NormalizationTest.txt ㊣␊正 Line 2080: CIRCLED IDEOGRAPH CORRECT. Its distinct columns, one per line. 7 B
002028 unicode/part1/U+32A4 NormalizationTest.txt ㊤␊上 Line 2081: CIRCLED IDEOGRAPH HIGH. Its distinct columns, one per line. 7 B
002029 unicode/part1/U+32A5 NormalizationTest.txt ㊥␊中 Line 2082: CIRCLED IDEOGRAPH CENTRE. Its distinct columns, one per line. 7 B
002030 unicode/part1/U+32A6 NormalizationTest.txt ㊦␊下 Line 2083: CIRCLED IDEOGRAPH LOW. Its distinct columns, one per line. 7 B
002031 unicode/part1/U+32A7 NormalizationTest.txt ㊧␊左 Line 2084: CIRCLED IDEOGRAPH LEFT. Its distinct columns, one per line. 7 B
002032 unicode/part1/U+32A8 NormalizationTest.txt ㊨␊右 Line 2085: CIRCLED IDEOGRAPH RIGHT. Its distinct columns, one per line. 7 B
002033 unicode/part1/U+32A9 NormalizationTest.txt ㊩␊医 Line 2086: CIRCLED IDEOGRAPH MEDICINE. Its distinct columns, one per line. 7 B
002034 unicode/part1/U+32AA NormalizationTest.txt ㊪␊宗 Line 2087: CIRCLED IDEOGRAPH RELIGION. Its distinct columns, one per line. 7 B
002035 unicode/part1/U+32AB NormalizationTest.txt ㊫␊学 Line 2088: CIRCLED IDEOGRAPH STUDY. Its distinct columns, one per line. 7 B
002036 unicode/part1/U+32AC NormalizationTest.txt ㊬␊監 Line 2089: CIRCLED IDEOGRAPH SUPERVISE. Its distinct columns, one per line. 7 B
002037 unicode/part1/U+32AD NormalizationTest.txt ㊭␊企 Line 2090: CIRCLED IDEOGRAPH ENTERPRISE. Its distinct columns, one per line. 7 B
002038 unicode/part1/U+32AE NormalizationTest.txt ㊮␊資 Line 2091: CIRCLED IDEOGRAPH RESOURCE. Its distinct columns, one per line. 7 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.