in reply to Re: LWP gives funky characters
in thread LWP gives funky characters
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: LWP gives funky characters
by ikegami (Patriarch) on Jan 25, 2007 at 01:45 UTC | |
by jhanna (Scribe) on Jan 25, 2007 at 03:23 UTC |