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: 27 Jan 1995 20:56:35 -0500
Date: 1995-01-27T20:56:35-05:00	[thread overview]
Message-ID: <3gc88j$7i1@gamma.ois.com> (raw)
In-Reply-To: 3g866d$6hb@cnj.digex.net

Gentle (gentle@cnj.digex.net) wrote:

:   This may be a silly question, but what exactly is a "wide character"?

A two-byte character type built into the Ada95 language.  LRM, Standard pkg:

    -- The declaration of type Wide_Character is based on the standard
    -- ISO 10646 BMP character set.  The first 256 positions have the
    -- same contents as type Character.  See 3.5.2.

    type Wide_Character is (nul, soh ... FFFE, FFFF);

    ...

    type Wide_String is array(Positive range <>) of Wide_Character;
    pragma Pack(Wide_String);

... Bill



  reply	other threads:[~1995-01-28  1:56 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 [this message]
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
replies disabled

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