[Libguestfs] [PATCH 1/3] perl: Add =encoding to Sys::Guestfs man page.

Richard W.M. Jones rjones at redhat.com
Fri Mar 31 09:32:22 UTC 2017


Otherwise the man page cannot contain any non-7-bit-ASCII characters.

The test error seen was:

Wide character in print at /usr/share/perl5/vendor_perl/Test2/Formatter/TAP.pm line 112.
t/910-pod.t ................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
---
 generator/perl.ml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/generator/perl.ml b/generator/perl.ml
index 3a87f1634..d1b4763b8 100644
--- a/generator/perl.ml
+++ b/generator/perl.ml
@@ -664,6 +664,8 @@ and generate_perl_pm () =
   generate_header HashStyle LGPLv2plus;
 
   pr "\
+=encoding utf8
+
 =pod
 
 =head1 NAME
-- 
2.12.0




More information about the Libguestfs mailing list