diff --git a/admin/reports.inc.php b/admin/reports.inc.php index 9c08fae..6aa4d38 100644 --- a/admin/reports.inc.php +++ b/admin/reports.inc.php @@ -49,7 +49,7 @@ $report_options = array(); $report_options['type'] = array('desc' => 'Report Format', - 'values' => array('pdf'=>'PDF', 'csv'=>'CSV', 'label'=>'Label'/*, 'tcpdf_label'=>'TCPDF Label'*/) + 'values' => array('pdf'=>'PDF', 'csv'=>'CSV', 'label'=>'Label', 'tcpdf_label'=>'TCPDF Label (experimental)') ); $report_options['group_new_page'] = array('desc' => 'Start each new grouping on a new page', 'values' => array('no'=>'No', 'yes'=>'Yes') @@ -890,6 +890,8 @@ foreach($report_stock as $n=>$v) { } else { if($f == 'static_text') $v = $d['value']; + $v = iconv("ISO-8859-1//TRANSLIT", "UTF-8", $v); + $rep->label_text($d['x'], $d['y'], $d['w'], $d['h'], $v, $show_box, $d['align'], $d['valign'], $d['fontname'],$d['fontstyle'],$d['fontsize'],