note 111408 modified in ini.core by danbrown
| From: | danbrown@php.net | Date: | Mon, 04 Mar 2013 18:08:21 +0000 |
| Subject: | note 111408 modified in ini.core by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-193884@lists.php.net to get a copy of this message | ||
note that when you turn on zend.multibyte,you should change mbstring internal encoding to match the
script encoding.
example:
(php.ini)
zend.multibyte = On
zend.script_encoding = utf-8
;note this:
mbstring.internal_encoding = utf-8
another example:
(php.ini)
zend.multibyte = On
(script)
<?php
declare(encoding = 'utf-8');
ini_set('mbstring.internal_encoding', 'utf-8');
//now do your work...
?>
--was--
note that when you turn on zend.multibyte,you should change mbstring internal encoding to match the
script encoding.
example:
(php.ini)
zend.multibyte = On
zend.script_encoding = utf-8
;note this:
mbstring.internal_encoding = utf-8
another example:
(php.ini)
zend.multibyte = On
(script)
<?php
declare(encoding = 'utf-8');
ini_set('mbstring.internal_encoding', 'utf-8');
//now do your work...
http://php.net/manual/en/ini.core.php