comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic" <mcondic.auntie.spam@acm.org>
Subject: Re: Character Sets (plain text police report)
Date: Sat, 30 Nov 2002 09:49:25 -0500
Date: 2002-11-30T14:49:48+00:00	[thread overview]
Message-ID: <asaj6c$ts5$1@slb9.atl.mindspring.net> (raw)
In-Reply-To: mailman.1038602282.10532.comp.lang.ada@ada.eu.org

It might make an easy extension to the Ada standard to include 32-bit
Unicode. After all, its pretty much just a matter of taking existing
packages and changing a few things so you could have Wide_Wide_Character.
The question is, would it have sufficient utility to make it worth the
effort? (Is there much use out there for 32-bit characters?)

Perhaps if some additional utility was piled on top of it so that reading a
text file, Ada would automatically determine what it was looking at and give
you back text in the proper size (create something like "Universal_String"
and a whole bunch of utilities around it so it would hold 8, 16 or 32-bit
characters depending on how it was loaded) - but I don't see how that could
be done for all text files. Only those that conformed to some other
standard, like XML, where you can determine from convention what sort of
characters will follow.

The concept is a little vague in my mind, but I could imagine how something
like this might be a useful idea for a standard Ada library. It really
doesn't require any fundamental changes to the language.

MDC
--
======================================================================
Marin David Condic
I work for: http://www.belcan.com/
My project is: http://www.jast.mil/

Send Replies To: m c o n d i c @ a c m . o r g

    "I'd trade it all for just a little more"
        --  Charles Montgomery Burns, [4F10]
======================================================================

Robert C. Leif <rleif@rleif.com> wrote in message
news:mailman.1038602282.10532.comp.lang.ada@ada.eu.org...
Oops. My apologies.
Bob Leif
The correct text version is below.
Addendum: The solution is the creation of versions of Ada.Strings.Bounded
for 16 and 32 bit characters. The 32 bit Unicode characters allow direct
comparison of characters based on their position in Unicode.






  reply	other threads:[~2002-11-30 14:49 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-28 17:53 Character Sets Robert C. Leif
2002-11-28 18:08 ` Character Sets (plain text police report) Warren W. Gay VE3WWG
2002-11-28 18:11   ` Warren W. Gay VE3WWG
2002-11-29 11:12     ` Lutz Donnerhacke
2002-11-29 14:58       ` Frank J. Lhota
2002-11-29 20:37   ` Robert C. Leif
2002-11-30 14:49     ` Marin David Condic [this message]
2002-12-01 11:28       ` Jacob Sparre Andersen
2002-12-01 14:38         ` Marin David Condic
2002-12-01 20:25           ` Jacob Sparre Andersen
2002-12-02  9:43             ` Preben Randhol
2002-12-02 13:26               ` Marin David Condic
2002-12-02  6:44           ` Robert C. Leif
2002-12-02  9:41           ` Preben Randhol
2002-12-02 16:58           ` Charles Lindsey
2002-12-02 19:29     ` A suggestion, completely unrelated to the original topic Wes Groleau
2002-12-02 23:21       ` David C. Hoos, Sr.
2002-11-29 12:28 ` Character Sets Georg Bauhaus
2002-12-02 18:28 ` Stephen Leake
2002-12-03  2:45   ` Robert C. Leif
2002-12-03 13:33     ` Robert A Duff
2002-12-03 15:32       ` Juanma Barranquero
2002-12-04  0:49       ` Robert C. Leif
2002-12-14  3:27         ` David Starner
2002-12-14 22:53           ` Vadim Godunko
2002-12-15  3:46             ` David Starner
2002-12-15 23:26             ` Robert C. Leif
replies disabled

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