Michal Suchanek <[email protected]> wrote:
> 2010/2/7 Patric Mueller <[email protected]>:
>> Michal Suchanek <[email protected]> wrote:
>>> On 6 February 2010 15:23, Patric Mueller <[email protected]> wrote:
>>
>> I'm not sure that the not so common cases you're thinking of are that
>> rare. For example, my OS is completely utf-8 capable, but I prefer my
>> shell to be in latin1.
>
> That's certainly unusual, especially given that latin-1 should work in
> utf-8 without additional conversion.

That's not correct, the latin1 characters 127-255 are not legal utf-8
characters. You're probably thinking of 7-bit ASCII or that all latin1
characters are equal to the first 255 unicode codepoints?

The problem vilistextum faced was how to support multiple character
sets at a time when locale support itself was rather flaky in C
compilers.

I chose to require UTF-8 and then use the wide character functions for
handling all strings, so I didn't have to program for specific
character sets.

But still I had to also require libiconv as iconv in glibc wasn't
developed enough at that time and the iconv implementation in Solaris
was completely brain-dead AFAIK.

Bye
Patric

-- 
Homepage: http://bhaak.dyndns.org/
E-mail: [email protected]  Jabber: [email protected]  ICQ: 23653421
Languages: Deutsch, English
(Not fluently: Français, Italiano, Latinum)



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to