Bug#840211: perlunicook man page does not display utf8 char beyond ascii

Dominique Dumont dod at debian.org
Sun Oct 9 15:30:23 UTC 2016


Package: perl
Version: 5.24.1~rc3-3
Severity: normal

Dear Maintainer,

In perlunicook man page, non-ASCII utf-8 char are replaced by 'X'
(which is a shame on a man page dealing with unicode and utf8 issue):

Compare:

  $ man perlunicook | grep -A 4 '$measure'
        my $measure   = "Aangstroem";
        my @Xsoft     = qw( cp852 cp1251 cp1252 );
        my @XXXXXXXXX = qw( XXXX  XXXXX );
        my @X        = qw( koi8-f koi8-u koi8-r );
        my $motto     = "X X X"; # FAMILY, GROWING HEART, DROMEDARY CAMEL


with:

  $ perldoc perlunicook | grep -A 4 '$measure'
     my $measure   = "Ångström";
     my @μsoft     = qw( cp852 cp1251 cp1252 );
     my @ὑπέρμεγας = qw( ὑπέρ  μεγας );
     my @鯉        = qw( koi8-f koi8-u koi8-r );
     my $motto     = "👪 💗 🐪"; # FAMILY, GROWING HEART, DROMEDARY CAMEL

Turns out that /usr/share/man/man1/perlunicook.1.gz does not contain utf8 char.

I guess that this file was generated by pod2man without --utf8 option.

Could you please fix the generation of these man pages ?

All the best



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

Kernel: Linux 4.7.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages perl depends on:
ii  dpkg               1.18.10
ii  libperl5.24        5.24.1~rc3-3
ii  perl-base          5.24.1~rc3-3
ii  perl-modules-5.24  5.24.1~rc3-3

Versions of packages perl recommends:
ii  netbase  5.3
ii  rename   0.20-4

Versions of packages perl suggests:
ii  libterm-readline-gnu-perl   1.34-1+b1
ii  libterm-readline-perl-perl  1.0303-1
ii  make                        4.1-9
ii  perl-doc                    5.24.1~rc3-3

-- no debconf information




More information about the Perl-maintainers mailing list