#38216 [Opn->Csd]: Example problem in french translation for mb_convert_case

From: Date: Wed, 26 Jul 2006 11:46:35 +0000
Subject: #38216 [Opn->Csd]: Example problem in french translation for mb_convert_case
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969373593@lists.php.net to get a copy of this message
ID: 38216 Updated by: jsgoupil@php.net Reported By: magicaltux at gmail dot com -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Irrelevant PHP Version: Irrelevant New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2006-07-26 07:35:01] magicaltux at gmail dot com 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 this bug report at http://bugs.php.net/?id=38216&edit=1

« previous php.doc (#969373593) next »