[PATCH] Update Macintosh character maps (bug 23073)

Florian Weimer fweimer@redhat.com
Fri Apr 20 10:17:00 GMT 2018


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



More information about the Libc-alpha mailing list