Skip Menu |

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

Report information
The Basics
Id: 83867
Status: new
Priority: 0/
Queue: Pod-SAX

People
Owner: Nobody in particular
Requestors: BRIANC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.14
Fixed in: (no value)



Using named HTML entities causes them to be output as a sequence of two characters: =item * E<216> Ø E<Oslash> produces: <listitem>&#xD8; &#xD8; &#xC3;&#x98; </listitem> The %HTML_Escapes hash in Pod::SAX::Parser maps Oslash to "\xC3\x98", which is then passed directly to the characters method. This is wrong because the Perl SAX documentation states: All handler methods have a single argument; a hash reference. Hash values are Unicode strings (scalars with UTF-8 flag on). So the appropriate mapping here is: Oslash => "\xd8" This is the case for all entities outside of ASCII that Pod::SAX understands.