New utf-8 portuguese version with a better translation.
Solution to solve the utf-8 problem generating the pdf file:
Make that change in the file lib/ezpdf/class.pdf.php in the line 2184(+/-)
function addText($x,$y,$size,$text,$angle=0,$wordSpaceAdjust=0){
if (!$this->numFonts){$this->selectFont('./fonts/Helvetica');}
replace TO:
function addText($x,$y,$size,$text,$angle=0,$wordSpaceAdjust=0){
$text = utf8_decode($text);
if (!$this->numFonts){$this->selectFont('./fonts/Helvetica');}
You only need to include that line in the function
$text = utf8_decode($text);
Best Regards
jolival
[attachment cleanup by admin]