An archive receives two index cards that appear to spell the same name. One holds a letter with an accent encoded as a single Unicode code point. The other holds a base letter followed by a separate combining accent. The names can look the same on the screen. A comparison that checks the original code-point sequences can still distinguish them. A comparison using Unicode canonical normalization can give them the same key. None of this tells us whether two index cards describe the same person. It tells us how two strings represent text.

This is the separation an archive needs to preserve: original representation, comparison key, and record identity. The original is the value whose provenance matters. The key is a derived aid to finding or comparing records. The record identity marks an entry and, where applicable, a separately established relationship to a person. A good index can retrieve two entries using one key while keeping both original strings and both identities. A bad deduplication rule can mistake that successful retrieval for permission to combine the two people or erase one of the records.
Begin with an invented name, Amélie. One representation uses the precomposed lowercase accented letter U+00E9. Another uses U+0065 for e followed by U+0301 for the combining acute accent. In the same surrounding letters, those are canonically equivalent ways to represent the accented text. The examples are about the representation of the accent. They are not actual records and they do not imply that any real people with this name can be linked. The visual distinction may be impossible to see in a font with normal rendering, so attach a precise code-point description if the example needs to remain demonstrable.
This also explains why a polished screenshot is a poor test of whether the original strings differ. A screen can faithfully show the same textual result for two different sequences. A code-point inspection can reveal how the source obtained that result. The reverse caution matters too: two strings that happen to look alike in a particular font are not necessarily canonically equivalent. Visual appearance is valuable for display review but is not a substitute for the standard's definition of equality. A sharp archive keeps both the experience of reading the name and the exact meaning of the comparison rule in view.
Canonical normalization does one thing, not every useful thing
The Unicode normalization specification, Unicode Standard Annex #15, distinguishes canonical equivalence from compatibility equivalence. Canonical equivalence covers representations of the same abstract text, such as the example with a composed letter and a combining sequence. NFC uses canonical decomposition followed by canonical composition as defined in the standard. Applying it to both forms of the invented accent example yields the same normalized string. The accent has not been removed. The comparison has aligned different representations of the accented text.
NFC should not be confused with taking away all accents. If the archive has Amélie and Amelie, applying NFC does not make the two spellings equal by dropping the accented distinction. A search system might choose to offer accent-insensitive discovery under a separate, explicit rule. That rule would answer a different retrieval question and could gather more candidates. It would not be a definition of canonical equivalence. Naming the difference helps a researcher know whether a matching key identifies the same notation or merely offers a broader set of possible spellings or aliases.
Nor does canonical normalization by itself define the project's case, punctuation, or whitespace policy. A team that wants a case-insensitive index needs to state that transformation separately. A team that removes punctuation or rewrites spacing should treat it as an intentional design choice with effects on matching. Calling every transformation normalization can be convenient in conversation and misleading in documentation. When a discrepancy appears, the reviewer needs to know whether it resulted from using a Unicode form, changing the case policy, or editing something else in the field. A log showing only “normalized” is too vague to answer.
A display policy can be distinct again. An archive might choose to display the original spelling and include a normalized search view behind the scenes. It might derive another clearly named public display value for presentation while preserving the source. What the user sees should be deliberate, and a search key should not silently become the displayed name. A helpful search that finds both spellings does not make it necessary to rewrite the way either entry was recorded. This is especially important in a collection where the original representation is itself historical evidence.
Toy distinct text keys under transforms
Illustrative only. Invented values, not taken from a source dataset or an official target. The unit is keys. This example holds one fictional roster of twelve rows constant and counts the number of distinct strings under each comparison convention. It does not count distinct persons, nor does it remove records.
| Text key convention | Distinct keys |
|---|---|
| Original code points | 12 |
| Canonical normalization | 10 |
| Broad compatibility fold | 8 |
For the first bar, imagine twelve source cell strings with distinct original code-point sequences. In the second, applying NFC yields ten distinct derived strings, with some original distinctions converging under canonical equivalence. In the third, for the sake of this example, use a compatibility-folded comparison key that applies NFKC as its broader transformation. The invented result has eight distinct keys. This is intentionally unsafe as a surrogate for personal identity and is not being recommended as a destructive edit. The bar labels describe increasingly permissive text comparison conventions, not a historical discovery of fewer people.
The arithmetic tells you there are two fewer distinct values after canonical normalization than under the original sequences, and two fewer again under the broad compatibility comparison. It doesn't tell you which key groups changed, how large they were, or what the original values were. Even within a fixed roster a reduction by two could represent two pairs converging or three values converging into one group. The same headline change can arise from a different collision ledger. Preserve the groups behind the counts if anyone may later need to understand what was combined and why.
The twelve source rows still exist after all three calculations. A search result can retrieve several rows per key, and that may be desirable. Eight keys is not a lawful or logical instruction to keep only eight rows. Nor does the original count of twelve prove twelve different people; two distinct strings might describe the same person, or two exactly identical strings might describe entirely different people. A count of representations, a count of normalized values, and a count of independently established people keep their own denominators. Their numerical relationships should not be guessed from the shape of this chart.
Make the invented counts reproducible without using personal data
A small fixture can demonstrate the chart's logic. Start with two independent canonical pairs. The first pair uses the composed and decomposed versions of the invented Amélie token. The second uses an invented token ending in the letter ñ, represented once by U+00F1 and once by U+006E followed by U+0303. Each pair contains two distinct code-point strings and one resulting NFC key. Give the fixture eight additional strings which remain separate from these two pairs under both forms. Among those eight, reserve two pairs to demonstrate compatibility distinctions, while the final four remain independent in each comparison.
The first compatibility pair can be imagined as the tokens “Shelf 1” and “Shelf ①”. The second can use a plain capital letter A and its fullwidth form in otherwise identical invented strings that do not occur elsewhere in the exhibit. These are indexing tokens for the exercise, not proposed alternate personal names. NFC retains each of those compatibility distinctions. NFKC maps the circled digit and the fullwidth letter to their compatibility equivalents in these examples. If the remaining four fixture strings and the two accented groups do not interact with these pairs, the totals are twelve distinct sequences, ten NFC keys and eight NFKC keys.
This construction is useful because each expected grouping has a reason that can be inspected. If a reader gets nine NFC keys, the first question is not how to tune the illustration. It is whether an unexpected transform, mixed source representation, or parser error changed another entry. If twelve become eight without a named policy, it is impossible to know from the counts whether the intended four pairs converged or a different set did. Validation should compare actual expected memberships rather than accepting that the total happened to match. The fixture is fictional and safe to discuss without publishing any real archive records.
The first pair is particularly easy to miswrite in a document editor. Two pasted variants can be rendered identically and a tool may pre-normalize text before saving it. The visible sample would still look correct even if there were only one distinct sequence in the stored values. Explicit code-point names clarify the example, and a check of actual stored sequences verifies what entered the pipeline. That verification concerns representation, not identity. An editor can reproduce it with invented values and learn how the system treats real data without revealing the real strings.
Why compatibility changes the story
Unicode's compatibility relation is deliberately broader than its canonical relation. Some characters have compatibility equivalents that preserve a useful base character while changing a form or distinction that matters in particular contexts. A circled digit and its plain counterpart may be treated as the same discovery token in one archive and as different catalog notations in another. That is an application decision, not a universal claim that the original two were the same code point or that their appearance never carried meaning. Preserving originals allows a broader search policy without taking the choice away from future readers.
NFKC performs compatibility decomposition and canonical composition under the standard. It does not by itself mean case folding, transliteration, removal of all punctuation, or a policy to substitute arbitrary lookalike letters. Those would be additional operations if deliberately chosen. A broad system may combine several of them in some contexts, but then its documentation should name the combined policy rather than attribute everything to NFKC. When a key collision surprises someone, that precision tells them which operation could have produced it. In the toy chart the broader comparison uses NFKC alone, so there is no hidden case or accent stripping in the counts.
The word unsafe also has a scope. It is not a claim that compatibility normalization is inherently wrong or that it cannot be used for a clearly labeled discovery key. It is unsafe here to treat the fold as proof of identity or destructively overwrite the source with it. Compatibility-folded keys can intentionally increase recall by returning a broader group of candidates. They also make some distinctions disappear from that key. The same feature is a benefit for search and a risk for a uniqueness constraint. A good system can use a permissive key without letting it authorize a merge.
Parse the row before interpreting the key
A normalization comparison needs to begin with actual cell strings. A table parser determines where the rows and columns are and how the source represents them. A quoted field can contain a separator without ending the cell. A heading might be read as a data row if the file's structure was misidentified. An empty field can be distinct from a missing row even if both look blank after export. If those distinctions are lost, the resulting strings may not describe the intended archive at all. Unicode normalization cannot restore a field that was split incorrectly before the key was calculated.
The W3C Model for Tabular Data and Metadata on the Web distinguishes the string value of a cell from a semantic value interpreted using column annotations, and describes associated row and column information. That distinction supplies a helpful design analogy for the archive. Preserve the source cell representation and document derived values separately. Retaining a parsed source string is not a claim that it captures every byte-level feature of the original file. If original file provenance matters, store the source or an appropriate trace as well. The W3C model does not require personal identities to be assigned from normalized names.
A parser test can start with harmless invented rows. Include a name cell containing a comma within legitimate table quoting, an empty optional field, and an identifier with leading zeroes that is supposed to remain text. If the comma creates a phantom column, if empty gets converted into an unrelated key, or if the identifier loses its specified representation, fix the row model before investigating normalizer output. These examples test reading and representation rather than the lives of the named people. They also help explain why counting text keys is not an adequate verification that the correct values were imported. The order of operations matters. First determine that the file was decoded as intended. Then read rows and cells under the documented table rules. Then derive the comparison key from the intended parsed cell. If a broad compatibility transformation is performed on a raw table string before parsing, it could change some characters that look like separators into ordinary delimiter characters. That is not a legitimate transformation of a name key because the program has changed what the parser sees. Keeping the structural interpretation and the comparison transformation separate avoids a class of avoidable errors. The report should never imply that normalizing the entire file is interchangeable with normalizing one field after parsing.
Another important check is source encoding rather than Unicode normalization. A stream of bytes needs an appropriate decoding into text. If the decoding was wrong, pasting the result into a normalization routine does not recover the intended name. A replacement character may indicate the original bytes were not interpreted as intended, but noticing one is not enough to reconstruct the correct value. Preserve the source material and mark the affected field for review. Canonical equivalence concerns well-defined representations of text, not repair of arbitrary damage. Someone auditing key collisions should know that decode uncertainty and a legitimate canonical match are different categories.
Match several rows without making one person
Suppose the two fictitious Amélie records receive the same NFC key. A search for the key could return both and display each original string. One entry might come from a catalog card and the other from a later list. They might indeed describe one person, or two people whose names happen to match. A useful system allows both possibilities by retaining row identifiers and provenance. If a separate authority record or link supports an identity assertion, record that assertion with its own basis. The name key can help retrieve evidence. It cannot be the whole account of why the identity was assigned.
There are also valid reasons for the same person to appear in more than one record even after their identity is established. Two entries can be distinct archival events, observations, or editions, and preserve different historical facts. Linking their person association does not necessarily merge the source entries. A curator can declare that the records refer to one person while keeping both objects intact. Thus even proof of a shared person is not by itself a universal reason to collapse rows. The action must fit the archive's data model, not just the comparison result.
An overly strict uniqueness rule can make the problem invisible by rejecting valid rows before anyone sees the conflict. If a storage system insists that the normalized name key be unique, an incoming legitimate namesake might be treated as an error. The missing entry may never appear in the search result that would have revealed the ambiguity. A better design for this purpose uses an identifier whose uniqueness is meaningful and lets the name index contain more than one row under a key. If the software needs a unique record key, use the archive's record identifier or another justified key, not a text comparison shortcut.
Consider the opposite failure mode. An archive refuses canonical matching because it is afraid of collapsing identities, and a search finds only one of the two encoded accent variants. That avoids one dangerous action but also misses useful records unnecessarily. The two objectives can coexist. Use a canonical comparison to retrieve text equivalents and present all matching records without resolving identity automatically. The point is not to make search lead the curator toward one person or another. It is to make the set of retrievable evidence better while keeping the evidence of personhood separate and reviewable.
Inspect collision groups, not just totals
The word collision sounds as though something has broken. Here it means two or more source strings or record entries produce the same derived key. Some collisions are exactly what an index was intended to do. An accent represented in two canonically equivalent ways is a helpful example. Others could be broader than intended under the declared discovery rule. The review question is whether the collision is expected at the representation and key level, not whether it somehow certifies identity. Breaking apart those judgments helps an audit remain useful instead of classifying every duplicate-looking key as a bad record.
An audit of the toy ledger can compare each transition. First list which distinct original sequences share an NFC result. Then inspect which already normalized groups or separate values new compatibility handling combines. Preserve the original strings and record identifiers at each stage. This tells the reviewer whether the final eight keys came from the expected two canonical and two compatibility pairs. Using real values in public reports may be inappropriate, so the public example can use invented fixtures or aggregate counts while the review preserves the detail under applicable safeguards. The architecture of the proof is the same in either setting.
There is a subtle case where the key totals look right but the mapping is wrong. A parser might collapse two separate cells as though they were one string, while a different expected canonical pair fails to normalize because one field contains a stray character. The loss and gain in distinct groups could offset. A report would still declare ten keys and miss both errors. Comparing known examples at the level of memberships can find what total reconciliation alone cannot. The chart is meant to invite that more detailed review, not act as proof that every group was produced in the intended way.
Tracking collisions also helps when changes are made deliberately. A new discovery version might broaden candidate retrieval while preserving the primary index unchanged. Before adoption, compare the affected groups and document which changes were approved for that search purpose. It can be helpful to retain the old and new search versions so the archive can reproduce earlier exports and understand why results differ. A current key count alone cannot tell whether a published change came from newly imported records, a different parser, or a more permissive transform. All three can change a chart without changing the histories of the people described.
Keep original, displayed, and typed values from taking each other's place
A presentation layer can decide to show an attributed transcription rather than the exact evidence from a source cell. That can be legitimate if the archive labels the transcription and preserves its relationship to the original. A search layer can add a canonical key and perhaps a broader candidate key. A metadata layer can interpret another cell as a date or count. None of those choices requires overwriting the source name field. Their purposes are different enough to deserve named fields. A reviewer should be able to identify whether a string was received, transcribed, formatted, or generated for a comparison.
A numerical identifier offers a useful parallel. Two text identifiers that differ by a leading zero may refer to different items under a catalog rule, or they may be alternate representations under a defined schema. A program that converts both to a number before the policy is known has made a consequential decision silently. The W3C distinction between string representation and semantic value helps keep such decisions visible. The Unicode discussion covers a different mechanism for names, but both teach that a value's typed representation and its role in a record need an explicit definition. Neither source entitles the application to treat the derived representation as the original.
It can be useful to test the display independently from the comparison. If two original strings render indistinguishably, a results page may need another legitimate disambiguator such as a record date, source label, or record identifier. This should be chosen according to the archive's access model, not by leaking private data to differentiate namesakes. Conversely, if an original string looks different but a compatibility lookup retrieved it, the interface can explain that the results include broader matches without claiming they are canonically identical. Presentation can make the distinctions accessible while still respecting what may be shared.
Migration is a comparison of versions, not a rewrite of history
Suppose an existing catalog stored one derived key per entry under an older matching rule and now wants to introduce NFC for a separate lookup. A non-destructive migration can compare the two indexes against the same roster before anything is replaced. The question is straightforward: which queries get new candidate records, and which definitions explain the change? The original text fields remain the evidence. A count of candidate groups before and after is useful, but the audit still needs to show how the individual memberships changed. Otherwise a match that helps a patron and a match that obscures a real distinction look the same in the summary.
Consider what must happen when the indexing decision is reversed. If the archive retains source values and stable row identities, a derived field can be recomputed under a different declared policy. If the normalized field was copied over the source and the original material cannot be recovered, the same operation is not reversible. A few values may look easy to reconstruct by intuition, but exact original representation is not generally inferable from its common normalized result. A review can record the transform without pretending it stores an inverse. The best protection is retaining the original, not counting on the transform to reveal what it removed.
The same issue appears in a published correction. Suppose an old report showed ten NFC keys, then a new edition shows eleven. A source row may have been repaired, a new row may have been added, or the old comparand may not actually have been NFC. Those are different revisions. A report can preserve separate information about roster membership, decoding and parsing, and the applied transformation. When each part has a version or documented definition, the author can explain the reason for a changed total instead of using the general word cleanup. That is useful historical information about the analysis, not about the identities of the people in it.
An unrelated migration can also affect the comparison rule without changing the derived strings. For example, a storage or search layer might use its own equivalence when checking duplicates. If the archive's audit says distinct means exact equality of the NFC strings, verify that the counting tool is actually using that definition. An index that ignores case or accents may report fewer categories even when every NFC output is correct. This kind of mismatch is detectable with deliberately contrasting fixture strings. The important lesson is not that any one database rule is preferable. It is that equality belongs to a specific layer, and the report must say which layer counted it.
Keep candidate retrieval separate from assertions about identity
An archive can express different degrees of evidence as relations rather than as one merged name. “These rows are returned by the same query” is a relationship between a key and records. “These values are canonically equivalent” is a relationship between strings. “These documents refer to the same individual” is a content claim requiring support from appropriate records. That last claim may remain disputed even when the strings are exactly identical. Using a common label for all three relations invites software and readers to act as though each has the same status. Better labels make it possible to improve retrieval without making unreviewed historical assertions.
A useful illustration involves people with the same spelling and people whose names are recorded differently. Imagine four fictional rows, two with identical spellings but different independently established identities, and two with different spellings that reliable supporting material attributes to the same person. An exact match of names succeeds as a test of text for the first pair but fails as a test of shared identity. A difference in names succeeds as a representation comparison for the second pair but fails as proof of two people. Neither problem is a flaw in Unicode. They are failures to assign a valid text comparison the right role.
Candidate systems sometimes prefer a broad comparison at the first stage because a researcher benefits from seeing possible matches together. That choice can be appropriate when results are clearly labeled and no identity change follows automatically. A broad tool should be evaluated both for useful retrieval and for newly combined groups that are not appropriate for its intended context. The review can use invented fixture data and aggregated examples, limiting unnecessary exposure of sensitive source values. It does not have to teach anyone to exploit confusing strings. Its purpose is to make ordinary archive searches more reliable while keeping the more consequential decision separate.
The way records are presented can either reinforce or undermine that separation. A results page that shows the original name and a short provenance label next to each matching record gives the reader a way to understand why multiple items appeared. If it displays one canonical key as a big heading and hides all the source spellings, it may create the impression of one established biography. Even if the underlying database kept every row, the interface can mislead. A short note that the grouping is a search result, not an identity determination, makes the intended distinction visible without requiring readers to know how the key was constructed.
Test difficult rows for their own reasons
An accent fixture diagnoses one type of issue. A clearly distinct accented and unaccented pair checks that an NFC-only index does not silently remove an accent. An unrelated pair that differs solely by an explicit formatting feature can check the broader compatibility branch. A quoted name field with embedded punctuation tests the parser rather than the normalizer. The point of giving these examples separate assertions is to know which layer failed when the result is wrong. One impressive test file that produces eight final groups isn't necessarily better than several small tests whose required relationships can be inspected. Breadth helps only when the test remains interpretable.
It is also useful to include a row with no eligible source name. That row might be a valid record whose name field is unavailable. A report about distinct nonempty text keys could exclude it from key counting while retaining it in the record roster and disclosing the eligibility condition. A missing field should not automatically become a legitimate empty-string identity shared by every other missing name. Nor should every empty field become an error if the project's schema allows it. This illustrates a separate choice about applicability. The toy's twelve rows all have valid names or invented tokens solely to keep that issue out of the arithmetic.
Repeated application gives another check on a defined normalization form. Applying NFC again to the already normalized result should not create another changed string. That property can be checked in a small fixture independently of identity decisions. It does not mean a whole pipeline containing other transforms or repeated parsing is harmless when run twice. A transformation might be stable on its own while a second step edits something unexpected. A review should distinguish the invariant promised by the normalization form from whatever assumptions govern the wider import. That makes it easier to choose meaningful tests instead of labeling the whole process safe because one component behaves as expected.
Finally, note how a sample was selected for QA. A catalog that mostly uses one script can still contain names or tokens whose distinctions are missed by a simplistic test set. A well-formed review chooses examples relevant to the data and to the intended search objective without declaring a handful of fixtures proof of complete linguistic coverage. A fixture is a demonstration of a particular behavior. It is not a standard for writing people's names. The use of alternate encodings or wider character forms in the toy tests makes a specific mathematical point, and the examples should not be promoted to general advice about acceptable forms of any name.
Make a short record of the policy
A useful policy statement can fit in a few sentences. The archive retains original source cell strings and stable row identifiers. It derives an NFC key for canonical comparison and can derive a separately named broader key where the search objective calls for one. Equality at either key level returns candidates, not permission to merge. Parsing rules, field eligibility, and the counted equality convention are documented. A reviewer inspects changed collision groups before treating a transform update as ready. The specific field names can differ. What matters is that the policy lets someone reconstruct which statement a reported key count actually represents.
A corresponding caption avoids overstating either harm or precision. It can say that the broader transform produced fewer distinct searchable strings in a fixed fictional roster while retaining the items. It need not say that compatibility normalization “corrupted” records, because no source values were rewritten in this example. Nor need it suggest that the broad key is as exact as the canonical key. Readers can understand its intended wider reach if the source conventions remain visible. The goal is to make one design decision intelligible: retain representation where it matters and use an explicit derived comparison to serve a known purpose.
In a review meeting the most valuable question might be “Which original entries became adjacent because of this key?” That is easier to answer than an ungrounded question about whether “duplicate people” were removed. If the answer is a pair of equivalent accent encodings, the change may be precisely what the index intended. If the answer is a broader compatibility match that hides meaningful notation, the team can adjust retrieval presentation or decline the wider policy for this context. Because the source values were retained, neither decision requires inventing the past. A useful archive preserves the option to interpret its own records again.
Rewrite the conclusion as a statement about evidence
An imprudent report says, “Normalization removed four duplicates.” The toy counts do not support that sentence. A better report says, “Twelve distinct original strings produced ten NFC keys and eight NFKC keys; the twelve rows were retained.” That statement supplies the measures, the methods, and the disposition of the records. If actual duplicate records were identified under an independent review, describe the evidence for that separate decision. It may include information that the toy chart intentionally lacks. Do not slide from one conclusion to the other by choosing a verb that sounds efficient.
Returning to the archival cards, the accent did not need to be erased for users to find both representations. NFC can align the two canonical sequences in the comparison engine. Broader compatibility handling can reduce distinct keys further for a specified search purpose. Neither determines which people the cards describe or how many archival events the rows represent. Keep the strings, make the key reproducible, and let the separate identity evidence do its own work. A useful comparison key points toward the archive instead of pretending it is the whole archive.
Sources
- Unicode Consortium, Unicode Standard Annex #15: Unicode Normalization Forms. Primary specification of canonical and compatibility equivalence and normalization forms. It does not supply the toy counts.
- W3C, Model for Tabular Data and Metadata on the Web. Primary specification for rows, columns and cells, including the string value and interpreted semantic value. Cited for model distinctions, not identity policy.