3 ms·
Yes, I would quite like to see Linux filesystems require that file names be in valid UTF-8, with no new lines, at the very least. Normalisation would be a bonus
by Flimm 6y ago
Yes, I would quite like to see Linux filesystems require that file names be in valid UTF-8, with no new lines, at the very least. Normalisation would be a bonus but I'd want to do it a way that is helpful for compatibility with macOS and Windows.
- IshKebab 6y agoThat would definitely be a breaking change. I had some Python code that broke when running over the Boost source code because they include a test file in there that isn't valid UTF-8, so the files definitely exist. Admittedly that's a fairly contrived example (i.e. the deliberately didn't use UTF-8). Maybe it wouldn't be so bad in practice.
- trasz 6y agoThere are two ZFS options, “normalization” and “utf8only”, which are documented to do precisely this (https://www.freebsd.org/cgi/man.cgi?zfs https://www.freebsd.org/cgi/man.cgi?zfs). Never used it myself, though.