News for hackers. Stuff that matters.
Re:A brief history of APFS (Apple File System) in honour of ... by HPsquared on Tuesday March 28, 2023 @03:49AM (#35337213)
Is this a bit like how Windows preserves capitalization but doesn't otherwise care about it? (except in WSL of course) - or is it something more complex
Re:A brief history of APFS (Apple File System) in honour of ... by IshKebab on Tuesday March 28, 2023 @05:15AM (#35337811)
Similar except that you can see the difference between lowercase and uppercase.
Re:A brief history of APFS (Apple File System) in honour of ... by messe on Tuesday March 28, 2023 @05:16AM (#35337825)
Kind of. Imagine if capital letters looked identical to regular letters just with a different byte representation, but Windows preserved them regardless.

Well, it turns out that Unicode can represent a lot of characters by way of different possible encodings (for example é could be a single codepoint, or the codepoint of e followed by the codepoint of an acutely accent).

Re:A brief history of APFS (Apple File System) in honour of ... by SOLAR_FIELDS on Tuesday March 28, 2023 @07:26AM (#35338933)
Notes does something like this for some reason. The quotes that are used in the Notes app that are then copy pasted into other apps like Terminal or a code editor are not the same as the quotes we use every day. I think some apps are smart enough to fix this by default (perhaps IntelliJ?) but otherwise it’s the source of a non-negligible amount of annoyance if you like to use Notes for whatever reason
Re:A brief history of APFS (Apple File System) in honour of ... by Tagbert on Tuesday March 28, 2023 @12:09PM (#35343329)
that’s because curly quotes are different characters from the straight quote characters that you can see on your keyboard. Some apps will convert straight quotes to curly quotes to “help” you.

https://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html

Re:A brief history of APFS (Apple File System) in honour of ... by sprayk on Tuesday March 28, 2023 @12:23PM (#35343564)
in system settings somewhere you should be able to disable smart quotes (or something like that).
Re:A brief history of APFS (Apple File System) in honour of ... by Aaron2222 on Tuesday March 28, 2023 @06:54AM (#35338671)
APFS does the exact same thing with capitalisation as well (presuming you're using case-insensitive APFS, which is the default).
Re:A brief history of APFS (Apple File System) in honour of ... by cynix on Tuesday March 28, 2023 @07:05AM (#35338763)
I thought the default has been case-sensitive for a while.
Re:A brief history of APFS (Apple File System) in honour of ... by riceart on Tuesday March 28, 2023 @10:11AM (#35341398)
You thought wrong.
Re:A brief history of APFS (Apple File System) in honour of ... by sumtechguy on Tuesday March 28, 2023 @08:21AM (#35339645)
Windows has a flag for that for it to respect case. But it would probably bug out a bunch of programs. I usually see it with samba shares. But you can get it to do it on the local filesystem too if you try hard enough. Also it is a bit of a pain when it does happen if you get two files with the 'same name'. One file will be basically invisible to most of the normal windows tools.