From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-0.9 required=3.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.6 Path: eternal-september.org!reader02.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!cleanfeed2-a.proxad.net!nnrp2-1.free.fr!not-for-mail From: Thomas Newsgroups: comp.lang.ada Mail-Copies-To: nobody Subject: Re: Ada and Unicode References: <607b5b20$0$27442$426a74cc@news.free.fr> <86mttuk5f0.fsf@stephe-leake.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Date: Sat, 16 Apr 2022 04:32:19 +0200 Message-ID: <625a2ab4$0$24136$426a34cc@news.free.fr> Organization: Guest of ProXad - France NNTP-Posting-Date: 16 Apr 2022 04:32:20 CEST NNTP-Posting-Host: 91.175.52.121 X-Trace: 1650076340 news-4.free.fr 24136 91.175.52.121:12759 X-Complaints-To: abuse@proxad.net Xref: reader02.eternal-september.org comp.lang.ada:63743 List-Id: In article <86mttuk5f0.fsf@stephe-leake.org>, Stephen Leake wrote: > DrPi <314@drpi.fr> writes: > > > Any way to use source code encoded in UTF-8 ? > from the gnat user guide, 4.3.1 Alphabetical List of All Switches: > > `-gnati`c'' > Identifier character set (`c' = 1/2/3/4/8/9/p/f/n/w). For details > of the possible selections for `c', see *note Character Set > Control: 4e. > > This applies to identifiers in the source code > > `-gnatW`e'' > Wide character encoding method (`e'=n/h/u/s/e/8). > > This applies to string and character literals. afaik, -gnati is deactivated when -gnatW is not n or h (from memory) so you can't ask both to check that identifiers are in ASCII and to have literals in UTF-8. (if it's resolved in new versions it's a good news :-) ) -- RAPID maintainer http://savannah.nongnu.org/projects/rapid/