> What is the encoding of zero and possibly slash delimited blobs of bytes (filenames, argv, envp…) that you get from and pass to the kernel?
Bytes. Every number other than 0 and 47 is allowed. They should probably be treated as opaque blobs of binary data.