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

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.

  • Comment on Re^3: Explicit charset confuses WWW::Mechanize and/or HTTP::Response
  • Download Code