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,e136d2bb18e6fb60 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-12-02 09:15:09 PST Newsgroups: comp.lang.ada Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!newspeer.clara.net!news.clara.net!news.nosignal.org!zen.net.uk!130.88.203.18.MISMATCH!peernews.mcc.ac.uk!cs.man.ac.uk!clerew!chl From: "Charles Lindsey" Subject: Re: Character Sets (plain text police report) Message-ID: X-Newsreader: NN version 6.5.2 (NOV) References: <3DE9F24E.3010002@nbi.dk> Date: Mon, 2 Dec 2002 16:58:51 GMT Xref: archiver1.google.com comp.lang.ada:31349 Date: 2002-12-02T16:58:51+00:00 List-Id: In "Marin David Condic" writes: >My understanding was that the 16 bit characters covered most of the >practical uses one would find in modern languages. The reason for the 32 bit >characters was to provide for things that might be truly obscure (Egyptian >heiroglyphics and such) or other special character sets that may not be that >big a deal if Ada didn't support it. Indeed so. If 16bit Wide-Characters are already available in Ada, then the simplest thing is to use them as representing UTF-16. That would allow you everything except the obscure Egyptian heiroglyphics (and they would appear escaped, which would be messy). You would use UTF-8 in external files (or whatever the OS wanted). Literal strings in program source text would need some attention (ASCII characters you just pad out to 16 bits). -- Charles H. Lindsey ---------At Home, doing my own thing------------------------ Tel: +44 161 436 6131 Fax: +44 161 436 6133 Web: http://www.cs.man.ac.uk/~chl Email: chl@clw.cs.man.ac.uk Snail: 5 Clerewood Ave, CHEADLE, SK8 3JU, U.K. PGP: 2C15F1A9 Fingerprint: 73 6D C2 51 93 A0 01 E7 65 E8 64 7E 14 A4 AB A5