How can I convert the upper-case html entity characters to their lowercase?
$str = "É"; //É
$res = strtolower( $str );
echo $res;
http://codepad.viper-7.com/Zf3RTe
Just use the right function for it:
$strLower = mb_strtolower($str, 'HTML-ENTITIES');
The PHP Multibyte String extensionDocs has an encoding for HTML entities (See list of all supported encodingsDocs).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With