note 88284 deleted from function.mb-eregi-replace by danbrown
| From: | danbrown@php.net | Date: | Mon, 19 Jan 2009 16:55:13 +0000 |
| Subject: | note 88284 deleted from function.mb-eregi-replace by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-149459@lists.php.net to get a copy of this message | ||
Note Submitter: stefaneroteev at dir dt bg
----
I think that there is only one problem with transliteration function submited by "cat at
feelthehouse dot ru".
The proper function that must be used in this case is mb_ereg_replace because:
1. it is case sensitive
2. $replacement array, contains transliteration for small and upper case letters, so it's
supposed to convert both small and upper case letters.
3. mb_eregi_replace is ignoring case resulting only small letters output.