Case-insensitive filesystem lookups
Case-insensitive filesystem lookups
Posted May 25, 2018 18:58 UTC (Fri) by wahern (subscriber, #37304)In reply to: Case-insensitive filesystem lookups by saffroy
Parent article: Case-insensitive filesystem lookups
There's really only a single choice for doing case-insensitive names: rely on Unicode case-folding rules. It's the only choice because it's the only one, AFAIK, with an explicit guarantee regarding forward stability:
For each string S containing characters only from a given Unicode version, toCasefold(toNFKC(S)) under that version is identical to toCasefold(toNFKC(S)) under any later version of Unicode.
Backward compatibility--mounting a volume created on a system supporting Unicode X-1 that was created on a system supporting Unicode X-- is problematic but I don't think that's entirely avoidable.
