#45790 [Opn->Bgs]: strtoupper() does not work on vowels with accents

[email protected]
Newsgroups php.bugs
Message-ID <[email protected]>
 ID:               45790
 Updated by:       [email protected]
 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.