Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: LPW $response->decoded_content different on different servers ?

by Transalp (Sexton)
on Apr 29, 2015 at 13:29 UTC ( [id://1125117] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $charset = $response->content_charset;
    
  2. or download this
    
    ##these lines would both work on all three servers 
    my $dc = $response->decoded_content( raise_error => 1 , charset => 'wi
    +ndows-874');
    my $dc = $response->decoded_content( raise_error => 1 , default_charse
    +t => 'windows-874');