From: "J-P. Rosen" <rosen@adalog.fr>
Subject: Re: GNAT vs UTF-8 source file names
Date: Wed, 5 Jul 2017 13:20:53 +0200
Date: 2017-07-05T13:20:53+02:00 [thread overview]
Message-ID: <ojihrl$qu2$1@dont-email.me> (raw)
In-Reply-To: <ly60f72p1g.fsf@pushface.org>
Le 05/07/2017 à 11:47, Simon Wright a écrit :
> That reference specifies NFKC which I suppose is near!
Not that near when it comes to ligatures and other crazy characters...
But you are right, it's NFKC.
> GNAT uses this if
> either you compile with -gnatW8 or the file begins with a UTF8 BOM.
Actually, this has nothing to do with encoding or coded character sets.
Even if you use Latin-1, the set of allowed characters is defined as
those that belong to NFKC.
> The problems I've noted in this thread in the GNAT implementation are
> two:
>
> (1) On Windows and macOS (and possibly on VMS, not sure if that's
> relevant any more) the file name corresponding to a unit name is
> converted to lower-case assuming it's Latin-1 -
> System.Case_Util.To_Lower,
I can talk about character issues since I gave that tutorial at AE'17...
How operating systems manage that, I don't know.
--
J-P. Rosen
Adalog
2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX
Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00
http://www.adalog.fr
next prev parent reply other threads:[~2017-07-05 11:20 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-30 17:10 GNAT vs UTF-8 source file names Simon Wright
2017-06-17 17:20 ` Simon Wright
2017-06-27 13:22 ` Jacob Sparre Andersen
2017-06-27 21:45 ` Niklas Holsti
2017-06-28 5:05 ` G.B.
2017-07-04 13:57 ` Simon Wright
2017-07-04 17:30 ` Shark8
2017-07-04 18:08 ` Dennis Lee Bieber
2017-07-05 5:25 ` J-P. Rosen
2017-07-06 15:18 ` Shark8
2017-07-07 8:19 ` J-P. Rosen
2017-07-05 5:21 ` J-P. Rosen
2017-07-05 9:47 ` Simon Wright
2017-07-05 11:20 ` J-P. Rosen [this message]
2017-07-05 18:42 ` Randy Brukardt
2017-07-06 18:43 ` Simon Wright
2017-07-07 8:26 ` J-P. Rosen
2017-07-07 11:01 ` Simon Wright
2017-07-07 11:49 ` Jacob Sparre Andersen
2017-07-07 19:44 ` Randy Brukardt
2017-07-07 19:40 ` Randy Brukardt
2017-07-07 21:02 ` Simon Wright
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox