- or download this
use Encode qw( decode from_to );
...
# the content encoding is detected.
open my $fh, '>:encoding(iso-8859-5)', $qfn;
print $fh $response->decoded_content;
- or download this
my $file = $response->content;
- or download this
my $file = $response->decoded_content;
- or download this
my $file = decode('windows-1251', $response->content);