3 ms·
> Unix paths are nul-byte-terminated That's the point. The separator is not "/", because "/" would be a character to encode. The separator is a specific byte,
by masklinn 8y ago
> Unix paths are nul-byte-terminated
That's the point. The separator is not "/", because "/" would be a character to encode. The separator is a specific byte, and so is the terminator.
> Valid Unicode paths are encoded as UTF-8 on unix systems.
There is no such thing as "unicode paths" on UNIX systems, valid or invalid.