This method utilizes ob_iconv_handler(), so you should call it at the beginning of your script (prior to any output).
1 require_once 'I18Nv2.php'; 2 I18Nv2::autoConv('iso-8859-1', 'utf-8'); 3 // ... |
desired output character set
current intput character set
Retourne TRUE en cas de succès, un objet PEAR_Error en cas d'échec.
Returns PEAR_Error if output buffering couldn't be started.
Précédent | Sommaire | Suivant |
I18Nv2::getInfo() | Niveau supérieur | I18Nv2::createLocale() |