4 ms·
HFS+'s use of NFD made even more insane by the fact that OS X's input modes prefer to produce NFC anyways. And besides, so do other OSes' input modes, so in an
by cryptonector 9y ago
HFS+'s use of NFD made even more insane by the fact that OS X's input modes prefer to produce NFC anyways. And besides, so do other OSes' input modes, so in any heterogeneous system this is a nightmare.
This is why ZFS does form-insensitive directory lookups (and hashing)[0] rather than normalize-on-CREATE! I'm so glad ZFS got it right, and can stand as a model for all. (I implemented none of that functionality, though I code-reviewed some of it, specifically the u8_* functions in Solaris/Illumos, but I remember it took some doing to convince others that this was the correct approach.)
[0] https://cryptonector.com/2006/12/filesystem-i18n/ https://cryptonector.com/2006/12/filesystem-i18n/
[1] https://cryptonector.com/2010/04/on-unicode-normalization-or-why-normalization-insensitivity-should-be-rule/ https://cryptonector.com/2010/04/on-unicode-normalization-or...
- gpvos 9y agoMany people rail against case-insensitive lookups like on Windows. How is this different?
- lmm 9y agoIt isn't. Case-insensitive lookups are the right thing; unix people oppose them out of tribalism rather than anything else.
- cryptonector 9y agoPeople can see case. They cannot see form.