Hi people!
It is me again. =(
I am having this warning: Parsing of undecoded UTF-8 will give garbage when
decoding entities.
I have read that the solution is: The solution is to use the
Encode::encode_utf8() on the data before feeding it to the $p->parse().
Ok then use the function encode_utf8(). But how?
I have this piece of code:
my $page = get($URL);
$te = HTML::TableExtract->new();
$te->parse($page); # parse() returns an arrayref containing each table
encountered
$cont_table = 0;
foreach $ts ($te->tables) {
(...)
I tried to use: encode_utf8($te->parse($page));
or: $te = encode_utf8(parse($page));
or: $te-> encode_utf8(parse($page));
or $var->encode_utf8(parse($page)); and where there is $te->tables, place it
by $var->tables
You can see I dont know how to use it X-|
Help me! Thank you.
Bianca
Novos endereços, o Yahoo! que você conhece. Crie um email novo com a sua
cara @ymail.com ou @rocketmail.com.
http://br.new.mail.yahoo.com/addresses