note 105753 added to function.mb-strtolower

From: Date: Mon, 12 Sep 2011 15:42:11 +0000
Subject: note 105753 added to function.mb-strtolower
Groups: php.notes 
Request: Send a blank email to php-notes+get-183112@lists.php.net to get a copy of this message
Please, note that when using with UTF-8 mb_strtolower will only convert upper case characters to lower case which are marked with the Unicode property "Upper case letter" ("Lu"). However, there are also letters such as "Letter numbers" (Unicode property "Nl") that also have lower case and upper case variants. These characters will not be converted be mb_strtolower! Example: The Roman letters Ⅰ, Ⅱ, Ⅲ, ..., Ⅿ (UTF-8 code points 8544 through 8559) also exist in their respective lower case variants ⅰ, ⅱ, ⅲ, ..., ⅿ (UTF-8 code points 8560 through 8575) and should, in my opinion, also be converted by mb_strtolower, but they are not! Big internet-companies (like Google) do match both variants as semantically equal (since the representations only differ in case). ---- Server IP: 85.214.154.209 Probable Submitter: 91.44.67.173 ---- Manual Page -- http://www.php.net/manual/en/function.mb-strtolower.php Edit -- https://master.php.net/note/edit/105753 Del: integrated -- https://master.php.net/note/delete/105753/integrated Del: useless -- https://master.php.net/note/delete/105753/useless Del: bad code -- https://master.php.net/note/delete/105753/bad+code Del: spam -- https://master.php.net/note/delete/105753/spam Del: non-english -- https://master.php.net/note/delete/105753/non-english Del: in docs -- https://master.php.net/note/delete/105753/in+docs Del: other reasons-- https://master.php.net/note/delete/105753 Reject -- https://master.php.net/note/reject/105753 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#183112) next »