From: Matt T. <mat...@gm...> - 2009-12-10 00:03:45
|
Ok thanks guys, this last round has cleared things up I think. I guess the requirement about no '\0's just limits the encodings you can use to 8-bit safe ones. I have to say I've never seen a system in a UTF-16 locale. My filesystem doesn't care what the byte sequences mean, and it sounds like I'm safe to go on handling them opaquely. Another thought that hit me is that filesystems like mine that are mainly used interactively (e.g. browsed with a GUI, or with "ls; cd; ls; cd") will likely only ever get requests for "/", and thereafter paths that they themselves have returned from readdir() anyway. Thanks, matt |