|
|||
|
My application is using the charset Latin-1 (ISO 8859-1).
I'm using Zend_Currency to output Swedish kronor (SEK). But toCurrency() returns a Unicode string, containing the non-break space character (U+00A0). That's a multi-byte character, so it's displayed incorrectly as two characters in Latin-1. Code:
$currency = new Zend_Currency('sv_SE');
echo $currency->toCurrency(1000));
Quote:
Do I need to use utf8_decode() on every single return? |
![]() |
| Thread Tools | |
| Display Modes | |
|
|