Fw: [PHP-DOC] #38216 [NEW]: Example problem in french translation for mb_convert_case

From: Date: Wed, 26 Jul 2006 11:44:47 +0000
Subject: Fw: [PHP-DOC] #38216 [NEW]: Example problem in french translation for mb_convert_case
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-4960@lists.php.net to get a copy of this message
From:             magicaltux at gmail dot com
Operating system: Irrelevant
PHP version:      Irrelevant
PHP Bug Type:     Documentation problem
Bug description:  Example problem in french translation for mb_convert_case
Description: ------------ On this page : http://php.net/manual/fr/function.mb-convert-case.php The example 1 shows : <?php $str = "Marie a un petit agneau et l'aime très fort"; $str = mb_convert_case($str, MB_CASE_UPPER, "UTF-8"); print $str; // Affiche : MARIE A UN PETIT AGNEAU ET L'AIME TRéS FORT (...) However the correct output given by mb_convert_case() is : MARIE A UN PETIT AGNEAU ET L'AIME TRÈS FORT This example should demonstrate that mb_convert_case() can handle characters like é/è/ç/à/etc, thing that strtoupper() can't do. -- Edit bug report at http://bugs.php.net/?id=38216&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=38216&r=fixedcvs


« previous php.doc.fr (#4960) next »