4 ms·
Aside of caseness there is another a bit similar problem. Unicode allows different forms that lead to the same representation for the user. Gödel.txt may be w
by emergie 7y ago
Aside of caseness there is another a bit similar problem.
Unicode allows different forms that lead to the same representation for the user.
Gödel.txt may be written as
- G-\u00F6-del.txt where \u00F6 is "Latin Small Letter O with Diaeresis"
or
- G-o\0308-del.txt where \u0308 is "Combining Diaeresis"
From user perspective they are indistinguishable.
Traditional Linux filesystems do not normalize this in any way.
MacOS filesystems normalize it to decomposed form with "Combining Diaeresis" (which is mad).
NTFS does not normalize, but windows apis behave differently - if you create NFC+NFD Gödel.txts under same directory then you will either see both, see one, or even see both, but be able to select only first from system "open file" selector.
- darkpuma 7y agoUnicode filenames becomes a true bundle of joy when you're dealing with ideologically mixed systems like a unix client and unix server, but with samba in the middle. Boy oh boy do I love that.