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,be0ffa00e7ee1ac6 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-04-29 11:54:01 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!washdc3-snh1.gtei.net!news.gtei.net!newsfeed0.news.atl.earthlink.net!news.atl.earthlink.net!news.mindspring.net!not-for-mail From: "Brian Catlin" Newsgroups: comp.lang.ada Subject: Bytes per character (was Re: An OS in Ada, why not RTEMS ?) Date: Mon, 29 Apr 2002 11:52:59 -0700 Organization: Sannas Consulting Message-ID: References: NNTP-Posting-Host: a5.f7.f3.d6 X-Server-Date: 29 Apr 2002 18:53:09 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Xref: archiver1.google.com comp.lang.ada:23230 Date: 2002-04-29T18:53:09+00:00 List-Id: "sk" wrote in message news:mailman.1020051003.12089.comp.lang.ada@ada.eu.org... [...snip...] > > Do you expect this to put the character 'H' on the screen ? > > I think of storage elements as bytes, with bytes and characters > being synonymous. Seems sort of short-sighted to me; it works fine for ASCII/ANSI characters, but what about the rest of the world? Unicode uses 2-4 bytes per character, which makes dealing with it a little difficult in terms of dealing with strings, but at least you can represent just about any "character" in virtually any language. -Brian