This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Update Macintosh character maps (bug 23073)
- From: Florian Weimer <fweimer at redhat dot com>
- To: Andreas Schwab <schwab at suse dot de>, libc-alpha at sourceware dot org
- Date: Fri, 20 Apr 2018 12:17:26 +0200
- Subject: Re: [PATCH] Update Macintosh character maps (bug 23073)
- References: <mvm4lk8fzsc.fsf@suse.de>
On 04/18/2018 02:46 PM, Andreas Schwab wrote:
diff --git a/localedata/charmaps/MAC-UK b/localedata/charmaps/MAC-UK
index f9da2dda35..a3d278011c 100644
--- a/localedata/charmaps/MAC-UK
+++ b/localedata/charmaps/MAC-UK
@@ -259,5 +259,5 @@ CHARMAP
<U044C> /xfc CYRILLIC SMALL LETTER SOFT SIGN
<U044D> /xfd CYRILLIC SMALL LETTER E
<U044E> /xfe CYRILLIC SMALL LETTER YU
-<U00A4> /xff CURRENCY SIGN
+<U20AC> /xff EURO SIGN
END CHARMAP
I'm checking these changes against Darwin 17.5.0 (from March 2018).
The MacOS equivalent is called MacUkraine. It matches the current
mapping, so the change above is incorrect. It also appears to be
semantically wrong.
diff --git a/localedata/charmaps/MACINTOSH b/localedata/charmaps/MACINTOSH
index b826dc944f..86d732fb63 100644
--- a/localedata/charmaps/MACINTOSH
+++ b/localedata/charmaps/MACINTOSH
@@ -204,7 +204,7 @@ CHARMAP
<U221A> /xc3 SQUARE ROOT
<U0192> /xc4 LATIN SMALL LETTER F WITH HOOK
<U2248> /xc5 ALMOST EQUAL TO
-<U0394> /xc6 GREEK CAPITAL LETTER DELTA
+<U2206> /xc6 INCREMENT
<U00AB> /xc7 LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
<U00BB> /xc8 RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
<U2026> /xc9 HORIZONTAL ELLIPSIS
@@ -246,7 +246,7 @@ CHARMAP
<U00CC> /xed LATIN CAPITAL LETTER I WITH GRAVE
<U00D3> /xee LATIN CAPITAL LETTER O WITH ACUTE
<U00D4> /xef LATIN CAPITAL LETTER O WITH CIRCUMFLEX
-<UE01E> /xf0 APPLE LOGO (Macintosh_F0)
+<UF8FF> /xf0 APPLE LOGO (Macintosh_F0)
<U00D2> /xf1 LATIN CAPITAL LETTER O WITH GRAVE
<U00DA> /xf2 LATIN CAPITAL LETTER U WITH ACUTE
<U00DB> /xf3 LATIN CAPITAL LETTER U WITH CIRCUMFLEX
This change aligns our table with the one in MacOS (called Macintosh
there), so you can commit it.
I'm still checking the other changes.
Thanks,
Florian