in reply to Re: disable warnings: utf8 "\x8E" does not map to Unicode
in thread disable warnings: utf8 "\x8E" does not map to Unicode

Undo the double encoding

That is the first thing I tried, among various permutations which didn't work, it wasn't exactly double-encoded , the clipboard may have been involved. I even tried fix_latin but nothing worked quite right, other than manual intervention.

Anyway, I'm more interested in silencing the warning, surely it has to be possible

  • Comment on Re^2: disable warnings: utf8 "\x8E" does not map to Unicode

Replies are listed 'Best First'.
Re^3: disable warnings: utf8 "\x8E" does not map to Unicode
by Anonymous Monk on Feb 10, 2012 at 16:50 UTC
    When calling Encode::decode, pass Encode::FB_DEFAULT as third parameter.

    See chapter "Handling Malformed Data" in the Encode documentation.

      Huh? I'm using open my($fh), '<:encoding(UTF-8)', ...