php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #38216 Example problem in french translation for mb_convert_case
Submitted: 2006-07-26 07:35 UTC Modified: 2006-07-26 11:46 UTC
From: magicaltux at gmail dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: magicaltux at gmail dot com
New email:
PHP Version: OS:

 

 [2006-07-26 07:35 UTC] 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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-07-26 11:46 UTC] jsgoupil@php.net
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.


 [2020-12-30 12:50 UTC] nikic@php.net
Automatic comment on behalf of jsgoupil
Revision: http://git.php.net/?p=doc/fr.git;a=commit;h=2af953696a33fdd93f07589de126771dd241bfe3
Log: Fix #38216
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Feb 21 03:00:01 2026 UTC