Basic Latin digits, not everything else (was: RE: How the C programming language bridges the man-machine gap)
jr at qsm.co.il
Mon Apr 18 12:57:25 CDT 2022
The Arabic-Hindi digits, 0660 to 0669, and 06F0 to 06F9, also have this property. Maybe the C standard should be updated.
From: Unicode <unicode-bounces at corp.unicode.org> On Behalf Of Doug Ewell via Unicode
Sent: Monday, April 18, 2022 8:42 PM
To: 'Hans Åberg' <haberg-1 at telia.com>
Cc: 'Marius Spix' <marius.spix at web.de>; 'Roger L Costello via Unicode' <unicode at corp.unicode.org>
Subject: RE: Basic Latin digits, not everything else (was: RE: How the C programming language bridges the man-machine gap)
Hans Åberg wrote:
>> I think it's abundantly clear that the C standard, specifically "the
>> above list of decimal digits," applies to the Basic Latin digits
>> U+0030 through U+0039, and not to superscript digits, subscript
>> digits, negative circled digits, mathematical sans-serif bold digits,
>> or any other digits encoded in Unicode.
> The standard only says that from the point of view of C that those
> should be available, not how they should be represented.
The superscript European digits are not the same characters as the regular, full-size European digits, by either Unicode's definition of "same" or that of any other character encoding standard. Thus the C standard is only talking about 0123456789, not ⁰¹²³⁴⁵⁶⁷⁸⁹.
Doug Ewell, CC, ALB | Lakewood, CO, US | ewellic.org
More information about the Unicode