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

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 %]

</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 %]

</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
moseley [at] hank.org
moseley [ Fr, 23 Dezember 2005 22:18 ] [ ID #1115145 ]
Perl » perl.libwww » Parsing of undecoded UTF-8 will give garbage when decoding entities

Vorheriges Thema: Cannot Login to MySpace
Nächstes Thema: LWP and <input type=image...>