develooper Front page | perl.perl5.porters | Postings from January 2012

Re: [perl #79410] Pod2man creates wrong ROFF esc sequences for Latin-1characters.

Thread Previous | Thread Next
From:
Joaquín Ferrero
Date:
January 7, 2012 12:26
Subject:
Re: [perl #79410] Pod2man creates wrong ROFF esc sequences for Latin-1characters.
Message ID:
4F08AA77.9000208@joaquinferrero.com
El 07/01/12 03:35, James E Keenan via RT escribió:
> On Thu Nov 18 13:50:04 2010, waterlan@xs4all.nl wrote:
>> This is a bug report for perl from waterlan@xs4all.nl,
>> generated with the help of perlbug 1.39 running under perl 5.10.1.
>>
>
>>
>> I have a pod file encoded in Latin-1. The 8-bit Latin-1 characters
>> are converted wrongly to ROFF.
>>
>> For instance an a-accute is translated to
>>    \*'
>> while it should be
>>    \['a]
>>
>> An e with dieresis is translated to \*: instead of \[:e]
>>
>> In fact all characters with dieresis are translated to \*:
>> and all characters with accute to \*'
>> and with grave to \*`
>> and so on.
>>
>> best regards,
>>
>> Erwin Waterlander
>>
>> PS
>> I have never used perlbug before, I hope I can attach a
>> file after this.
>> ...
>> Sending mail with perlbug failed. I'm now sending with Thunderbird and
>> attach a test case.
>>
>>
>
> Since Pod::Man, as part of podlators, is now maintained on CPAN, I have
> entered this issue into that distribution's bug queue:
>
> https://rt.cpan.org/Public/Bug/Display.html?id=73804
>
> Should we close this ticket?
>
> Thank you very much.
> Jim Keenan
>
> ---
> via perlbug:  queue: perl5 status: new
> https://rt.perl.org:443/rt3/Ticket/Display.html?id=79410

I use this while pod2man is removed:

Insert this line into $HOME/.bashrc file:

export PERLDOC="-n \"perl -pe 'next if 1 .. /^[.]nh/; s{\(.\)\\\\\\\\\\\\\*\([:~,\\\\047]\)}{\\\\\\\(\$2\$1}g' \| nroff -c \""



-- 
JF^D

Thread Previous | Thread Next


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