comp.lang.ada
 help / color / mirror / Atom feed
From: David Starner <dvdeug@email.ro>
Subject: Re: Supporting full Unicode
Date: Wed, 12 May 2004 09:41:09 GMT
Date: 2004-05-12T09:41:09+00:00	[thread overview]
Message-ID: <pan.2004.05.12.09.26.57.126499@email.ro> (raw)
In-Reply-To: 2004512-94456-948110@foorum.com

On Wed, 12 May 2004 07:44:56 +0000, Ludovic Brenta wrote:

> 
> Brian Catlin asked:
>> The complete definition of Unicode allows for 2-,3-, and 4-byte
>> characters. How is this supported in Ada95 and Ada0y?
> 
> I am not aware of any differences between Ada 95 and Ada 2005 in that
> respect.  Ada 95 has a type Wide_Character, "whose values correspond
> to the 65536 code positions of the ISO 10646 Basic Multilingual Plane
> (BMP)." (RM 3.5.2(3)).  

Ada 2005 is apparently going to have a Wide_Wide_Character for full
Unicode. That's unfortunate; they should have defined Wide_Character
to be UTF-16 like Java did. Besides taking less space and hence
often being faster, this move leaves a Wide_Character that should never
be used but will anyway. (No, I don't care if you don't use those
characters; one of the people using your program will be an archaeologist
who wants to transfer his Unicode data from another program to yours,
and will be rather annoyed that your "Unicode" program doesn't support
perfectly valid Unicode data.)



  parent reply	other threads:[~2004-05-12  9:41 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-11 17:45 Supporting full Unicode Brian Catlin
2004-05-12  7:44 ` Ludovic Brenta
2004-05-12  8:23   ` Marius Amado Alves
2004-05-12 10:43     ` Martin Krischik
2004-05-12 14:56       ` Björn Persson
2004-05-12 19:09       ` David Starner
2004-05-12 19:25     ` David Starner
2004-05-12  9:41   ` David Starner [this message]
2004-05-12 10:16     ` Björn Persson
2004-05-12 10:57       ` Ludovic Brenta
2004-05-12 14:53         ` Björn Persson
2004-05-12 18:55           ` David Starner
2004-05-12  9:30 ` Martin Krischik
2004-05-13  1:15 ` Randy Brukardt
2004-05-13 17:58   ` Brian Catlin
2004-05-13 19:42     ` Randy Brukardt
2004-05-14  8:40       ` Andersen Jacob Sparre
2004-05-14 20:20         ` Randy Brukardt
2004-05-14  4:00 ` Vadim Godunko
2004-05-14 17:51   ` Brian Catlin
  -- strict thread matches above, loose matches on Subject: below --
2004-05-12 12:40 amado.alves
2004-05-12 14:34 ` Martin Krischik
2004-05-12 18:24   ` David Starner
2004-05-12 20:04   ` Florian Weimer
2004-05-12 14:12 amado.alves
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox