Thank you! I'd read that binmode wasn't needed on *nix systems -- apparently, I over interpreted what I read. Seems that what I needed was a combination of undef $/; and binmode(INFILE); and then $plaintext = <INFILE>. Binmode was
also needed for the output file.
thank you, thank you, thank, you!
j.