in reply to Re^3: Mechanize Returns Garbled Content
in thread Mechanize Returns Garbled Content

How would I tell the "bad" machine to use charset=ISO-88590-1? Do you think this would work?
$m->add_header( charset => 'ISO-8859-1' );

Replies are listed 'Best First'.
Re^5: Mechanize Returns Garbled Content
by ikegami (Patriarch) on Jun 29, 2011 at 08:02 UTC

    It's not the bad machine that uses iso-88590-1, it's Google.

    Don't know why Google doesn't use the same for both*, but that code won't help.

    Unless you can see mostly recognisable text including "<html>" in the output, this isn't related to your question.

    * — Presumably, you don't send the same request.