Parsing of undecoded UTF-8 will give garbage when decoding entities

Bill Moseley <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.lwp
Message-ID <[email protected]>
HTML::Parser $VERSION = '3.47';  # $Date: 2005/11/22 21:28:42 $


I've read the description of this error, but I'm not seeing what is
triggering it.  Can someone explain what is happening and how I can
get more specifics from the parser on the problem?


Also, I'm quite confused how it's happening in my application.

I'm using HTML::FillInForm, and maybe it's a red herring, but in my
template I do this:

    <td>
        [% "$class.workshop\n" | stderr %]<br />
    </td>

Which generates:

182
81
20
28
Parsing of undecoded UTF-8 will give garbage when decoding entities at /usr/local/share/perl/5.8.0/HTML/FillInForm.pm line 81.

Yet commenting out the content *going to stderr*:


    <td>
        [% # "$class.workshop\n" | stderr %]<br />
    </td>

the error goes away -- which makes no sense to me at all.
Actually it doesn't seem like there's any one thing in my source
that's causing it.






-- 
Bill Moseley
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.