Bug #54227 [Opn->Bgs]: function strtoupper
Edit report at http://bugs.php.net/bug.php?id=54227&edit=1
ID: 54227
Updated by: felipe@php.net
Reported by: emersonnarede at gmail dot com
Summary: function strtoupper
-Status: Open
+Status: Bogus
Type: Bug
Package: Unknown/Other Function
Operating System: Centos 5.5 in Apache 2.2.4
PHP Version: 5.3.5
Block user comment: N
Private report: N
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
Not a bug, use http://docs.php.net/mb-strtoupper
Previous Comments:
------------------------------------------------------------------------
[2011-03-11 17:53:12] emersonnarede at gmail dot com
Description:
------------
The function strtoupper is bugging in convert portuguese characters to
upper.
Test script:
---------------
<?php
echo strtoupper('educação'); // prints corretely is 'EDUCAÃÃO', but
print 'EDUCAçãO'
?>
Expected result:
----------------
EDUCAÃÃO
Actual result:
--------------
EDUCAçãO
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=54227&edit=1
Thread (2 messages)