comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: The extension of Is_Basic to unicode (about AI12-0260-1)
Date: Wed, 11 Apr 2018 17:20:26 -0500
Date: 2018-04-11T17:20:26-05:00	[thread overview]
Message-ID: <pam1nb$iv5$1@franka.jacob-sparre.dk> (raw)
In-Reply-To: palsmv$g18$1@gioia.aioe.org

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1284 bytes --]

"J-P. Rosen" <rosen@adalog.fr> wrote in message 
news:palsmv$g18$1@gioia.aioe.org...
> Le 11/04/2018 à 16:32, Dan'l Miller a écrit :
>>> True if Item is a basic letter. A basic letter is a character that
>>> is in one of the ranges 'A'..'Z' and 'a'..'z', or that is one of
>>> the following: 'Æ', 'æ', 'Ð', 'ð', 'Þ', 'þ', or 'ß'.
>> If this Ada-specific definition of this is-basic/base-Latin-letter
>> property is the official normative list, then it seems rather
>> arbitrary and capricious, not conforming to Unicode or to linguistic
>> reality.
>>
>> In Unicode-speak's terminology/jargon, the definition of base
>> character at https://definedterm.com/a/definition/160575 would admit
>> quite a few more, [...]
> The above Is_Basic is about Character, and is defined only when using
> Latin-1. Unicode is a different standard.

Moreover, its definition is historical -- it was defined this way for Ada 
95, and whether or not that would be the correct definition had it been 
defined in 2018 is irrelevant. Changing the definition would potentially 
silently break programs that use it. There are a number of things in 
Ada.Characters.Handling that aren't correct for Unicode purposes, one of 
them is even called out by the third note in A.3.2.

                      Randy.




  reply	other threads:[~2018-04-11 22:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-11  0:52 The extension of Is_Basic to unicode (about AI12-0260-1) ytomino
2018-04-11  3:38 ` J-P. Rosen
2018-04-11  3:52   ` ytomino
2018-04-11 14:32 ` Dan'l Miller
2018-04-11 20:54   ` J-P. Rosen
2018-04-11 22:20     ` Randy Brukardt [this message]
2018-04-11 23:57       ` ytomino
2018-04-12  5:14         ` 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