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
5,928 of 11,911 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 003745 | unicode/part1/U+FF2A NormalizationTest.txt |
J␊J
|
5 B | |
| 003746 | unicode/part1/U+FF2B NormalizationTest.txt |
K␊K
|
5 B | |
| 003747 | unicode/part1/U+FF2C NormalizationTest.txt |
L␊L
|
5 B | |
| 003748 | unicode/part1/U+FF2D NormalizationTest.txt |
M␊M
|
5 B | |
| 003749 | unicode/part1/U+FF2E NormalizationTest.txt |
N␊N
|
5 B | |
| 003750 | unicode/part1/U+FF2F NormalizationTest.txt |
O␊O
|
5 B | |
| 003751 | unicode/part1/U+FF30 NormalizationTest.txt |
P␊P
|
5 B | |
| 003752 | unicode/part1/U+FF31 NormalizationTest.txt |
Q␊Q
|
5 B | |
| 003753 | unicode/part1/U+FF32 NormalizationTest.txt |
R␊R
|
5 B | |
| 003754 | unicode/part1/U+FF33 NormalizationTest.txt |
S␊S
|
5 B | |
| 003755 | unicode/part1/U+FF34 NormalizationTest.txt |
T␊T
|
5 B | |
| 003756 | unicode/part1/U+FF35 NormalizationTest.txt |
U␊U
|
5 B | |
| 003757 | unicode/part1/U+FF36 NormalizationTest.txt |
V␊V
|
5 B | |
| 003758 | unicode/part1/U+FF37 NormalizationTest.txt |
W␊W
|
5 B | |
| 003759 | unicode/part1/U+FF38 NormalizationTest.txt |
X␊X
|
5 B | |
| 003760 | unicode/part1/U+FF39 NormalizationTest.txt |
Y␊Y
|
5 B | |
| 003761 | unicode/part1/U+FF3A NormalizationTest.txt |
Z␊Z
|
5 B | |
| 003762 | unicode/part1/U+FF3B NormalizationTest.txt |
[␊[
|
5 B | |
| 003763 | unicode/part1/U+FF3C NormalizationTest.txt |
\␊\
|
5 B | |
| 003764 | unicode/part1/U+FF3D NormalizationTest.txt |
]␊]
|
5 B | |
| 003765 | unicode/part1/U+FF3E NormalizationTest.txt |
^␊^
|
5 B | |
| 003766 | unicode/part1/U+FF3F NormalizationTest.txt |
_␊_
|
5 B | |
| 003767 | unicode/part1/U+FF40 NormalizationTest.txt |
`␊`
|
5 B | |
| 003768 | unicode/part1/U+FF41 NormalizationTest.txt |
a␊a
|
5 B | |
| 003769 | unicode/part1/U+FF42 NormalizationTest.txt |
b␊b
|
5 B | |
| 003770 | unicode/part1/U+FF43 NormalizationTest.txt |
c␊c
|
5 B | |
| 003771 | unicode/part1/U+FF44 NormalizationTest.txt |
d␊d
|
5 B | |
| 003772 | unicode/part1/U+FF45 NormalizationTest.txt |
e␊e
|
5 B | |
| 003773 | unicode/part1/U+FF46 NormalizationTest.txt |
f␊f
|
5 B | |
| 003774 | unicode/part1/U+FF47 NormalizationTest.txt |
g␊g
|
5 B | |
| 003775 | unicode/part1/U+FF48 NormalizationTest.txt |
h␊h
|
5 B | |
| 003776 | unicode/part1/U+FF49 NormalizationTest.txt |
i␊i
|
5 B | |
| 003777 | unicode/part1/U+FF4A NormalizationTest.txt |
j␊j
|
5 B | |
| 003778 | unicode/part1/U+FF4B NormalizationTest.txt |
k␊k
|
5 B | |
| 003779 | unicode/part1/U+FF4C NormalizationTest.txt |
l␊l
|
5 B | |
| 003780 | unicode/part1/U+FF4D NormalizationTest.txt |
m␊m
|
5 B | |
| 003781 | unicode/part1/U+FF4E NormalizationTest.txt |
n␊n
|
5 B | |
| 003782 | unicode/part1/U+FF4F NormalizationTest.txt |
o␊o
|
5 B | |
| 003783 | unicode/part1/U+FF50 NormalizationTest.txt |
p␊p
|
5 B | |
| 003784 | unicode/part1/U+FF51 NormalizationTest.txt |
q␊q
|
5 B | |
| 003785 | unicode/part1/U+FF52 NormalizationTest.txt |
r␊r
|
5 B | |
| 003786 | unicode/part1/U+FF53 NormalizationTest.txt |
s␊s
|
5 B | |
| 003787 | unicode/part1/U+FF54 NormalizationTest.txt |
t␊t
|
5 B | |
| 003788 | unicode/part1/U+FF55 NormalizationTest.txt |
u␊u
|
5 B | |
| 003789 | unicode/part1/U+FF56 NormalizationTest.txt |
v␊v
|
5 B | |
| 003790 | unicode/part1/U+FF57 NormalizationTest.txt |
w␊w
|
5 B | |
| 003791 | unicode/part1/U+FF58 NormalizationTest.txt |
x␊x
|
5 B | |
| 003792 | unicode/part1/U+FF59 NormalizationTest.txt |
y␊y
|
5 B | |
| 003793 | unicode/part1/U+FF5A NormalizationTest.txt |
z␊z
|
5 B | |
| 003794 | unicode/part1/U+FF5B NormalizationTest.txt |
{␊{
|
5 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.
- NormalizationTest.txt — Unicode’s conformance test, the source of the 8,868 unicode cases; each case is one line, its distinct columns on separate lines
- The Unicode Character Database — combining classes, decompositions and composition exclusions, the source of the 157 ucd cases