aspose file tools
The moose likes PHP and the fly likes Why is strtolower not working for some special characters? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Languages » PHP
Bookmark "Why is strtolower not working for some special characters?" Watch "Why is strtolower not working for some special characters?" New topic
Author

Why is strtolower not working for some special characters?

chanveil Kiji
Greenhorn

Joined: Dec 30, 2010
Posts: 15
Why is strtolower not working for some special characters as I have tested example one character: �.
It will not lower this ch. to �

Is this bug within PHP coded syntax?
Unnar Björnsson
Ranch Hand

Joined: Apr 30, 2005
Posts: 164
use mb_strtolower(str, encoding) instead
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Why is strtolower not working for some special characters?