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