Tom Garland scripsit:
> > As I am dissatisfied with the constraints that the POSIX "ctype.h"
> > classification API puts on characters, and its over-specificity
> > compared with the Unicode model,
> I'd be interested in seeing a critique of ctype.h if you have one
> or can point me to one.
Well, let's see. Posix "ctype.h" knows but two cases, whereas Unicode
knows three. In Posix, only European Arabic digits can pass "isdigit",
whereas Unicode has many sets of digits, all putatively equal.
In Posix "ctype.h", that which is "alnum" but not "alpha" must be a
"digit", but Unicode is aware that not all numbers are digits, nor
are all letters alphabetic. Unicode groks spacing and non-spacing
marks, but Posix comprehends them not.
Etcetera, etcetera, etcetera.
-- John Cowan http://www.ccil.org/~cowan firstname.lastname@example.org You tollerday donsk? N. You tolkatiff scowegian? Nn. You spigotty anglease? Nnn. You phonio saxo? Nnnn. Clear all so! 'Tis a Jute.... (FW 16.5)
This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:20:39 EDT