Re: non-ASCII characters in directory names
Re: non-ASCII characters in directory names
- Subject: Re: non-ASCII characters in directory names
- From: Doug McNutt <email@hidden>
- Date: Thu, 10 Jan 2008 15:12:41 -0700
At 21:18 +0100 1/10/08, Vincent Lefevre wrote:
>Also it's fine that Mac OS X enforces UTF-8 in filenames.
It's probably important to note that most, if not all, UNIX-compatible file systems don't really have to care what the encoding of the file name is. There are very few 8 bit chars that are illegal at that point and it may well be only the null character which terminates a C string.
The file system's tables and B-trees need only a string of chars to operate.
The confusions due to character encoding occur in the tools and shells that attempt to convert arbitrary chars to and from human readable glyphs.
One day I shall have a look at some directory files in HEX just to see what's actually there with the idea of testing that enforcement rule.
--
--> There are 10 kinds of people: those who understand binary, and those who don't <--
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden