note 48478 added to function.ucfirst
| From: | Stig-ArneGr�nroos at osu1 dot php dot net | Date: | Sat, 25 Dec 2004 18:46:44 +0000 |
| Subject: | note 48478 added to function.ucfirst | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-82294@lists.php.net to get a copy of this message | ||
This function does not work as expected with characters from non-English alphabets (I only tested it
with scandinavian letters, åäö => ÅÄÖ). It leaves them as lowercase.
Someone already commented that the function doesn't work on html entities, which is somewhat
understandable. This bug however takes place before I convert the strings to html.
----
Manual Page -- http://www.php.net/manual/en/function.ucfirst.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+48478
Delete -- http://master.php.net/manage/user-notes.php?action=delete+48478&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+48478&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+48478&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+48478&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+48478&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+48478&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+48478&report=yes
Search -- http://master.php.net/manage/user-notes.php