I have a a strange problem that I can’t seem to identify the cause of.
When I use Zend_Currency to format a value to to GBP I get an accented A before the £ symbol. If ask it to return any other curreny such as USD the accented A disappears.
The code that is generating this is:
$currency = new Zend_Currency('en_GB');
$amount = $currency->toCurrency($value);
This displays
£ 500.00
If I set to en_US I get
$ 500.00
Any ideas of why this could be?
Thanks…
‘funny’ characters are generally an encoding/display issue. Make sure you are setting the script to output as UTF8 – check your HTML/Xml headers / content-type.