in reply to Re: Explicit charset confuses WWW::Mechanize and/or HTTP::Response
in thread Explicit charset confuses WWW::Mechanize and/or HTTP::Response

The bug is it should binmode unconditionally.
  • Comment on Re^2: Explicit charset confuses WWW::Mechanize and/or HTTP::Response

Replies are listed 'Best First'.
Re^3: Explicit charset confuses WWW::Mechanize and/or HTTP::Response
by ikegami (Patriarch) on May 14, 2009 at 14:24 UTC

    No. You can't write decoded text to a file, binmoded or not.

    Or do you mean :encoding needs to be specified unconditionally? That's wrong too, since Mechanize doesn't always decode the content.