comp.lang.ada
 help / color / mirror / Atom feed
From: stt@henning.camb.inmet.com (Tucker Taft)
Subject: Re: Ada + Multi-Byte/Wide Chars = Modern Language?
Date: Thu, 2 Feb 1995 02:53:59 GMT
Date: 1995-02-02T02:53:59+00:00	[thread overview]
Message-ID: <D3Cqq0.4CH@inmet.camb.inmet.com> (raw)
In-Reply-To: 1995Jan29.171712.4531@midway.uchicago.edu

In article <1995Jan29.171712.4531@midway.uchicago.edu>,
Richard L. Goerwitz <goer@midway.uchicago.edu> wrote:

>In R. William Beckwith writes:
>>
>>    -- 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.
>        ^^^^^^^^^^^^^
>
>What is meant by "same contents"?  There are several multi-byte and wide
>character standards.  By using the word "contents" here is the standard
>implying that type Character is assumed to encode specific glyphs?

The standard doesn't use the term "contents" -- that was Bill's 
paraphrasing.

In any case, type Character is (in the "standard mode") interpreted
as the characters of ISO 8859-1 (aka Latin-1), or equivalently
Row 00 of ISO 10646 BMP (Basic Multilingual Plane).
Type Wide_Character is (in the standard mode) interpreted as the characters
of ISO 10646 BMP.

Compilers are allowed to support localization of Character to better
support the local character set, though Ada has always supported
multiple character sets very well, since character/string literals can be
of any "character"/"string" type, either Standard.Character/String or 
a user-defined character/string type.

>   Richard L. Goerwitz     ***      goer@midway.uchicago.edu

-Tucker Taft  stt@inmet.com
Intermetrics, Inc.



  parent reply	other threads:[~1995-02-02  2:53 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 [this message]
     [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