This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Query on UTF-32 encodings for letters
- From: Neil Booth <neil at daikokuya dot co dot uk>
- To: Robert Dewar <dewar at adacore dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 12 Jan 2005 09:17:57 +0900
- Subject: Re: Query on UTF-32 encodings for letters
- References: <41E3E28D.6050506@adacore.com>
Robert Dewar wrote:-
> Ada 2005 requires full support for all planes of UTF-32
> encoding, including the use of letters in identifiers,
> including also proper upper lower case equivalence.
>
> All this information is obtainable from the 10646 standard,
> but it is non-trivial to generate the predicates Is_Letter,
> and the function To_Lower.
>
> I wondered if anyone knew of GPL'ed code that did either of
> these two functions before I reinvent the wheel :-)
You should have a look at Tom Lord's hackerlab; it's GPLed
and part of the GNU project I think. At a glance it seems to
have a very clean unicode implementation.
Neil.