I was trying to use Zend_Currency to format my currency outputs and i face
this queer problem. An illegal character(Â) gets displayed along with the
output of the currency data. The code i used is:
$currency = new Zend_Currency('en_IN');
> echo $currency->toCurrency(100);
And the output is:
Rs 100.00
I dont know from where the "Â" comes up. I found out that this problem
occurs for certain locales only. It is working fine for en_US and some
others but output this extra char  in many other. Some one please help.
Midhun Girish
没有评论:
发表评论