|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36486 echo strtoupper
Submitted: 2006-02-22 13:13 UTC Modified: 2006-02-22 13:16 UTC
From: bojidar at bojidar dot com Assigned:
Status: Not a bug Package: Strings related
PHP Version: 4.4.2 OS: linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: bojidar at bojidar dot com
New email:
PHP Version: OS:


 [2006-02-22 13:13 UTC] bojidar at bojidar dot com

The function strtoupper is NOT functioning properly with Cyrillic on ALL of our domains. 

echo strtoupper("?? ??????");

When you search for term or phrase with capital letters and search for the same term or phrase in low cap, it appears that the results are completely different (they shouldn?t be). 

For instance: search for "?? ??????" and then try searching for "?? ??????" to see what I mean. Click on the links below and see the search results:

Any suggestions how this issue can be corrected would be gladly appreciated?

Please advice?


Reproduce code:
echo strtoupper("?? ??????");

Expected result:
?? ?????? 

Actual result:
see description above


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-02-22 13:16 UTC]
Use setlocale() to set appropriate locale before that.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 14 09:01:29 2024 UTC