Subject: | t/JPEG_p_podchecker.t fails because of non-ASCII characters in POD |
I get the following error when I run the tests:
t/JPEG_p_podchecker.t ...... # Checking documentation syntax with Pod::Checker
*** ERROR: Non-ASCII character seen before =encoding in 'M?ller'. Assuming ISO8859-1 at line 1544 in file lib/Image/MetaData/JPEG.pod
t/JPEG_p_podchecker.t ...... 1/4
# Failed test 'Checking lib/Image/MetaData/JPEG.pod'
# at t/JPEG_p_podchecker.t line 26.
# got: '1'
# expected: '0'
*** ERROR: Non-ASCII character seen before =encoding in 'Comit?'. Assuming ISO8859-1 at line 633 in file lib/Image/MetaData/JPEG/Structures.pod
# Failed test 'Checking lib/Image/MetaData/JPEG/Structures.pod'
# at t/JPEG_p_podchecker.t line 26.
# got: '1'
# expected: '0'
# Looks like you failed 2 tests of 4.
t/JPEG_p_podchecker.t ...... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/4 subtests
Applying the attached patches silences the errors. The POD still renders strangely, though. I have marked this "Unimportant" because the failure is clearly not related to module functionality, and the install can always be forced.
I am running:
Perl 5.18.1
Pod::Checker 1.70
OS Darwin 12.5.0 (Mac OS 10.8.5)
Subject: | Image-MetaData-JPEG-Structures-pod.patch |
--- lib/Image/MetaData/JPEG/Structures.old 2006-05-13 07:18:50.000000000 -0400
+++ lib/Image/MetaData/JPEG/Structures.pod 2013-09-29 00:21:40.000000000 -0400
@@ -10,6 +10,8 @@
# type "perldoc <name_of_this_file>". #
###########################################################
+=encoding iso-8859-1
+
=head1 NAME
Image::MetaData::JPEG::Structures - This document describes the structure
Subject: | Image-MetaData-JPEG-pod.patch |
--- lib/Image/MetaData/JPEG.old 2006-05-14 13:26:55.000000000 -0400
+++ lib/Image/MetaData/JPEG.pod 2013-09-29 00:20:58.000000000 -0400
@@ -10,6 +10,8 @@
# type "perldoc <name_of_this_file>". #
###########################################################
+=encoding iso-8859-1
+
=head1 NAME
Image::MetaData::JPEG - Perl extension for showing/modifying JPEG (meta)data.