comp.lang.ada
 help / color / mirror / Atom feed
From: "J-P. Rosen" <rosen@adalog.fr>
Subject: Re: Newbie questions re Unicode (1)
Date: Wed, 29 Jul 2020 17:26:43 +0200	[thread overview]
Message-ID: <rfs4fj$jpg$1@dont-email.me> (raw)
In-Reply-To: <4fa34474-27db-4cfb-8aa8-f20c687af3c8o@googlegroups.com>

Le 29/07/2020 à 09:34, Ian Douglas a écrit :
> On Wednesday, 29 July 2020 09:28:15 UTC+2, Ian Douglas  wrote:
>> For example, π and φ or even φπ are accepted as variable names, but not something like ₢ for example. I guess only Latin 1 characters are allowed.
>>
> Mmm maybe because ₢ is a currency symbol and not defined as a "letter".

The definition of "Letter" for identifiers is as follows (General
Category is from ISO 10646/2017), see 2.1 and 2.3:

letter_uppercase
Any character whose General Category is defined to be “Letter, Uppercase”.

letter_lowercase
Any character whose General Category is defined to be “Letter, Lowercase”.

letter_titlecase
Any character whose General Category is defined to be “Letter, Titlecase”.

letter_modifier
Any character whose General Category is defined to be “Letter, Modifier”.

letter_other
Any character whose General Category is defined to be “Letter, Other”.

number_letter
Any character whose General Category is defined to be “Number, Letter”.

For more details, refer to ISO 10646, but be careful: ISO 10646 is 2.5
times the size of the Ada standard!

-- 
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

  reply	other threads:[~2020-07-29 15:26 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-12  8:14 Newbie questions re Unicode (1) Ian Douglas
2020-07-12  8:25 ` Simon Wright
2020-07-12  8:42   ` Ian Douglas
2020-07-12 18:43     ` Simon Wright
2020-07-12 20:08       ` Ian Douglas
2020-07-18 12:20       ` Bob Goddard
2020-07-21 19:57         ` Ian Douglas
2020-07-25 11:44           ` 196...@googlemail.com
2020-07-27 13:46             ` Ian Douglas
2020-07-27 20:26           ` Simon Wright
2020-07-29  7:28             ` Ian Douglas
2020-07-29  7:34               ` Ian Douglas
2020-07-29 15:26                 ` J-P. Rosen [this message]
2020-07-13 15:28 ` Shark8
2020-07-13 16:59   ` Simon Wright
2020-07-21 15:36     ` Shark8
2020-07-21 19:54   ` Ian Douglas
2020-07-21 20:11     ` J-P. Rosen
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox