I'm using
my $ua = new LWP::UserAgent;
$ua->agent("Mozilla/5.0 (Windows NT 6.1; Intel Mac OS X 10.6; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 ");
my $url = "http://somedomain.com/page/";
my $req = new HTTP::Request 'GET' => $url;
$req->header('Accept' => 'text/html');
my $response = $ua->request($req);
my $html = $response->decoded_content;
to get a web page. On this page, Abobo's Big Adventure
appears. In $request->content
and $request->decoded_content
, this is shown as Abobo's Big Adventure
.
Is there something I can do to make this decode correctly?
<i>/foo<i>
` for example. – ikegami Dec 19 '12 at 23:03