2 ms·
Not an edge case at all; to add another source of such file names, academics often copy-paste or manually type pdf titles into file names resulting in files wit
by ykonstant 2y ago
Not an edge case at all; to add another source of such file names, academics often copy-paste or manually type pdf titles into file names resulting in files with newlines. Sometimes their machines use ancient encodings which, together with non-ASCII author names and "helpful" encoding converters result in garbage file names.
I've mentioned these situations before in this forum; the last time I did, I got the absurd reply "I don't care what your academic colleagues do" from someone who supposedly had sysadmin experience. So yeah, all you can do is write correct code and accept the fact that many others will refuse to.