For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > July 2006 > #38216 [Opn->Csd]: Example problem in french translation for mb_convert_case









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #38216 [Opn->Csd]: Example problem in french translation for mb_convert_case
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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com