Skip Menu |

This queue is for tickets about the HTML-SimpleLinkExtor CPAN distribution.

Report information
The Basics
Id: 84284
Status: open
Priority: 0/
Queue: HTML-SimpleLinkExtor

People
Owner: NHORNE [...] cpan.org
Requestors: NHORNE [...] cpan.org
Cc:
AdminCc:

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



Subject: Parsing of undecoded UTF-8 will give garbage when decoding entities
I often get the above message on code such as this: $$contentref = Encode::decode_utf8($$contentref); $extor->parse($$contentref); What decoding/encoding to I need to do to prevent it?
Subject: Re: [rt.cpan.org #84284] Parsing of undecoded UTF-8 will give garbage when decoding entities
Date: Fri, 29 Mar 2013 13:49:12 -0500
To: bug-HTML-SimpleLinkExtor [...] rt.cpan.org
From: brian d foy <bdfoy [...] cpan.org>
I have no idea. What's in $contentref? Can you give me a complete working program with data that shows the problem? On Fri, Mar 29, 2013 at 8:41 AM, Nigel Horne via RT < bug-HTML-SimpleLinkExtor@rt.cpan.org> wrote: Show quoted text
> Fri Mar 29 09:41:38 2013: Request 84284 was acted upon. > Transaction: Ticket created by NHORNE > Queue: HTML-SimpleLinkExtor > Subject: Parsing of undecoded UTF-8 will give garbage when decoding > entities > Broken in: 1.25 > Severity: Normal > Owner: Nobody > Requestors: NHORNE@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=84284 > > > > I often get the above message on code such as this: > > $$contentref = Encode::decode_utf8($$contentref); > $extor->parse($$contentref); > > What decoding/encoding to I need to do to prevent it? >
-- brian d foy <brian.d.foy@gmail.com> http://www.pair.com/~comdog/
On Fri Mar 29 14:50:09 2013, BDFOY wrote: Show quoted text
> I have no idea. What's in $contentref? Can you give me a complete working > program with data that shows the problem?
It's part of a very large program. I'll see if I can create a few lines of code to reproduce it. What I was really after, however, wasn't a fix more a guideline of what circumstances can lead to this and what I can do. -Nigel