| jsgoupil@php.net 2006-07-26, 7:57 am |
| 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
|