Powered by OPF
OPF Q&A Static Archive
133 questions · 234 answers · 193 comments · 172 tags · 118 contributors · archived August 2026
Archived copy. This is a static snapshot of the OPF community Q&A (qanda.digipres.org), preserved from its Question2Answer database. It is read-only and nothing here has been edited since capture in August 2026. To ask new questions, use the OPF community on GitHub.

Should data repositories remove illegal characters from filenames?

1
votes
Should normalizing filenames be a standard curation practice in data repositories? There is consensus that file names without illegal characters are better for interoperability and long-term preservation, but changing a filename could immediately break a program that relied on a certain name to operate

In my mind, filename normalization falls in the same realm as format normalization - we normalize/migrate formats for more sustainable long term preservation/access. Many preservation polices address this with data producers at the time of deposit.

If filename normalization occurs, what sorts of standards are available to address this? Simply inserting a (-) in place of a whitespace seems unsustainable and potentially problematic. ISO 9660? Are there any repositories out there activly addressing this issue?

1 answer

2
votes

Short answer:

Ideally no

 

Long answer: 

If something in your processing system requires you to be changing the files that you are taking in, in order to "preserve" them. Then you might want to ask whether you are using the right system or process. 

It might often be advantageous to create a derivative of an original with a different file name, but that should probably be considered a derrivative rather than an original (it might be considered a new preservation master though). 

On the other hand, if you document the renaming process and it is easily reversible then it might be worthwhile. Especially if it enables you to take other actions to preserve the content that you might not otherwise be able to take without having renamed the files (e.g. ingest them into a problematic but ultimately more effective preservation system).