I'm trying to export a report to PDF that uses the windows-1253 encoding. My report shows perfectly on screen but when I export to PDF I get all the Greek windows-1253 chars converted to ? in black rhombus. I have used ini_set('default_charset', 'windows-1253'); in my index.php and also I have tried putting the encoding in the report.view.php, as suggested in phantomjs site like :
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=windows-1253">
</head>
<style>
body { font-family: Arial, calibri; }
</style>
<div class="report-content">
<div>
<?php $this->subReport("InvoiceItems"); ?>
</div>
<div>
<strong>Ανάλυση ΦΠΑ κατά κατηγορία</strong>
<?php $this->subReport("InvoiceVATAnalysis"); ?>
</div>
<div>
<?php $this->subReport("InvoiceSums"); ?>
</div>
</html>
but the result is always the same!