Real ISO-8859-15 support or just an `alias' to 8859-1 ?

David Demelier demelier.david at gmail.com
Wed Jan 5 14:11:50 UTC 2011


On 05/01/2011 15:07, Patrick Lamaiziere wrote:
> Le Wed, 05 Jan 2011 14:49:31 +0100,
> David Demelier<demelier.david at gmail.com>  a écrit :
>
>> Hello,
>
> Hello,
>
>> I can't write these characters '€' 'œ' using ISO-8859-15 locales, in
>> fact the 'œ' character is replaced with '½'.
>>
>> As you can see here http://fr.wikipedia.org/wiki/ISO_8859-15 the œ
>> character should be replaced with ½, so i'm guessing if the locales
>> are really using ISO-8859-15 and not only 8859-1
>>
>> These problems were reported on xterm / urxvt with or without vim.
>
> I think the problem is the font.

No, my font is DejaVu and it supports these characters!

>
> It works fine using an iso8859-* in xterm, by example:
> $ xterm -font '-*-fixed-medium-r-*-*-18-*-*-*-*-*-iso8859-*'
>

Exactly the same thing, '1/2' instead of 'oe' and a square instead of 
euro sign. It looks like I'm really using 8859-1 instead of 8859-15.

> Works fine with Terminal too.
>
>> My locales :
>>
>> markand at Melon ~ $ locale
>> LANG=fr_FR.ISO8859-15
>> LC_CTYPE="fr_FR.ISO8859-15"
>> LC_COLLATE="fr_FR.ISO8859-15"
>> LC_TIME="fr_FR.ISO8859-15"
>> LC_NUMERIC="fr_FR.ISO8859-15"
>> LC_MONETARY="fr_FR.ISO8859-15"
>> LC_MESSAGES="fr_FR.ISO8859-15"
>> LC_ALL=
>
> looks good, I use:
> ~$ locale
> LANG=fr_FR.ISO8859-15
> LC_CTYPE="fr_FR.ISO8859-15"
> LC_COLLATE="fr_FR.ISO8859-15"
> LC_TIME="fr_FR.ISO8859-15"
> LC_NUMERIC="fr_FR.ISO8859-15"
> LC_MONETARY="fr_FR.ISO8859-15"
> LC_MESSAGES="fr_FR.ISO8859-15"
> LC_ALL=fr_FR.ISO8859-15
>
> Regards.


-- 
David Demelier


More information about the freebsd-questions mailing list