Due to a limitation in PHP you may find the translations of the "Paid" and "Unpaid" text on the PDF Invoices do not display upper-case accented characters correctly. The problem here is that the native PHP uppercase conversion functions cannot convert special characters into their upper-case equivalents.
There are 2 solutions :
1. Edit the language file to contain the uppercase version of the status text by default for invoices. ie. Change "Non payée" to "NON PAYÉE"
2. Make the following template change in the invoicepdf.tpl file:
FIND:
REPLACE WITH:Code:$pdf->Cell(100,18,strtoupper($statustext),'TB',0,'C','1');
For this second solution to work the MB String functions library needs to be compiled into the PHP build on your server (http://uk.php.net/mbstring).Code:$pdf->Cell(100,18,mb_strtoupper($statustext,'utf-8'),'TB',0,'C','1');
-->
![]()

-->
Reply With Quote
works fine although syntax is a bit confusing...