note 101600 added to function.mb-strtoupper
| From: | tomasz at trejderowski dot pl | Date: | Wed, 29 Dec 2010 13:01:47 +0000 |
| Subject: | note 101600 added to function.mb-strtoupper | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-175301@lists.php.net to get a copy of this message | ||
Please note, that in many cases, forcing UTF-8 encoding with second parameter is necessary. PHP
documentation states that if this parameter is omitted, the internal character encoding value will
be used. But in my case it turned out to be not true. Even though I have all my pages encoded in
UTF-8 and my DB connection set to force UTF-8 encoding, comparison of user-input and DB-retrieved
data, which is using mb_strtoupper, did not work until I forced encoding.
----
Server IP: 195.114.0.19
Probable Submitter: 85.14.84.74
----
Manual Page -- http://www.php.net/manual/en/function.mb-strtoupper.php
Edit -- https://master.php.net/note/edit/101600
Del: integrated -- https://master.php.net/note/delete/101600/integrated
Del: useless -- https://master.php.net/note/delete/101600/useless
Del: bad code -- https://master.php.net/note/delete/101600/bad+code
Del: spam -- https://master.php.net/note/delete/101600/spam
Del: non-english -- https://master.php.net/note/delete/101600/non-english
Del: in docs -- https://master.php.net/note/delete/101600/in+docs
Del: other reasons-- https://master.php.net/note/delete/101600
Reject -- https://master.php.net/note/reject/101600
Search -- https://master.php.net/manage/user-notes.php