2 ms·
"UNIX filenames are semi-arbitrary bags of bytes" That's what I'm thinking (most experience is with Linux). So it isn't as if π is represented internally as 'π
by benj111 7y ago
"UNIX filenames are semi-arbitrary bags of bytes"
That's what I'm thinking (most experience is with Linux). So it isn't as if π is represented internally as 'π', it is just a bag of bytes, so trying to make more sense of it than that, is in a sense wrong.
Edit: I guess I'm assuming the seemingly obvious step of checking for valid input? I mean if you get a bag of bytes and start trying to do utf-8 things on it, without checking for errors.... Is that what were talking about here?