[PATCH] adding i18n digits to fa_IR
Hamed Malek
hamed@bamdad.org
Tue Jun 29 13:42:00 GMT 2004
Hi,
'I' flag has been implemented in scanf for about 4 years. The only way
that we can use this feature is to add a set of extended digits to digit
tag which is useless since ISO C has forbidden us. Though it was
implemented in localedef to accept multiple of 10 (and not just 10)
digits in digit tag (see /locale/programs/ld-ctype.c line 708).
Please clarify this. If it's possible apply this small patch for fa_IR.
It adds two Arabic and Persian digits sets to digit tag and remove them
from alpha tag in i18n file. It solve all we need. If not, Do you accept
a patch for vfscanf.c that replace implemented code with something which
reads its data from a map in locale file?
Hamed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fa_IR.patch
Type: text/x-patch
Size: 929 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20040629/3155d8b6/attachment.bin>
More information about the Libc-alpha
mailing list