Subject: | Pod::Usage doesn't handle E<copy> correctly |
Date: | Wed, 14 Jan 2015 08:07:20 -0500 |
To: | bug-Pod-Usage [...] rt.cpan.org |
From: | David Weintraub <david [...] weintraub.name> |
On a utf8 system, Pod::Usage doesn’t handle E<copy> correctly. This becomes 0xA9 rather than multibyte 0xCA:0xA9. Other symbols are also handled incorrectly
Version: 1.6.1
Perl version: 5.18.1
OS: Mac OS X 10.10 (Yosemite)
Pod::Html correctly translates the copyright symbol as ©. There are other problems too.
Sample POD:
=head1 test:
=over 4
=item B<copy>
E<copy>
=for Incorrect
=item B<amp>
E<amp>
=for Correct
=item B<thorn>
E<thorn>
=for Incorrect
=item B<yuml>
E<yuml>
=item B<Alpha>
=for Incorrect
E<Alpha>
=item B<Gama>
=for Incorrect
E<Gamma>
=item B<alpha>
=for Incorrect
E<alpha>
=item B<gamma>
E<gamma>
=for Incorrect
=item B<trade>
E<trade>
=for Incorrect
=item B<foo>
E<foo>
=for Error (Displays error correctly)
=back