develooper Front page | perl.perl5.porters | Postings from June 2008

[perl #50950] pod2man needs to translate some ASCII characters

Steve Peters via RT
June 5, 2008 12:13
[perl #50950] pod2man needs to translate some ASCII characters
Message ID:
On Sun Feb 17 17:39:51 2008, wrote:
> This is a bug report for perl from,
> generated with the help of perlbug 1.35 running under perl v5.8.8.
> -----------------------------------------------------------------
> [Please enter your report here]
> Man pages have some weird rules for ASCII characters.
> By default, ` is translated to left single quote rather than
> backtick, and - is translated to hyphen rather than minus.
> A good description of this is in section 2 (Font and Character
> Size Control) in the original Nroff/Troff User's Manual
> <>.
> Pod::Man, and hence pod2man, which generates the Perl man pages
> like perlop doesn't make this translation.
> If your character set if UTF-8, this causes the backticks in the
> perlop man page to appear similar to an apostrophe, and means I
> can't search for the backticks.
> I have tested Perl 5.8.8 and Perl 5.10.

The attached patch was added to the podlators distribution and added to
bleadperl with change #33987.

Thanks! Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About