Arthur H Bahrs wrote:
> Hi All You Gurus of Old Data Protocols :)
> Ok... I have EBCDIC and need ASCII, and it is on a unix box...
>
> What magic incantation can I say to convert from EBCDIC to ASCII? (why
> yes... I have tried SFA on the Altar of the CPU !! hehehe)
>
> We have lots of tools... platforms and other stuff ... so lets get
> creative on suggestions :) PLEASE!!!
There's a Perl module:
> NAME
> Encode::EBCDIC - EBCDIC Encodings
>
> SYNOPSIS
> use Encode qw/encode decode/;
> $posix_bc = encode("posix-bc", $utf8); # loads Encode::EBCDIC implicitly
> $utf8 = decode("", $posix_bc); # ditto
>
> ABSTRACT
> This module implements various EBCDIC-Based encodings. Encodings supported are as follows.
>
> Canonical Alias Description
> --------------------------------------------------------------------
> cp37
> cp500
> cp875
> cp1026
> cp1047
> posix-bc
Jeff
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *