in reply to Re: By the shine on my bald pate, I dislike this encoding stuff
in thread By the shine on my bald pate, I dislike this encoding stuff
This doesn't explain why it doesn't work but OK, thanks, I have added:
use Encode::Guess; my $decoder = Encode::Guess->guess($filedata); # default detectable e +ncodings include utf8. return(@err, "Can't guess encoding: $decoder") unless ref($decoder);
This is still no good as it fails for all files, ANSII and UTF-8 with error
Can't guess encoding: Empty string, empty guess.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: By the shine on my bald pate, I dislike this encoding stuff
by poj (Abbot) on Mar 04, 2018 at 09:01 UTC | |
by jfrm (Monk) on Mar 04, 2018 at 11:23 UTC | |
by poj (Abbot) on Mar 04, 2018 at 14:29 UTC |
In Section
Seekers of Perl Wisdom