#45790 [Opn->Bgs]: strtoupper() does not work on vowels with accents
| From: | johannes@php.net | Date: | Mon, 11 Aug 2008 21:56:22 +0000 |
| Subject: | #45790 [Opn->Bgs]: strtoupper() does not work on vowels with accents | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-127918@lists.php.net to get a copy of this message | ||
ID: 45790
Updated by: johannes@php.net
Reported By: zsheran at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: Strings related
Operating System: Linux Debian Etch
PHP Version: 5.2.6
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
Use setlocale() to set a proper locale environment.
Previous Comments:
------------------------------------------------------------------------
[2008-08-11 21:39:59] zsheran at gmail dot com
Description:
------------
when using strtoupper() it does not affect vowels with accents, such as
é, ó or í.
Reproduce code:
---------------
echo strtoupper('aeiou-áéíóú');
Expected result:
----------------
AEIOU-ÁÉÍÓÚ
Actual result:
--------------
AEIOU-áéíóú
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45790&edit=1