From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6f641d1e7358d78 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-02-01 18:53:59 PST Newsgroups: comp.lang.ada Path: nntp.gmd.de!Germany.EU.net!wizard.pn.com!satisfied.elf.com!news.mathworks.com!news2.near.net!news3.near.net!noc.near.net!inmet!henning!stt From: stt@henning.camb.inmet.com (Tucker Taft) Subject: Re: Ada + Multi-Byte/Wide Chars = Modern Language? Message-ID: Sender: news@inmet.camb.inmet.com Organization: Intermetrics, Inc. References: <3g3kde$9p4@gnat.cs.nyu.edu> <3g866d$6hb@cnj.digex.net> <3gc88j$7i1@gamma.ois.com> <1995Jan29.171712.4531@midway.uchicago.edu> Date: Thu, 2 Feb 1995 02:53:59 GMT Date: 1995-02-02T02:53:59+00:00 List-Id: In article <1995Jan29.171712.4531@midway.uchicago.edu>, Richard L. Goerwitz 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.