[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [li18nux2000:62] locales and digits



Kaixo!

On Wed, Jun 13, 2001 at 07:25:56PM +0200, Bruno Haible wrote:
> Roozbeh Pournader asks:
> 
> > Does glibc support native digits now?
> 
> glibc certainly supports U+0660..U+0669 as characters. But if you
> create a locale in which iswdigit() of these characters returns true,
> this locale will not be ISO C 99 compliant. (See ISO C 99 sections
> 7.25.2.1.5 and 5.2.1.) You can do it, but expect many programs to
> break. glibc does not ship with non ISO-C compliant locales.

I wasn't thinking about that, but rather in use for displaying numbers
to the user.
If using , instead of . for decimal separator is accepted, then use
of native script digits should be possible too; in the same contexts.

Also, input box of toolkits should be able to accept native digits (and
convert them for use in internal), and use native digits for selectors
and the like.

I read that for use in governemental agencies in Thailand it is mandatory
to be able to support native digits for example.
 
> Bruno
> -
> Linux-UTF8:   i18n of Linux on all levels
> Archive:      http://mail.nl.linux.org/linux-utf8/

-- 
Ki ça vos våye bén,
Pablo Saratxaga

http://www.srtxg.easynet.be/		PGP Key available, key ID: 0x8F0E4975
-
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/