note 55492 deleted from function.strtolower by nlopess
| From: | nlopess@php.net | Date: | Fri, 18 Nov 2005 19:24:47 +0000 |
| Subject: | note 55492 deleted from function.strtolower by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-98769@lists.php.net to get a copy of this message | ||
Note Submitter: Christian at solid-webworks dot com
----
In reply to jbr at ya-right dot com's post handling with strtolower(), strtoupper() and the
even faster strtr() I have to add a remark:
If you use strtr() you need to add all characters you want to get changed into upper. For example,
for Germany you need to add ä <-> Ä, ö <-> Ö, ü <-> Ü, for france é
<-> É and so on.
If this is no problem for you (maybe because you know that these won't appear in the Strings
you operate on) you really should use strtr() instead. Otherwise, keep using strtolower() or add all
characters available ;) (let me know if you did this)