On Fri, Dec 26, 2008 at 12:03, John Refior <jref...@gmail.com> wrote: > Hello, > > I am writing Perl scripts that go to webpages, download certain content, > and then create a CSV file with the relevant data. I am trying to be a > friendly web robot, so I am using the LWP::RobotUA module.
> my $page = $response->content; You want to use my $page = $response->decoded_content; here. $response->content gives you the exact byte values returned by the server; decoded_content turns it into Perl's internal Unicode representation (assuming the server is telling the truth about what encoding the page is in). -- Mark -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/