Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I had corrupted a UTF-8 file ( treated it as Windows-1252 in scite and hit save, then went and treated it as UTF-8 again )
Now reading the file as UTF I get many warnings like
utf8 "\xE1" does not map to Unicode at junk line 8, <$in> line 13642.
How do I disable these warnings? This doesn't work :) no warnings 'utf8';
It would be nice if I could pragmatically restore this file, but its not a priority, the corrupted chars were mostly punctuation
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: disable warnings: utf8 "\x8E" does not map to Unicode
by Anonymous Monk on Feb 10, 2012 at 14:46 UTC | |
by Anonymous Monk on Feb 10, 2012 at 15:33 UTC | |
by Anonymous Monk on Feb 10, 2012 at 16:50 UTC | |
by Anonymous Monk on Feb 10, 2012 at 16:58 UTC | |
|
Re: disable warnings: utf8 "\x8E" does not map to Unicode
by Eliya (Vicar) on Feb 10, 2012 at 18:03 UTC | |
by choroba (Cardinal) on Feb 10, 2012 at 22:03 UTC | |
|
Re: disable warnings: utf8 "\x8E" does not map to Unicode
by ww (Archbishop) on Feb 10, 2012 at 14:51 UTC |