Search code examples
perlencodingsavewww-mechanize

WWW::Mechanize: save_content-encoding-question


Is there a way to influence the encoding of the save_content()-method from WWW::Mechanize?


Solution

  • No. If you need to do that, open a file yourself (specifying whatever encoding you want) and print $mech->content to it.