http://www.perlmonks.org?node_id=1039073


in reply to How to Fix Character Encoding Damaged Text Using Perl?

You often keep such text -- without a newline -- in a file on its own?


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re: How to Fix Character Encoding Damaged Text Using Perl?

Replies are listed 'Best First'.
Re^2: How to Fix Character Encoding Damaged Text Using Perl?
by Jim (Curate) on Jun 15, 2013 at 21:01 UTC

    I work in digital forensics and electronic discovery. In the real world, sh*t happens. I often have to wrestle with damaged evidence of all kinds. Ignoring it is not an option. But I can't just ask the bad guys to recreate the incriminating evidence for me—this time, please, without all the nasty character encoding damaged text in it.

    So, yes, I often keep such text without a newline in a file on its own.