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
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=38216&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=38216&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=38216&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=38216&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=38216&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=38216&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=38216&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=38216&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=38216&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=38216&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=38216&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=38216&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=38216&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=38216&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=38216&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=38216&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=38216&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=38216&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=38216&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=38216&r=mysqlcfg

Reply via email to