Re: Why no non-latin TODIGIT mappings in UTF-8.src ?

Andrey Chernov <[email protected]>
Newsgroups gmane.os.freebsd.devel.internationalization
Message-ID <[email protected]>
On Mon, May 28, 2007 at 12:41:42AM +0200, Wolfgang Zenker wrote:
> Hello all,
> 
> I'm a bit surprised there are no TODIGIT mappings for non-latin scripts
> in src/share/mklocale/UTF-8. Is there a technical reason why this would
> be a bad idea or is it simply because noone did get around to define the
> mappings yet?

Because of POSIX isdigit():

digit 
Define the characters to be classified as numeric digits. 
In the POSIX locale, only:

0 1 2 3 4 5 6 7 8 9


shall be included.

In a locale definition file, only the digits <zero>, <one>, <two>, 
<three>, <four>, <five>, <six>, <seven>, <eight>, and <nine> shall be 
specified, and in contiguous ascending sequence by numerical value. The 
digits <zero> to <nine> of the portable character set are automatically 
included in this class.

-- 
http://ache.pp.ru/
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-i18n
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.