summaryrefslogtreecommitdiff
path: root/debian/patches/debian/installman-utf8.diff
blob: 2da23b7a5b01dd469e0fea04ac65bf2aa566461f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From: Niko Tyni <ntyni@debian.org>
Date: Sat, 19 Nov 2016 21:30:46 +0200
Subject: Generate man pages with UTF-8 characters

This fixes totally incorrectly rendered manual pages like
perlunicook and perltw.

TODO: should probably be a Configure option for proper upstreaming.

Bug-Debian: https://bugs.debian.org/840211
---
 installman | 1 +
 1 file changed, 1 insertion(+)

diff --git a/installman b/installman
index 0154be4..fff0ff0 100755
--- a/installman
+++ b/installman
@@ -161,6 +161,7 @@ sub pod2man {
 	$manpage = "${mandir}/${manpage}.${manext}";
 
         my $parser = Pod::Man->new( section => $manext,
+                                    utf8    => 1,
                                     official=> 1,
                                     center  => 'Perl Programmers Reference Guide'
                                   );