[PATCH] Reading localized digits in floating-point numbers
Hamed Malek
hamed@bamdad.org
Tue Aug 2 10:55:00 GMT 2005
The following patch adds support for reading localized digits in
floating=point numbers. It has almost no penalty when 'I' flag is not
used or needed map is not defined in locale file. It also supports the
situations when we don't have decimal point or thousands-sep defined in
locale file.
Attached is the patch with a test-case.
Hamed
2005-08-02 Hamed Malek <hamed@bamdad.org>
* stdio-common/vfscanf.c: Add support for reading localized
digits in floating-point numbers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scanf-i18n.patch
Type: text/x-patch
Size: 5881 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20050802/e08e45f9/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tst-i18n-digits.c
Type: text/x-csrc
Size: 874 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20050802/e08e45f9/attachment-0001.bin>
More information about the Libc-alpha
mailing list