New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
perldoc in 5.16.0 required groff upgrade but now misdisplays asterisks #12142
Comments
From @jkeenanCreated by @jkeenanI upgraded from Perl 5.12 or Perl 5.14 to Perl 5.16.0 on three machines ########## called subprograms: GNU grops (groff) version 1.21 Once I completed this upgrade, 'perldoc' worked without generating warnings. ########## =over 4 =item * Given two lists: @Llist = qw(abel abel baker camera delta edward fargo golfer); =item * ########## That is, POD where the '=item' directive is followed by a wordspace and an Now, however, it's representing this as follows: ########## @Llist = qw(abel abel baker camera delta edward fargo golfer); <C2><B7> Get those items which appear at least once in both lists That is, the '*' is being represented by 'perldoc' as '<C2><B7>'. To Perl Info
|
From tchrist@perl.comJames E Keenan (via RT) <perlbug-followup@perl.org> wrote
"\xC2\xB7" is simply the UTF-8 representation of U+00B7 MIDDLE DOT, which I suggest you have something else wrong. But I don't know. I wouldn't use perldoc if you paid me. It works --tom |
The RT System itself - Status changed from 'new' to 'open' |
From @cpansproutOn Sun May 27 20:42:21 2012, jkeen@verizon.net wrote:
It sounds to me as though perldoc is assuming you have a UTF-8 -- Father Chrysostomos |
From @jkeenanOn Sun May 27 21:15:14 2012, tom christiansen wrote:
Neither of those solutions are really satisfactory. pod2text displays the asterisks as asterisks, but, of course, at the pod2text List/Compare/Functional.pm |less ######### (excerpt) @Llist = qw(abel abel baker camera delta edward fargo golfer); * Get those items which appear at least once in both lists (their @intersection = get_intersection( [ \@Llist, \@Rlist ] ); pod2man piped to nroff -man displays the asterisks as open circles, pod2man List/Compare/Functional.pm |nroff -man |less ########## (excerpt) @Llist = qw(abel abel baker camera delta edward fargo golfer); o Get those items which appear at least once in both lists (their @intersection = get_intersection( [ \@Llist, \@Rlist ] ); Thank you very much. |
From @jkeenanOn Sun May 27 22:56:22 2012, sprout wrote:
I have not made any recent changes to my 'locale' settings on these $ locale ... and on Linux I have: $ locale Thank you very much. |
From @LeontOn Mon, May 28, 2012 at 3:04 PM, James E Keenan via RT
Both C and POSIX are ASCII locales, AFAIK, so it seems Father Leon |
From @jkeenanOn Mon May 28 06:25:41 2012, LeonT wrote:
Leon, thanks for your quick response. It's safe to assume that there will be many other people who, when they Since I both upgraded 'perldoc' (via upgrading Perl) *and* upgraded Thank you very much. |
From tchrist@perl.com
Which is what the man program effectively does. Which is what I use. --tom |
From @jkeenanOn Mon May 28 06:02:08 2012, jkeenan wrote:
hilton);
This is also the output I get if I use the older, system 'perldoc', ########## $ perldoc -V $ perldoc -l List::Compare::Functional $ /usr/bin/perldoc `perldoc -l List::Compare::Functional` o Given two lists: @Llist = qw(abel abel baker camera delta edward fargo golfer); o Get those items which appear at least once in both lists (their @intersection = get_intersection( [ \@Llist, \@Rlist ] ) |
From @mrallen1
Yes perldoc makes an implicit assumption (since about November or so) that it is going to process UTF8 data in and send UTF8 data out. Like most assumptions it gets things wrong sometimes. There's already a ticket open in the Hopefully it can go into 5.16.1. Thanks. --Mark via perlbug: queue: perl5 status: open |
From @jkeenanOn Mon May 28 18:47:46 2012, mallen wrote:
https://rt.cpan.org/Ticket/Display.html?id=77465 is still open. In that Thank you very much. |
From @jkeenanOn Sat Oct 20 14:56:25 2012, jkeenan wrote:
I have again posted in the Pod-Perldoc bug queue about this issue. |
From zefram@fysh.org[rt.cpan.org #77465] has been closed without resolving this issue. I have opened [rt.cpan.org #123878] regarding this issue, formulated as Although the problem is located in a CPAN-upstream module, it's serious -zefram |
Migrated from rt.perl.org#113406 (status was 'open')
Searchable as RT113406$
The text was updated successfully, but these errors were encountered: