bug-gnu-libiconv
[Top][All Lists]
Advanced

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

[bug-gnu-libiconv] iconv fails converting 0xCC in EBCDIC-AT-DE charset.


From: Roland Tapken
Subject: [bug-gnu-libiconv] iconv fails converting 0xCC in EBCDIC-AT-DE charset.
Date: Tue, 04 Nov 2014 16:46:28 +0100
User-agent: KMail/4.13.3 (Linux/3.16.3-ck2rt2; KDE/4.13.3; x86_64; ; )

Hallo,

while converting RPG scripts from an IBM's iSeries I found a converting error.

See the following Base64-encoded line from an RPG script with EBCDIC 1141 
charset:

QEBAQEBAXMSBo6SUQEBAQEBAzEDBpKOWmUBAQEBAQEBAQEBAzE
DChaKDiJmFiYKklYdAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBA
QEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQA==

In ISO-8859-1 this reads:

      *Datum      ¦ Autor           ¦ Beschreibung 

But iconv (Version "(Ubuntu EGLIBC 2.19-0ubuntu6.3) 2.19") fails to convert ¦ 
from EBCDIC 1141 (0xCC) to ISO-8859-1 (0xA6):

$ echo QEBAQEBAXMSBo6SUQEBAQEBAzEDBpKOWmUBAQEBAQEBAQEBAzE\
DChaKDiJmFiYKklYdAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBA\
QEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQA== | base64 -d | 
iconv -f EBCDIC-AT-DE -t ISO-8859-1
      *Datum      iconv: illegal input sequence at position 18

Best regards,

Roland Tapken
--
__________________________________________
Tasmiro GmbH

Telefon:        +49-541-915 38 93 1
Telefax:        +49-541-915 38 93 9
E-Mail: address@hidden
Web:    www.tasmiro.de
Anschrift:      Ruppenkampstr. 12, 49084 Osnabrück
Registergericht:
        Amtsgericht Osnabrück, HRB 206202
Geschäftsführer
& Gesellschafter:   
        Roland Tapken, Alice Tapken
__________________________________________

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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