in reply to lwp encoding problem
You need to remove wrong HTML header:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
before printing
Something like this:
my $page = $response->content; $page =~ s{<meta http-equiv="Content-Type" content="text/html; charset +=utf-8" />}{<meta http-equiv="Content-Type" content="iso-8859-1" />}; print $page;
|
|---|