19
           
            
                
     
    
    A bug in the creation of PDF document (makepdf.php) when using UTF-8 charset. Appearance of odd characters in the PDF.
To fix this bug
Replace line 120 of file : makepdf.php
 $pdf->WriteHTML($pdf_config['slogan'], $pdf_config['scale']);  
by
 if ( _CHARSET == 'UTF-8') {  
    $pdf->WriteHTML(utf8_decode($pdf_config['slogan']), $pdf_config['scale']);  
} else { 
    $pdf->WriteHTML($pdf_config['slogan'], $pdf_config['scale']); 
}  
and replace line 140 of file : makepdf.php
 $out=NEWS_PDF_AUTHOR.': ';  
by 
 if ( _CHARSET == 'UTF-8') {  
    $out=utf8_decode(NEWS_PDF_AUTHOR).': ';  
} else { 
    $out=NEWS_PDF_AUTHOR.': ';  
}