I can see it in finder, but I'm in one of the parent directories (using the tree view)
bitmap
yeah
if I use the tree view like that, it doesn't count as open
only when it's the directory in the window title, I guess
Leftmost
Wow. That sounds like some FS breakage. :P
kepstin likes how linux filesystems handle it very simply - you can put any character except '/' or NULL in a filename, and no parsing is done on it whatsoever :/
bitmap
oh, it's not that I have the window open. It's whether I drag the file into Picard specifically, or just the folder that contains it
as long as I don't actually select the file, it triggers the bug
Mineo
it gets weirder every minute ;p
Leftmost
Hmm. I thought Linux filesystems used NFC to store filenames.
kepstin
most linux software uses UTF-8 with NFC, but there's no requirement for that.
Leftmost
Well, tend to use.
kepstin
the same text encoded with NFC and NFD on linux could create two completely separate files on the FS :)
Other people saying it would break 40+ years of Unix programs running on Linux. (If they're treating filenames a bytestream, how will normalizing filenames break them?)
*as a
kepstin
hmm. that doesn't actually say any differences.
nikki
I remember testing nfc/nfd on fat32 in osx
but I don't remember what happened :/
bitmap doesn't have a fat32 drive to test with
no usb sticks?
kepstin
most modern Linux applications use UTF-8 encoded NFD, but make no particular requirements for normalization when reading files, and can even read files using other character sets (it'll print junk characters and a note saying that the filename wasn't properly encoded)
nikki looks for hers
bitmap
I have three or four USB sticks but they always dissapear when I need them
nikki
kepstin: nfd? it's always been nfc for me
aha, found it
kepstin
er, NFC. yes. the names are too confusing :)
bitmap
s/dissapear/disappear
nikki
I might even still have my test files on there
hehe
I do :D
Leftmost
I don't know why, but for some reason I prefer NFC for filename storage. One of those totally insane preferences.
kepstin
NFC uses fewer bytes :) save a couple bytes per filename.
Leftmost
Heh, another article says that all four normalization forms should be tried when opening a file on Linux.
a) That won't work. Who says it's normalized?
b) NFKC/NFKD? Really? No.
kepstin
it doesn't matter what normalization form something's in when you're just /reading/ it...
as long as the encoding's correct, just read it and re-normalize it to what you want to use internally.
Leftmost
kepstin, the guy clearly doesn't really understand the issue. :P
Especially if he's assuming something would be stored in NFKC/NFKD.
Leftmost immediately writes a letter to the kernel list insisting that all filenames should be stored as NFKD.
To hell with equivalence!
nikki
on fat32, osx reads nfc filenames, but displays them as nfd. nfd filenames appear if there's no nfc version, but vanish when you try and select them
so you can only use nfd with hfs+ and nfc with fat32
Leftmost wonders why they decided to use NFD with HFS+...
to be awkward
Leftmost
Clearly.
Now, someone find me a nice Android notetaking app with both keyboard input and a draw function. :P
bitmap
nikki: so OSX lets you write NFD filenames to fat32 but they don't work?
nikki
I suspect it automatically converts them to nfc
I only tested creating the files in linux and looking at them in osx
kepstin
well, when storing filenames on fat32, it has to reencode them to legacy windows 'codepage' character sets, iirc...
bitmap
ah
kepstin
so weirdness may result :/
Leftmost
I believe that there's a codepage for UTF-8, though.
nikki
I mean... I originally used a fat32 external drive with osx and never had any problems with picard
then I used an ext3 formatted drive mounted via a vm and didn't have any problems either (it seemed to automatically convert to nfc there too)
bitmap
nikki: if I made an app bundle with that patch applied, would you be able to test saving to the fat32 drive? :)
nikki
sure :)
kepstin
hmm. so there is, codepage 65001 is UTF-8.
bitmap
luks: so do you think that patch is okay to commit?