Re: RFC: API to access Unicode db files

2011-08-17 Thread Karl Williamson
Here's a new version of the API for comment, with the addition of 2 extra functions: prop_invlist() prop_invlist returns an inversion list (described below) that defines all the code points for the Unicode property given by the input parameter string: use

Re: RFC: API to access Unicode db files

2011-07-24 Thread Zefram
Karl Williamson wrote: prop_invmap(Numeric_Value, \@numerics_ranges, \@numerics_maps); Looks fine to me, except for the convention for returning the arrays. It would be neater to return a list of items rather than modify arrays in place: ($status, $ranges, $maps) = prop_invmap(Numeric_Value);

RFC: API to access Unicode db files

2011-07-21 Thread Karl Williamson
Some applications are finding it necessary to read in the Unicode files that mktables generates. For example, grepping through CPAN indicates that Text::Unicode::Equivalents reads Decomposition.pl. This, and most of the other generated files are marked for internal use only, because we wish