By Relwick · Published
A file list seems to contain the same accented filename twice, or an exact-name search fails to match a name you can plainly see. Visual appearance alone may not reveal the underlying difference.
Investigate the name and the document separately so that a naming problem does not lead to losing the correct file.
Quick answer & key takeaways
Some characters have more than one Unicode representation, so two filenames can look the same while containing different character sequences. Other mismatches can involve spaces, case, or genuinely different look-alike characters. Compare the complete names, locations, and file contents before deleting anything. If a workflow needs a simpler name, rename a reviewed copy while preserving the extension and the original.
- Identical appearance does not always mean identical character sequences.
- A filename comparison does not establish matching file contents.
- Use a reviewed copy for any compatibility rename.
Separate name, content, and location
Open the containing folder and reveal the full filename, including its extension. Check whether the apparent duplicates are in different locations or are simply two views of the same item. Review file contents before treating either copy as redundant.
A document can share a name with a different revision, and identical bytes can exist under different names. If exact byte equality matters, use a suitable checksum comparison separately. The spelling of the name cannot answer that question.
Understand equivalent character representations
Unicode documents that some text can be represented using either a precomposed character or a base character followed by a combining mark. Normalisation provides consistent representations for such equivalent sequences. This explains one kind of comparison mismatch without implying that every filesystem handles names identically.
| Possible difference | What to establish |
|---|---|
| Precomposed é versus e plus combining acute accent | Equivalent spelling with different character sequences. |
| A leading or trailing space | An additional character, not merely a visual style. |
| Similar-looking letters from different scripts | Potentially different characters, not necessarily normalisation equivalents. |
| Different folder locations | Separate file identities even when names match. |
In a checked string example, café.pdf and the equivalent decomposed spelling were unequal before NFC normalisation and equal afterwards. This is a character comparison demonstration, not a claim about duplicate-file behaviour on every operating system.
Choose a reversible naming fix
If the receiving workflow documents a naming restriction, make a copy with a concise permitted name and preserve the actual extension. Keep enough context to recognise the document without including unnecessary personal identifiers.
Do not batch-normalise or overwrite a folder of files without checking for collisions. Different existing names may become the same after a transformation. A careful single-file copy and verification is more appropriate for an isolated application document.
Avoid assuming that accents are inherently invalid or that an ASCII name guarantees acceptance. Follow the actual destination’s instructions; a naming change cannot correct an unsupported file format or incorrect document content.
Check the renamed copy
Open the renamed copy from its actual folder and compare its contents with the intended original. Select that exact copy when uploading, and inspect the receiving interface’s filename or preview when available.
Application file checker checks supported file properties against configured limits. It is not a Unicode filename analyser or a duplicate-content detector. Use its results for their stated purpose after resolving the naming issue.
Frequently asked questions
Do visually identical names prove identical documents?
No. Compare the actual contents or bytes when that distinction matters.
Does normalisation make every look-alike character the same?
No. Canonical equivalence is more specific than visual resemblance.
Should I delete one apparent duplicate immediately?
No. Identify both locations and verify the contents before deciding whether either copy is unnecessary.
Sources and further reading
- Unicode: normalization FAQ — Explains precomposed and combining-character representations and the purpose of Unicode normalisation.
Summary
Diagnose the character sequence without losing sight of the file itself. Make naming changes reversible and verify the selected copy afterwards.