Alexey Zaytsev <[email protected]> writes:
> On 13/06/05, Bernd Petrovitsch <[email protected]> wrote:
>> > The main idea of VFS is that you can access your files in the same way
>> > on any supported file system. But actually you can't simple access
>> > different-encoded non-ascii files on a filesystem that has no NLS,
>> > like ext or reiser.
>>
>> I don't think that any filesystem knows about the encoding of every
>> filename - after all it is up to the user which encoding he uses for a
>> given file (and no, no one forces me to use the same encoding on the
>> names of all of "mine" files).
>> IOW given a FAT filesystem on an USB stick, which codepage should be
>> used?
>
> Yes, most if not all filesystems don't have any information about file
> names encoding, but the user can often guess it. Hawing files with
> differently-encoded names on the same filesystem is nonsense, which
> could only appear because of the current NLS misfeatures.
Different users of the same system may have perfectly valid reasons to
use different locale settings, and thus different filename encodings.
Forcing one thing or another is just a useless restriction, and
probably not POSIX compliant.
--
Måns Rullgård
[email protected]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]