Hello,
I have an application where the amount is formatted with this function:
define("CURRENCY", "€");
function format_value($value, $decoding = false) {
$curr = ($decoding) ? html_entity_decode(CURRENCY) : CURRENCY;
$formatted = $curr." ".number_format($value, 2, ",", ".");
return $formatted;
}
I use this function for presentation in a browser and also for a text type email. My problem is that this example is valid according w3 but it will not be decoded for the text mail.
I already played a while with ord() and some other functions but every combination is valid for w3 or isn't visible inside the mail.
Anyone an idea?
Thanks...