then I take the the resulting page and find the DIV of interest and extract the text. That text goes in the database. Later another page selects the text and puts it in a textarea.require LWP::UserAgent; my $ua = LWP::UserAgent->new; my $response = $ua->get($ARGV[0]); $_=$response->content;
The page is coming in text/html; charset=UTF-8, and my destination page is also text/html; charset=UTF-8.
I'll look at Encode / decode('UTF-8'... that might be exactly what I need.
Thanks.
In reply to Re^2: LWP gives funky characters
by jhanna
in thread LWP gives funky characters
by jhanna
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |