Skip to content

Unicode issue reporting #11

@szabgab

Description

@szabgab

my $rule = Path::Iterator::Rule->new;
$rule->contents_match(qr/Perl/);
my $it = $rule->iter( @argv );
while ( my $file = $it->() ) {
say $file;
}

and I get tons of errors like this:

utf8 "\xC6" does not map to Unicode at /home/gabor/perl-5.18.0-desktop/lib/site_perl/5.18.0/Path/Iterator/Rule.pm line 500.

It would be probably better to report the file name and line number in the data files that generate this. At least optionally.

Using v1.005 on perl 5.18.0 on Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions