in reply to Tie::File failing with Unicode/UTF-8 encoding?

Update: how do I make the PerlMonks web site show the foreign fonts, instead of the HEX?

You can't, sorry

The good news is you don't really need to :) simply post proper Dumps ;)

perl -MData::Dump -MFile::Slurp -e " dd scalar read_file shift, { qw/ binmode :raw / }; " input.txt > input_txt_as_perl.pl

  • Comment on Re: Tie::File failing with Unicode/UTF-8 encoding?