comp.lang.ada
 help / color / mirror / Atom feed
From: "Charles Lindsey" <chl@clw.cs.man.ac.uk>
Subject: Re: Character Sets (plain text police report)
Date: Mon, 2 Dec 2002 16:58:51 GMT
Date: 2002-12-02T16:58:51+00:00	[thread overview]
Message-ID: <H6I4I3.KL6@clw.cs.man.ac.uk> (raw)
In-Reply-To: asd6tj$isb$1@slb2.atl.mindspring.net

In <asd6tj$isb$1@slb2.atl.mindspring.net> "Marin David Condic" <mcondic.auntie.spam@acm.org> writes:

>My understanding was that the 16 bit characters covered most of the
>practical uses one would find in modern languages. The reason for the 32 bit
>characters was to provide for things that might be truly obscure (Egyptian
>heiroglyphics and such) or other special character sets that may not be that
>big a deal if Ada didn't support it.

Indeed so. If 16bit Wide-Characters are already available in Ada, then the
simplest thing is to use them as representing UTF-16. That would allow you
everything except the obscure Egyptian heiroglyphics (and they would
appear escaped, which would be messy).

You would use UTF-8 in external files (or whatever the OS wanted). Literal
strings in program source text would need some attention (ASCII characters
you just pad out to 16 bits).

-- 
Charles H. Lindsey ---------At Home, doing my own thing------------------------
Tel: +44 161 436 6131 Fax: +44 161 436 6133   Web: http://www.cs.man.ac.uk/~chl
Email: chl@clw.cs.man.ac.uk      Snail: 5 Clerewood Ave, CHEADLE, SK8 3JU, U.K.
PGP: 2C15F1A9      Fingerprint: 73 6D C2 51 93 A0 01 E7 65 E8 64 7E 14 A4 AB A5



  parent reply	other threads:[~2002-12-02 16:58 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
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 [this message]
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