[PATCH] Update Macintosh character maps (bug 23073)

Florian Weimer fweimer@redhat.com
Fri Apr 20 11:22:00 GMT 2018


On 04/18/2018 02:46 PM, Andreas Schwab wrote:
> diff --git a/localedata/charmaps/MAC-CYRILLIC b/localedata/charmaps/MAC-CYRILLIC
> index 482cfd4691..32463f2be4 100644
> --- a/localedata/charmaps/MAC-CYRILLIC
> +++ b/localedata/charmaps/MAC-CYRILLIC
> @@ -2,7 +2,6 @@
>   <comment_char> %
>   <escape_char> /
>   
> -% alias CP10007
>   CHARMAP
>   <U0000>     /x00         NULL
>   <U0001>     /x01         START OF HEADING
> @@ -166,7 +165,7 @@ CHARMAP
>   <U042F>     /x9f         CYRILLIC CAPITAL LETTER YA
>   <U2020>     /xa0         DAGGER
>   <U00B0>     /xa1         DEGREE SIGN
> -<U00A2>     /xa2         CENT SIGN
> +<U0490>     /xa2         CYRILLIC CAPITAL LETTER GHE WITH UPTURN

MacOS, in MacCyrillic on Darwin 17.5.0 keeps the cent sign.

> @@ -259,5 +258,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

It also keeps the international currency sign.

There is a further discrepancy:

-<U0491>     /xb6
+<U2202>     /xb6

We use CYRILLIC SMALL LETTER GHE WITH UPTURN, they have PARTIAL 
DIFFERENTIAL.  This is related to the first difference.

With your patch, MAC-CYRILLIC and MAC-UK are identical.  I think should 
keep the separation, like in MacOS does.

Thanks,
Florian



More information about the Libc-alpha mailing list