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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.50.143.104 with SMTP id sd8mr1489552igb.9.1440864427671; Sat, 29 Aug 2015 09:07:07 -0700 (PDT) X-Received: by 10.182.52.132 with SMTP id t4mr107523obo.25.1440864427648; Sat, 29 Aug 2015 09:07:07 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!u8no472310igq.0!news-out.google.com!f6ni8925igi.0!nntp.google.com!se8no666152igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 29 Aug 2015 09:07:07 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=188.62.56.211; posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG NNTP-Posting-Host: 188.62.56.211 References: <75714e3f-c047-413d-9aa5-3ff423167863@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <9b51b9cd-bc88-4a94-b043-ab245910343c@googlegroups.com> Subject: Re: Exclusive file access From: gautier_niouzes@hotmail.com Injection-Date: Sat, 29 Aug 2015 16:07:07 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:27637 Date: 2015-08-29T09:07:07-07:00 List-Id: Le samedi 29 ao=FBt 2015 09:06:00 UTC+2, Dmitry A. Kazakov a =E9crit=A0: > On Fri, 28 Aug 2015 10:40:45 -0700 (PDT), ahlan@*** wrote: >=20 > > Now that we have abandoned OA in favour of Gnat and because Gnat provid= es > > a mechanism to open files with non-ascii names I had hoped that we coul= d > > abandon all this fancy windows stuff and use plain Ada. >=20 > I doubt that. Windows "non-ascii" file names are UTF-16. Sure, but the form "encoding=3Dutf8" works on GNAT on Windows. Somewhere in the run-time the UTF-8 name is converted to UTF-16. So no need of Wide_String or Wide_Wide_String for file names there. _________________________=20 Gautier's Ada programming=20 http://gautiersblog.blogspot.com/search/label/Ada=20 NB: follow the above link for a valid e-mail address