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 does not show POD in UTF-8 properly #10714
Comments
From kappa@cpan.orgCreated by kappa@cpan.orgThis is a bug report for perl from kappa@cpan.org, ----------------------------------------------------------------- There should be a way to specify pod2man arguments. Perl Info
|
From @jmdhOn Mon Oct 11 03:57:02 2010, kappa@cpan.org wrote:
I've attached a patch from Niko Tyni to add --utf8 to the invocation of <http://rt.cpan.org/Public/Bug/Display.html?id=39000> but since |
From @jmdh492037.patchMake /usr/bin/perldoc invoke pod2man with the "--utf8" option if it detects a new enough Pod::Man version. (Closes: #492037)
diff --git a/lib/Pod/Perldoc/ToMan.pm b/lib/Pod/Perldoc/ToMan.pm
index 4319122..f697e5c 100644
--- a/lib/Pod/Perldoc/ToMan.pm
+++ b/lib/Pod/Perldoc/ToMan.pm
@@ -60,6 +60,10 @@ sub parse_from_file {
unless -e $pod2man;
}
+ eval { require Pod::Man };
+ $switches .= " --utf8"
+ if (!$@ && $Pod::Man::VERSION >= 2.18);
+
my $command = "$pod2man $switches --lax $file | $render -man";
# no temp file, just a pipe!
|
The RT System itself - Status changed from 'new' to 'open' |
From @cpansproutOn Fri May 27 07:24:23 2011, dom wrote:
From that CPAN ticket:
Is there any way to detect whether the nroff implementation supports it? Shouldn’t we also be checking for a UTF-8 locale? On Macs, one can |
From @jkeenanOn Sun May 29 14:01:22 2011, sprout wrote:
The still open ticket in the rt.cpan queue indicates that there are https://rt.cpan.org/Public/Bug/Display.html?id=39000#txn-999837 |
From @tonycozOn Sun Jan 29 10:04:02 2012, jkeenan wrote:
Is this still a problem on your Mac? The [cpan #39000] has been closed. I've marked the patch itself as rejected. Tony |
From @jkeenanOn Tue Jun 25 21:46:17 2013, tonyc wrote:
Upgrading tonight from the Pod-Perldoc 3.19 which came with Perl 5.18.0 Thanks for following up on this. Jim Keenan |
@tonycoz - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#78332 (status was 'resolved')
Searchable as RT78332$
The text was updated successfully, but these errors were encountered: