Post #946997
2026-02-08 21:38 UTC
Replies (4)
-
@janneke@todon.nl 2026-04-05 15:32
@kbruen @jak2k Of course. And of course no one in their right mind ever uses other than non-whitespace ASCII for file names.
-
@clew@ecoevo.social 2026-04-05 15:26
try the bell character ? @jak2k
-
@stylus@social.afront.org 2026-04-05 15:37
@jak2k traditionally, any byte besides '\0' and '/'. This has widely been regarded as a bad idea, but here we are.
-
@riley@toot.cat 2026-04-27 09:50
@jak2k They can include everything except slashes. Some filesystems offer further restrictions, though, and macOS requires a filename to be a valid UTF-8 stream (which it then normalises to NFD, so what you get back from directory listing might not be bytewise equivalent with the name of the file you created, as is the case in other Unixen). macOS also does case insensitivity, unlike most Unixen, although it has been optional for a long while now.