Encoding/decoding

Mark Fowler mark at twoshortplanks.com
Tue Mar 30 14:25:19 BST 2010


On Tue, Mar 30, 2010 at 1:54 PM, Jurgen Pletinckx
<jurgen.pletinckx at gmail.com> wrote:

> But that's not my actual problem, just the illustration. My actual problem
> is: I have a metric ton of data that looks like the chewed-up example B
> above.

It's very hard for anyone to work out the solution to this unless we
know *exactly* what is in the files, not how it's being rendered.

What's the exact bytes stored in the files?  Or more bluntly, what
does this print:

perl -e 'use Devel::Peek; open my $fh, "<:bytes", "filename" or die
$!; undef $/; Dump <$fh>'

Mark.


More information about the london.pm mailing list