-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
Description
Symptom:
$ perl t/05_basic.t
not ok 1 - use Levenshtein::Simple;
# Failed test 'use Levenshtein::Simple;'
# at t/05_basic.t line 18.
# Tried to use 'Levenshtein::Simple'.
# Error: Can't decode ill-formed UTF-8 octet sequence <D0>
at /Users/helmut/perl5/perlbrew/perls/perl-5.32.0/lib/site_perl/5.32.0/Path/Tiny.pm
line 1801.
The error message could be more user friendly like:
File 'lib/Levenshtein/Simple.pm' does not pass Standard Perl.
Decoding error::
> ill-formed UTF-8 octet sequence <D0>: at line 852, column 62
Of course this would need to use Encode::decode() directly instead of Path::Tiny::slurp.
Reactions are currently unavailable