in reply to Very weird things when printing (may be an encoding issue?)
Use perl -MData::Dump -MFile::Slurp -e " dd scalar read_file shift, { qw/ binmode :raw / }; " AnyKindOfInputFile > ThatFilesBytesAsPerlAsciiCode.pl to generate sample data to post to perlmonks