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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5cb36983754f64da X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-04-17 17:07:34 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!cyclone-sf.pbi.net!216.196.106.144!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!local1.nntp.sjc.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Sat, 17 Apr 2004 19:07:32 -0500 Date: Sat, 17 Apr 2004 20:07:32 -0400 From: "Robert I. Eachus" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: No call for Ada (was Re: Announcing new scripting/prototyping language) References: <20040206174017.7E84F4C4114@lovelace.ada-france.org> <54759e7e.0402071124.322ea376@posting.google.com> <406EB6D2.8030801@noplace.com> <87d66pyw1g.fsf@insalien.org> <406EEC35.7040109@noplace.com> <874qs0zvy1.fsf@insalien.org> <40714C98.90601@noplace.com> <1073gv22t969q5a@corp.supernews.com> <40729B9D.30906@noplace.com> <1076000ef5oj06f@corp.supernews.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 24.147.90.114 X-Trace: sv3-Wtg/exSrYQh0IKxGgzx3J/5sN09h3UPJ2VqkET9FPf50gyx+EQwlj9ExfRr4Z7H/zXP8gzn4Nf+DR3D!uX5bf2hg2rQu/BOix8AQgT68zeu69jSOCIMjRbls4erQpq/i3NqiF8BoasKXJA== X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 Xref: archiver1.google.com comp.lang.ada:7290 Date: 2004-04-17T20:07:32-04:00 List-Id: David Starner wrote: > Why would you think that? HTML and XML does it. Unless you're dealing with > EBCDIC, you have two encodings to deal with in order to reach a "pragma > charset ("UTF-8");": ASCII and UTF-16, which are trivial to distinguish. But Shift-JIS and EUC can't be distinguished that way. More generally, with your suggested approach all of the languages must conform to some meta-standard. GNAT on the other hand wants to work with existing character sets which may or may not conform to any particular standard. > In any case, using it to distinguish source character set isn't evil. It's > using it change the default Text_IO character set, and worse yet, coupling > the two, that's bad. Then don't use it. Again, it is the intended audience. GNAT tries to allow itself to be adapted to any existing environment, including character sets. In say, a Shift-JIS environment, almost all files will be written in Shift-JIS. -- Robert I. Eachus "The terrorist enemy holds no territory, defends no population, is unconstrained by rules of warfare, and respects no law of morality. Such an enemy cannot be deterred, contained, appeased or negotiated with. It can only be destroyed--and that, ladies and gentlemen, is the business at hand." -- Dick Cheney