Subject: | Should not fail when finding utf8 chars only in pod |
I have a .pm file with pod that looks like this:
=pod
=encoding utf-8
=for :stopwords Jerome Quelin Ahmad Jesse Luehrs Karen Etheridge Kent Fredric Marcel
Gruenauer Olivier M. Mengué Peter Shangov Randy Stauner Ricardo SIGNES
fayland Zawawi Chris Weyl Graham Knop Harley Pig cpantesters FileFinder
executables
...
=head1 CONTRIBUTORS
=over 4
=item *
Olivier Mengué <dolmen@cpan.org>
...
There is no 'use utf8' directive in the code. My understanding of perlpodspec
is that a BOM is sufficient for signalling how the pod should be parsed, and
therefore this error is not valid:
xt/release/mojibake.t ............. 1/2
# Failed test 'Mojibake test for blib/lib/Dist/Zilla/Plugin/Test/Compile.pm'
# at /Users/ether/.perlbrew/libs/19.3@std/lib/perl5/Test/Mojibake.pm line 168.
# Non-UTF-8 unexpected in blib/lib/Dist/Zilla/Plugin/Test/Compile.pm, line 188 (POD)