Re: A Great Idea (tm) about reimplementing NLS.

From: Bernd Eckenfels
Date: Thu Jun 16 2005 - 06:39:26 EST


In article <200506152144.56540.pmcfarland@xxxxxxxxxxxx> you wrote:
> Bingo. Only the operating system itself and software displaying filenames
> needs to understand Unicode; the file system implementation itself just knows
> its a string of bytes and nothing else.

The filesystem needs to understand and translate the path names, if the
Filesystem specification mandates a different encoding for file names (for
example UTF-16). Thats why you fequently see translations in legacy
filesystems which have national encoding in the on-disk format (think FAT)

And if the filesystem uses unicode, you also need to enforce the naming of
files in UTF-8 to do reliable translation. Currently user mode may also send
you non-UTF8 national chars.

Bernd
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/