Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Test-Mojibake CPAN distribution.

Report information
The Basics
Id: 88844
Status: rejected
Priority: 0/
Queue: Test-Mojibake

People
Owner: Nobody in particular
Requestors: ether [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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)
see github - the problem was with my data generation, where some text was coming out as latin1 rather than the intended utf8.