comp.lang.ada
 help / color / mirror / Atom feed
From: beckwb@ois.com (R. William Beckwith)
Subject: Re: Ada + Multi-Byte/Wide Chars = Modern Language?
Date: 25 Jan 1995 22:36:32 -0500
Date: 1995-01-25T22:36:32-05:00	[thread overview]
Message-ID: <3g75c0$la8@gamma.ois.com> (raw)
In-Reply-To: 1995Jan23.183235.19361@midway.uchicago.edu

Richard L. Goerwitz (goer@quads.uchicago.edu) wrote:
: Ada95 looks to be a useful language.

It is.

: One question, though:  Does it fully support wide/multi-byte char-
: acters?  For example, am I free to write apps that utilize UTF-8
: or Unicode?  Will I be able to interface these programs with the
: outside world (e.g., X)?  Does GNAT support these features?

There is a multi-byte character type built into Ada95 called
Wide_Character.

This Wide_Character type maps nicely to Xlib's wchar_t type
(we did this in our Ada95 X11R6 multi-threaded Xlib binding). 

wchar_t is used in Xlib's XIMText struct and the Xwc... functions.

... Bill



      parent reply	other threads:[~1995-01-26  3:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-01-23 18:32 Ada + Multi-Byte/Wide Chars = Modern Language? Richard L. Goerwitz
1995-01-24 19:28 ` Robert Dewar
1995-01-26 12:56   ` Gentle
1995-01-28  1:56     ` R. William Beckwith
1995-01-29 17:17       ` Richard L. Goerwitz
1995-01-30 17:27         ` Vincent Broman
1995-02-01 12:13         ` Robert Dewar
1995-02-02  2:53         ` Tucker Taft
     [not found]   ` <1995Jan27.040708.22494@midway.uchicago.edu>
1995-01-28 18:30     ` Robert Dewar
1995-01-26  3:36 ` R. William Beckwith [this message]
replies disabled

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