Bug#787826: libhtml-parser-perl: example of encode_entities() in manual miss the entities to encode = pod2man needs --utf8 arg

Mathieu Roy yeupou at gnu.org
Fri Jun 5 12:56:50 UTC 2015


Package: libhtml-parser-perl
Version: 3.71-1+b3
Severity: minor

As described in bug #787821,

man HTML::Entities gives as example 

       For example, this:

        $input = "vis-a-vis Beyonce's naieve\npapier-mache resume";
        print encode_entities($input), "\n"

As pointed out by Damyan Ivanov

perldoc HTML::Entities gives proper

    For example, this:

     $input = "vis-à-vis Beyoncé's naïve\npapier-mâché résumé";
     print encode_entities($input), "\n"

and the issue is probably the missing --utf8 argument for pod2man command since

pod2man --utf8 /usr/lib/x86_64-linux-gnu/perl5/5.20/HTML/Entities.pm     |   man -l -

gives the proper string with accents.

Regards,



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/6 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages libhtml-parser-perl depends on:
ii  libc6                       2.19-18
ii  libhtml-tagset-perl         3.20-2
ii  liburi-perl                 1.64-1
ii  perl                        5.20.2-6
ii  perl-base [perlapi-5.20.1]  5.20.2-6

libhtml-parser-perl recommends no packages.

Versions of packages libhtml-parser-perl suggests:
pn  libdata-dump-perl  <none>

-- no debconf information



More information about the pkg-perl-maintainers mailing list