I'm adding a price value, retrived from a db, inside a cell on a pdf created with FPDF, using this function:
$fmt = numfmt_create( 'it_IT', NumberFormatter::CURRENCY );
numfmt_format_currency($fmt, $row['prezzo'], "EUR")
Considering that the EUR symbol would be output like this:
 €
I've tried to define a EURO costant:
define('EURO',chr(128));
but i can't use it with NumberFormatter.
How can i print the € symbol correctly in the pdf?