in reply to Re: Translating non-printable ascii
in thread Translating non-printable ascii
I apologize, but I'm not sure I understand what your script is doing. I need to translate the other way. I need to turn ASCII 0x80 into "00", instead of the other way around. Or maybe I'm not understanding your answer. Here's a better example of what I'm trying to accomplish
I need to turn (ascii characters in curly braces):
MO{ASCII 0x81}B{ASCII 0x8D}CAJ{ASCII 0xA3}
into:
MO01B12CAJ32
Does that explain it better?
--
perl: code of the samurai
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Translating non-printable ascii
by Roy Johnson (Monsignor) on Oct 04, 2004 at 17:31 UTC |