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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no 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-18 15:20:07 PST Path: archiver1.google.com!news1.google.com!news.glorb.com!newsfeed3.easynews.com!easynews.com!easynews!border1.nntp.sjc.giganews.com!nntp.giganews.com!local1.nntp.sjc.giganews.com!nntp.gbronline.com!news.gbronline.com.POSTED!not-for-mail NNTP-Posting-Date: Sun, 18 Apr 2004 17:20:05 -0500 Date: Sun, 18 Apr 2004 17:20:13 -0500 From: Wes Groleau Reply-To: groleau+news@freeshell.org Organization: Ain't no organization here! User-Agent: Mozilla Thunderbird 0.5 (Macintosh/20040208) 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 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> <_-GdndQI1IKMIxzd4p2dnA@comcast.com> In-Reply-To: <_-GdndQI1IKMIxzd4p2dnA@comcast.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 69.9.86.17 X-Trace: sv3-9V1cBsMrk8qSqRK3d/CdSdVS+2gWyGvHB2rnszLE+1+cl+Cwc5DEYkNYlxQ+Rxx5X80lpzQIoNLh+sM!t2ZurWp2soJoAey9vAXiKxyqrcst5jP2HnHKhvwkRDvel0W9wgCLYKD1Y8kl+fx6cagc5DJwAgRs X-Complaints-To: abuse@gbronline.com X-DMCA-Complaints-To: abuse@gbronline.com 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:7319 Date: 2004-04-18T17:20:13-05:00 List-Id: Robert I. Eachus wrote: > Wes Groleau wrote: >> Would it be worthwhile for an AI to allow a file to start >> with a BOM and then a comment whose contents are functionally >> similar to the things an XML first line using to specify >> encoding? > > That is a perfectly reasonable choice for some compiler. GNAT wants to > support more source character sets than most, so they apparently feel a > need to have the command line argument. Note that what I was originally Note that I said to _allow_ a file. I would expect files not containing that "standard comment" to be parsed exactly as they are parsed now. > addressing was a side effect of that choice--the character set chosen > for source files becomes the default for Ada.Text_IO files. That makes > sense for GNAT's intended market, and of course, you can always override > that default when opening a file. (If you want to think about byte > order markers there, recognize that you also have to be able to create > and reset files...) As mentioned in another post, the sensible thing is to have Text_IO use the same encoding as the source file unless explicitly changed by the Form string. -- Wes Groleau http://freepages.rootsweb.com/~wgroleau/Wes