Lukasz Stelmach <[email protected]> writes:
> Patrick McFarland napisał(a):
>> On Wednesday 15 June 2005 04:26 am, Lukasz Stelmach wrote:
>>
>>>Måns Rullgård napisał(a):
>>>
>>>>I use utf-8 exclusively for my filenames (the few that are not 7-bit
>>>>ascii). Forcing others who use the system to do the same would cause
>>>>them a lot of trouble, as they must transfer files to and from Windows
>>>>machines that use anything but utf-8.
>>>
>>>But VFAT (and NTFS???) use unicode, i.e. UTF-16 (???). AFAIK
>>
>> No, VFAT and NTFS use an 8-bit encoding,
>
> I meant that they don't use utf-8 but it is still the unicode. I am not
> sure i've made myself clear.
>
>> Forcing people to use unicode isn't a bad thing btw, especially since
>> it is a culture agnostic encoding that can represent wide characters
>> (eg. from Asian languages) in a uniform manner*, and allowing to use
>> multiple languages (eg. Chinese and Japanese) at once without needing
>> to switch encodings.
>
> Yes. I also think UTF-8 is a good idea, however it is not an ideal one.
> It *preferes* Roman encodings since some Asian characters need even four
> bytes.
That's a simple consequence of having an alphabet with thousands of
characters. Besides, fewer of the Asian characters are required to
represent the same meaning, so the byte count should come out about
the same.
> IMHO for *every* filesystem there need to be an *option* to:
>
> 1. store filenames in utf-8 (that is quite possible today) or any other
> unicode form.
export LC_CTYPE=whatever.utf-8
> 2. convert them to/from a desired iocharset. I prefere using ISO-8859-2
> on my system for not every tool support utf-8 today (hopefuly yet).
man iconv
> Of course if a user whishes to store filenames in some other encoding
> she should be *able* to do so (that is why i like linux).
That's the current situation.
> Generally. IMHO VFAT is a good example how character encoding needs
> to be handeled.
IMHO, VFAT is only a good example of bad design.
--
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]