Skip Menu |
 

This queue is for tickets about the Pod-Perldoc CPAN distribution.

Report information
The Basics
Id: 98019
Status: resolved
Priority: 0/
Queue: Pod-Perldoc

People
Owner: Nobody in particular
Requestors: k [...] obuk.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 3.22_02
Fixed in: 3.23_01

Attachments


Subject: Pod::Perldoc supports utf8 strings partially
Date: Thu, 14 Aug 2014 23:42:50 +0900 (JST)
To: bug-Pod-Perldoc [...] rt.cpan.org
From: KUBO Koichi <k [...] obuk.org>
Download (untitled) / with headers
text/plain 686b
Hi, Perldoc is very convenient, and I use every day. But it may return incorrect result recently. I've tried the following commands with Pod-Perldoc-3.23. perldoc -L JA -u -f 'scalar' # ok perldoc -L JA -u -a 'SvPV' # ok perldoc -L JA -u -v '$_' # not ok perldoc -L JA -u -f 'qq' # not ok perldoc -L JA -u -q 'perl' # not ok It looks to just like not calling the binmode simply. Could you add calling binmode on the file handles as follows. binmode(PVAR, ":utf8"); # search_perlvar binmode(PERLOP, ":utf8"); # search_perlop binmode(INFAQ, ":utf8"); # search_perlfaqs POD2::JA - https://github.com/obuk/POD2-JA thanks.
Download (untitled) / with headers
text/plain 418b
On Thu Aug 14 16:20:13 2014, k@obuk.org wrote: Show quoted text
> Could you add calling binmode on the file handles as follows. > > binmode(PVAR, ":utf8"); # search_perlvar > binmode(PERLOP, ":utf8"); # search_perlop > binmode(INFAQ, ":utf8"); # search_perlfaqs
Hi! Thanks for the very helpful bug report. Yes, I will get this fixed in a future release. (Hopefully sometime this weekend.) Thanks again, Mark
Subject: Re: [rt.cpan.org #98019] Pod::Perldoc supports utf8 strings partially
Date: Fri, 15 Aug 2014 10:24:37 +0900 (JST)
To: bug-Pod-Perldoc [...] rt.cpan.org
From: KUBO Koichi <k [...] obuk.org>
Download (untitled) / with headers
text/plain 144b
Hi, I added the test script. Please use it if necessary. * https://github.com/obuk/POD2-JA/blob/master/t/pod-perldoc-98019.t thanks, Koichi
Download (untitled) / with headers
text/plain 304b
On Thu Aug 14 21:24:52 2014, k@obuk.org wrote: Show quoted text
> Hi, > > I added the test script. Please use it if necessary. > > * https://github.com/obuk/POD2-JA/blob/master/t/pod-perldoc-98019.t
Thanks - I just put 3.23_01 on CPAN, so please give that a try and let me know how it goes. I think it should work.
Subject: Re: [rt.cpan.org #98019] Pod::Perldoc supports utf8 strings partially
Date: Sun, 17 Aug 2014 07:00:22 +0900 (JST)
To: bug-Pod-Perldoc [...] rt.cpan.org
From: KUBO Koichi <k [...] obuk.org>
Download (untitled) / with headers
text/plain 565b
Show quoted text
>>>>> "Mark Allen via RT" <bug-Pod-Perldoc@rt.cpan.org> wrote:
> <URL: https://rt.cpan.org/Ticket/Display.html?id=98019 > > > Thanks - I just put 3.23_01 on CPAN, so please give that a try and > let me know how it goes.
Prove the test, and the output is as follows: $ prove -v pod-perldoc-98019.t pod-perldoc-98019.t .. ok 1 - use POD2::JA; ok 2 - perldoc -L ja -u -f scalar ok 3 - perldoc -L ja -u -a SvPV ok 4 - perldoc -L ja -u -v $_ ok 5 - perldoc -L ja -u -f qq ok 6 - perldoc -L ja -u -q perl 1..6 ok Thanks for the quick turnaround.
Subject: Re: [rt.cpan.org #98019] Resolved: Pod::Perldoc supports utf8 strings partially
Date: Tue, 19 Aug 2014 22:13:26 +0900 (JST)
To: bug-Pod-Perldoc [...] rt.cpan.org
From: KUBO Koichi <k [...] obuk.org>
Download (untitled) / with headers
text/plain 484b
Show quoted text
>>>>> "Mark Allen via RT" <bug-Pod-Perldoc@rt.cpan.org> wrote:
> <URL: https://rt.cpan.org/Ticket/Display.html?id=98019 > > > According to our records, your request has been resolved. If you have any > further questions or concerns, please respond to this message.
Hi Mark, I tested some pod files that has not been converted to utf8. And I've found the 3.23_01 that not to parse the line =encoding other than utf8 yet. Please check the patch uuencoded follows. thanks, koichi
Download Pod-Perldoc-3.23.patch.gz
application/octet-stream 1.4k

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #98019] Resolved: Pod::Perldoc supports utf8 strings partially
Date: Wed, 20 Aug 2014 22:16:03 +0900 (JST)
To: bug-Pod-Perldoc [...] rt.cpan.org
From: KUBO Koichi <k [...] obuk.org>
Download (untitled) / with headers
text/plain 462b
Show quoted text
>>>>>> "Mark Allen via RT" <bug-Pod-Perldoc@rt.cpan.org> wrote:
>> <URL: https://rt.cpan.org/Ticket/Display.html?id=98019 > >> >> According to our records, your request has been resolved. If you have any >> further questions or concerns, please respond to this message.
Hi, I made the commit in github instead of the patch for Pod-Perldoc-3.24. * https://github.com/obuk/Pod-Perldoc/commit/819d1cd Please discard the patch uuencoded before. thanks, Koichi
Download (untitled) / with headers
text/plain 280b
On Wed Aug 20 09:16:20 2014, k@obuk.org wrote: Show quoted text
> I made the commit in github instead of the patch for Pod-Perldoc-3.24. > > * https://github.com/obuk/Pod-Perldoc/commit/819d1cd
Thanks for the patch. I took your idea and used it to make some functions. It's on CPAN as 3.24_01


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.