[Hackmeeting] ABSURD localization of the radix character in …

Nachricht löschen

Nachricht beantworten
Autor: marc0@autistici.org
Datum:  
Betreff: [Hackmeeting] ABSURD localization of the radix character in libc !!!!
jaromil on Thu, 11 Nov 2004 23:46:13 +0100 writes:

(snip)

> $ export LANG=C
> $ ./test
> read: 1.234 -> 1.234000
> $ export LANG=sl_SI


(funziona anche con it_IT)

> $ ./test
> read: 1.234 -> 1,000000


cosa ti aspettavi? 1,234 o 1234?

se 1,234 non devi usare LC_ALL ma LC_MESSAGES:

<http://www.gnu.org/software/gettext/manual/html_chapter/gettext_3.html#SEC14>

--
<marc0@???> [0x45070AD6]