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-Thread: 103376,a82f86f344c98f79 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!atl-c08.usenetserver.com!news.usenetserver.com!pc02.usenetserver.com!API-DIGITAL.COM-a2kHrUvQQWlmc!not-for-mail Date: Mon, 18 Sep 2006 20:16:05 -0500 From: "Marc A. Criley" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Avatox 1.0: Trouble with encoding in Windows References: <45051d37@news.upm.es> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: X-Complaints-To: abuse@usenetserver.com Organization: UseNetServer.com X-Trace: b1b19450f44d5e455039d11237 Xref: g2news2.google.com comp.lang.ada:6647 Date: 2006-09-18T20:16:05-05:00 List-Id: Stephen Leake wrote: > Manuel Collado writes: > > >>1. The ASIS API should provide a way to know the character encoding of >>the source file (I think it doesn't). > > Please send this suggestion to the ARG, at ada-comment@ada-auth.org; > they are currently revising the ASIS standard for Ada 2005. Just to try to drag this thread back to its original topic... I've found out that the ASIS-for-GNAT that accompanies GNAT GPL 2006 does not permit on-the-fly compilation of Ada units using a character set other than ASCII. Largely because there's no way to pass the "-gnatW8" switch via the ASIS interface to the compiler. ASIS can handle such character sets, it's simply that it has to interact with the sources via their corresponding tree, ".adt", files. These are generated by specifying the -gnatc and -gnatt options to gnatmake. For example: $ gnatmake -c -gnatc -gnatt -gnatW8 bisiesto.adb AdaCore has already remedied this situation in their current version of ASIS-for-GNAT, but which is not yet publically available. And Avatox 1.2 will be out shortly to handle non-ASCII character sets. -- Marc A. Criley -- McKae Technologies -- www.mckae.com -- DTraq - Avatox - XIA - XML EZ Out