Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > HTML::TableExtract w. perl 5.10

Reply
Thread Tools

HTML::TableExtract w. perl 5.10

 
 
Marko Riedel
Guest
Posts: n/a
 
      09-27-2012

Greetings to all.

the following issue does not occur with perl 5.12, unfortunately I have
to work with 5.10 at my installation and I don't have the administration
rights just to upgrade my perl.

The version is:
"This is perl, v5.10.0 built for x86_64-linux-gnu-thread-multi".

I am trying to use HTML::TableExtract on an ISO-8859-1 encoded file. The
extraction works, the data are precisely what I want, but I always get a
warning, namely that "Parsing of undecoded UTF-8 will give garbage when
decoding entities".

Is there anything other than turning warnings off locally that I can do
to supress this warning? Or does this module not work with
latin1-encoded data? I also tried invoking utf8_mode(0), to no avail.

My version of HTML:arser is 3.69 and of HTML::TableExtract 2.10.

Best regards,

Marko Riedel
 
Reply With Quote
 
 
 
 
Marko Riedel
Guest
Posts: n/a
 
      09-28-2012
Ben Morrow <> writes:

> Quoth Marko Riedel <>:
>>
>> I am trying to use HTML::TableExtract on an ISO-8859-1 encoded file. The
>> extraction works, the data are precisely what I want, but I always get a
>> warning, namely that "Parsing of undecoded UTF-8 will give garbage when
>> decoding entities".
>>
>> Is there anything other than turning warnings off locally that I can do
>> to supress this warning? Or does this module not work with
>> latin1-encoded data? I also tried invoking utf8_mode(0), to no avail.

>
> Please post a *minimal* example of a program which exhibits this
> behaviour.
>
> Ben


Greetings.

I will work on that, it's not that easy as the program is complex. In
the meantime, does anyone know how to get HTML:arser to output the
position and the value of the offending byte sequence? I installed it in
my home directory so I can modify the source if necessary. The warning
is easy to find.

This looks tricky. Like I mentioned the code works fine with Perl 5.12.

Regards,

Marko
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FAQ 2.17 What is perl.com? Perl Mongers? pm.org? perl.org? cpan.org? PerlFAQ Server Perl Misc 0 04-04-2011 10:00 PM
FAQ 1.4 What are Perl 4, Perl 5, or Perl 6? PerlFAQ Server Perl Misc 0 02-27-2011 11:00 PM
FAQ 2.17 What is perl.com? Perl Mongers? pm.org? perl.org? cpan.org? PerlFAQ Server Perl Misc 0 02-03-2011 11:00 AM
FAQ 1.4 What are Perl 4, Perl 5, or Perl 6? PerlFAQ Server Perl Misc 0 01-23-2011 05:00 AM
Perl Help - Windows Perl script accessing a Unix perl Script dpackwood Perl 3 09-30-2003 02:56 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57