Query on UTF-32 encodings for letters
Paul Koning
pkoning@equallogic.com
Tue Jan 11 16:04:00 GMT 2005
>>>>> "Robert" == Robert Dewar <dewar@adacore.com> writes:
Robert> Ada 2005 requires full support for all planes of UTF-32
Robert> encoding, including the use of letters in identifiers,
Robert> including also proper upper lower case equivalence.
Robert> All this information is obtainable from the 10646 standard,
Robert> but it is non-trivial to generate the predicates Is_Letter,
Robert> and the function To_Lower.
Robert> I wondered if anyone knew of GPL'ed code that did either of
Robert> these two functions before I reinvent the wheel :-)
Libiconv and libidn are relevant -- both GNU projects
(http://www.gnu.org/software/libiconv/ and
http://www.gnu.org/software/libidn/). There's also the Stringprep
spec, RFC 3454.
paul
More information about the Gcc
mailing list