From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: Newbie questions re Unicode (1) Date: Wed, 29 Jul 2020 17:26:43 +0200 Organization: Adalog Message-ID: References: <4666523c-0a72-4a00-ac71-9a6d24195752o@googlegroups.com> <1b8d999f-4853-4363-b52b-456afaf3fe34o@googlegroups.com> <747fc82a-44f9-45d5-baf6-6cda43b6ca12o@googlegroups.com> <4fa34474-27db-4cfb-8aa8-f20c687af3c8o@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 29 Jul 2020 15:26:43 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="e963e080fc4487ac28da1a6908d0185a"; logging-data="20272"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+9QXZjmwf/ozQF8lXyYoVB" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 Cancel-Lock: sha1:UF8OzJ0pDE+Nslxda7V118dO1+Q= In-Reply-To: <4fa34474-27db-4cfb-8aa8-f20c687af3c8o@googlegroups.com> Content-Language: fr Xref: reader01.eternal-september.org comp.lang.ada:59588 List-Id: 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