bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Incorrect IBM870 charmap


From: Petter Reinholdtsen
Subject: Re: Incorrect IBM870 charmap
Date: Thu, 22 Jul 2004 22:35:39 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (usg-unix-v)

[Karel Tomas, 2002-10-17]
> Hello.

Hi.  I guess no-one gave you an answer to your request.  I'm looking
at unhandled locale errors, and found yours.

> In the map mentioned above are incorrectly defined values 0xb6 - 0xba.
> This results to incorrect translation from CZECH code pages like ISO8859-2
> into IBM870.
>
> IBM definition of the mentioned code page can be obtained at
>
> http://www-1.ibm.com/servers/eserver/iseries/software/globalization/
>
> I noticed the problem, when I tested IBM iSeriesODBC driver, whiche was
> unable to update correctly some variants of letters 'z' and 'Z'.
>
> Attached file contains patch, but applying it with patch program issues
> some warning.
>
> --- IBM870      Thu Oct 17 19:14:46 2002
> +++ glibc-2.2.4/localedata/charmaps/IBM870      Mon Jun 26 10:18:02 2000
> @@ -179,11 +179,11 @@
>  <U017C>     /xb2         LATIN SMALL LETTER Z WITH DOT ABOVE
>  <U017B>     /xb4         LATIN CAPITAL LETTER Z WITH DOT ABOVE
>  <U00A7>     /xb5         SECTION SIGN
> -<U017E>     /xb6         LATIN SMALL LETTER Z WITH CARON
> -<U017A>     /xb7         LATIN SMALL LETTER Z WITH ACUTE
> -<U017D>     /xb8         LATIN CAPITAL LETTER Z WITH CARON
> -<U0179>     /xb9         LATIN CAPITAL LETTER Z WITH ACUTE
> -<U0141>     /xba         LATIN CAPITAL LETTER L WITH STROKE
> +<U00B6>     /xb6         PILCROW SIGN
> +<U017E>     /xb7         LATIN SMALL LETTER Z WITH CARON
> +<U017A>     /xb8         LATIN SMALL LETTER Z WITH ACUTE
> +<U017D>     /xb9         LATIN CAPITAL LETTER Z WITH CARON
> +<U0179>     /xba         LATIN CAPITAL LETTER Z WITH ACUTE
>  <U0143>     /xbb         LATIN CAPITAL LETTER N WITH ACUTE
>  <U0160>     /xbc         LATIN CAPITAL LETTER S WITH CARON
>  <U00A8>     /xbd         DIAERESIS

Are you sure this patch is correct.  On the URL given above, I find
<URL:http://www-1.ibm.com/servers/eserver/iseries/software/globalization/pdf/cp00870z.pdf>
for the IBM CP870.  This document lists LATIN SMALL LETTER Z WITH
CARON for 0xb6, and LATIN CAPITAL LETTER L WITH STROKE for 0xba (and
the rest match the original file as well).  It seem to me that the
glibc definition for IBM870 is correct.  Your conversion problem must
have another explanation.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]