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

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

From:
Steve Peters via RT
Date:
June 5, 2008 12:13
Subject:
[perl #50950] pod2man needs to translate some ASCII characters
Message ID:
rt-3.6.HEAD-11257-1212693169-1413.50950-15-0@perl.org
On Sun Feb 17 17:39:51 2008, mikel@mikelward.com wrote:
> This is a bug report for perl from mikel@mikelward.com,
> 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
> <http://heirloom.sourceforge.net/doctools/troff.pdf>.
> 
> 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!



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About