HP3000-L Archives

August 2007, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Jeff Kell <[log in to unmask]>
Reply To:
Jeff Kell <[log in to unmask]>
Date:
Tue, 7 Aug 2007 14:09:27 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (37 lines)
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 *

ATOM RSS1 RSS2