hex to ebcdic
- From: roch77@xxxxxxxxx
- Date: Fri, 29 Jun 2007 10:30:54 -0700
hi,
I have a string of hex that represent ebcdic characters. Is there a
way that I can do the following in perl.
hex string = "f1f2d7d9f0"
the result I want = "12PR0"
result. ie: f1 => 1, f2 => 2, d7 =>P etc..From looking up a ascii/hex/ebcdic table, I was able to arrive at the
Is there a perl function that will do this?
(I don't want to code the entire lookup table if I don't have to).
I am doing this in linux if that matters.
thanks
.
- Follow-Ups:
- Re: hex to ebcdic
- From: Gunnar Hjalmarsson
- Re: hex to ebcdic
- From: l v
- Re: hex to ebcdic
- Prev by Date: Re: Problem with PERL function
- Next by Date: Re: best Excel module
- Previous by thread: portable /dev/null ?
- Next by thread: Re: hex to ebcdic
- Index(es):
Relevant Pages
|
|