Re: UTF-8 in file systems? xfs/extfs/etc.

Mike Fedyk
2004-02-11T00:02:39Z

On Tue, Feb 10, 2004 at 03:04:52PM -0800, jw schultz wrote:
> On Mon, Feb 09, 2004 at 08:32:12PM -0800, Mike Fedyk wrote:
> > On Mon, Feb 09, 2004 at 02:36:24PM +0100, Matthias Urlichs wrote:
> > > Hi, Nico Schottelius wrote:
> > >
> > > > What Linux supported filesystems support UTF-8 filenames?
> > >
> > > Filenames, to the kernel, are a sequence of 8-bit things commonly
> > > called "bytes" or "octets", excluding '/' and '\0'.
> > >
> >
> > You can have "/" in the filename also, though that could be encoded somehow...
>
> You might be able to have a non-ASCII character that looks
> like / but not 0x2f.
>
> I for one do not want open("/var/tpm/diddle", O_WRONLY | O_CREAT)
> to create a file "tpm/diddle" in /var just because /var/tpm
> doesn't exist. Fortunately what happens is it fails with
> ENOENT.

OK, I stand corrected.

Thanks.