note 108346 added to function.mb-strtolower
| From: | fisharebest at gmail dot com | Date: | Wed, 18 Apr 2012 16:27:29 +0000 |
| Subject: | note 108346 added to function.mb-strtolower | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-187226@lists.php.net to get a copy of this message | ||
There is not a one-to-one correspondence between upper and lower case letters.
Turkish is a good example of this. In Turkish, the letter I/i has a dotted-upper-case form (İ)
and a dotless-lower-case form (ı).
https://en.wikipedia.org/wiki/Dotted_and_dotless_I
This means that you cannot correctly convert between upper-case and lower-case without also knowing
the locale of the data.
Since the function does not let you specify a locale, you should only use this function for text
written in languages that follow the same orthography as English.
Although it does handle some digraphs, such as the Dutch ij (ij), it does not handle others, such
as the Polish dz (Ê£).
----
Server IP: 87.124.126.48
Probable Submitter: 78.150.111.4
----
Manual Page -- http://www.php.net/manual/en/function.mb-strtolower.php
Edit -- https://master.php.net/note/edit/108346
Del: integrated -- https://master.php.net/note/delete/108346/integrated
Del: useless -- https://master.php.net/note/delete/108346/useless
Del: bad code -- https://master.php.net/note/delete/108346/bad+code
Del: spam -- https://master.php.net/note/delete/108346/spam
Del: non-english -- https://master.php.net/note/delete/108346/non-english
Del: in docs -- https://master.php.net/note/delete/108346/in+docs
Del: other reasons-- https://master.php.net/note/delete/108346
Reject -- https://master.php.net/note/reject/108346
Search -- https://master.php.net/manage/user-notes.php