develooper Front page | perl.libwww | Postings from September 2008

Re: LWP content encode

Thread Previous
From:
Bjoern Hoehrmann
Date:
September 15, 2008 08:56
Subject:
Re: LWP content encode
* stefano tacconi wrote:
>I'm writing a simple script to download some web pages on the net.
>Using LWP it's works fine, but how can I get html page with strange
>characher?

You are probably looking for HTML::Encoding, the script in the synopsis
shows how to decode the content; HTTP::Response::Encoding seems to be a
rather crude module that is unaware of HTML semantics.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About