[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Incorrect IBM870 charmap
From: |
Karel Tomas |
Subject: |
Re: Incorrect IBM870 charmap |
Date: |
Fri, 23 Jul 2004 15:37:18 +0200 |
Hello.
The patch is right, but it is reversed.
Here is a part from the file before application of the patch, which, as you
can see, is not correct.
<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
The problem itself was corrected very nearly after my submission of this
bug,
In the time, I reported problem, I have had used RedHat version 7 which had
included incorrect version of the file
glibc-2.2.4/localedata/charmaps/IBM870.
When Redhat 8.0 was released, mentioned codepage was corrected, and trouble
was away.
So for now I think there is no need to apply the patch, I have sent you
earlier.
Best regards Karel Tomas
S pozdravem
Karel Tomáš
oddělení IS/IT
Agropol Group, a.s.
Opletalova 1535/4
113 76 Praha 1
Tel.: +420 242 444 118
Fax: +420 242 444 018
Mobil: +420 606 725 630
E-mail: address@hidden
Web: http://www.agropol.cz
Petter Reinholdtsen
<address@hidden> Komu: Karel Tomas
<address@hidden>
Odeslal: Petter Kopie: address@hidden
Reinholdtsen Předmět: Re: Incorrect
IBM870 charmap
<address@hidden
it.uio.no>
22.07.2004 22:35
[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.