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> |
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.