note 113010 added to mbstring.configuration

From: Date: Sat, 17 Aug 2013 23:51:55 +0000
Subject: note 113010 added to mbstring.configuration
Groups: php.notes 
Request: Send a blank email to php-notes+get-195995@lists.php.net to get a copy of this message
Note that you should better at least set "mbstring.internal_encoding". Just check as below: <?php echo mb_internal_encoding() . '<br />'; echo mb_regex_encoding(); ?> You might be surprised at unexpected values. eg. mbstring.language Japanese ;mbstring.internal_encoding (commented out showing "no value" in phpinfo() ) These two lines in "php.ini" are the same values as mb_internal_encoding("EUC-JP"); mb_regex_encoding("EUC-JP"); in Win / Linux servers. "mbstring.internal_encoding" defines the default encoding for "mb_" Functions such as "mb_strlen()". It also defines the same for "mb_ereg_" Functions such as "mb_ereg()" when you don't set "mb_regex_encoding". ---- Server IP: 49.212.134.217 Probable Submitter: 101.141.138.209 ---- Manual Page -- http://php.net/manual/en/mbstring.configuration.php Edit -- https://master.php.net/note/edit/113010 Del: integrated -- https://master.php.net/note/delete/113010/integrated Del: useless -- https://master.php.net/note/delete/113010/useless Del: bad code -- https://master.php.net/note/delete/113010/bad+code Del: spam -- https://master.php.net/note/delete/113010/spam Del: non-english -- https://master.php.net/note/delete/113010/non-english Del: in docs -- https://master.php.net/note/delete/113010/in+docs Del: other reasons-- https://master.php.net/note/delete/113010 Reject -- https://master.php.net/note/reject/113010 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#195995) next »