News for hackers. Stuff that matters.
Re:Things you wish you didn't need to know about S3 by self_awareness on Friday May 31, 2024 @01:51AM (#40531911)
Maybe macOS is case-preserving, but it's not encoding-preserving. If you create a file using a composed UTF-8 "A", the filesystem layer will decompose the string to another form, and create the filename using that decomposed form "B". Of course, "A" and "B" when compared can be completely different (even when compared using case insensitivity enabled), yet will point to the same file.

More info here: https://eclecticlight.co/2021/05/08/explainer-unicode-normal...

Re:Things you wish you didn't need to know about S3 by halostatue on Friday May 31, 2024 @12:38PM (#40537235)
macOS (Darwin) has always written filenames as NFD via the macOS APIs. The underlying POSIX-ish APIs may not do NFD, but Finder and every native macOS GUI program gets files in NFD format.
Re:Things you wish you didn't need to know about S3 by self_awareness on Friday May 31, 2024 @04:55PM (#40540133)
And this is different from what I wrote how exactly?

Btw, this has nothing to do with POSIX vs Finder, it's a filesystem driver trait, at least for HFS+, but probably for APFS as well.