On Mar 26, 5:24 pm, "t3ch.dude" <t3ch.d... / gmail.com> wrote:

> irb(main):001:0> readable = "\0\1ALf\3=".unpack('H*')
> => ["0001414c66033d"]
> irb(main):002:0> original = readable.pack('H*')
> => "\000\001ALf\003="

Concise, but the resulting string is longer than I would prefer.

Thanks though,
T.