comp.lang.ada
 help / color / mirror / Atom feed
From: Niklas Holsti <niklas.holsti@tidorum.invalid>
Subject: Re: GNAT vs UTF-8 source file names
Date: Wed, 28 Jun 2017 00:45:55 +0300
Date: 2017-06-28T00:45:55+03:00	[thread overview]
Message-ID: <erg20jF3scdU1@mid.individual.net> (raw)
In-Reply-To: <878tkdzhto.fsf@jacob-sparre.dk>

On 17-06-27 16:22 , Jacob Sparre Andersen wrote:
 > Simon Wright wrote:
 >
 >> What do people who actually need to use international character sets
 >> do about this? Do you just avoid using international characters in
 >> Ada unit names? Or have I just missed the relevant part of the
 >> manual?

I use ISO-Latin-1 identifiers in some Ada programs written in a Finnish 
context, using the Finnish alphabet letters ä, ö, and sometimes the 
Swedish å. Worked OK for me until *some* of the file systems I use 
changed from file names with 8-bit characters to UTF-8 file names, after 
which CVS was quite messed up. I have since limited myself to ASCII in 
all identifiers that become file name parts in GNAT's file-naming 
convention, but I still use ISO Latin 1 for other identifiers.

 > One of my customers simply has a policy saying that all identifiers
 > have to be in English (the policy doesn't say if it should be American
 > English or proper English), and thus neatly works around the problem.

Only if you stick to "modern" English spelling. Otherwise you could 
have, for example,

    package Coördinates is ...

-- 
Niklas Holsti
Tidorum Ltd
niklas holsti tidorum fi
       .      @       .


  reply	other threads:[~2017-06-27 21:45 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 [this message]
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
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