Bug #67199 [Asn->Csd]: mb_regex_encoding mishmash
| From: | yohgaki@php.net | Date: | Mon, 12 May 2014 04:45:16 +0000 |
| Subject: | Bug #67199 [Asn->Csd]: mb_regex_encoding mishmash | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-185771@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=67199&edit=1
ID: 67199
Updated by: yohgaki@php.net
Reported by: bugzilla77 at gmail dot com
Summary: mb_regex_encoding mishmash
-Status: Assigned
+Status: Closed
Type: Bug
Package: mbstring related
Operating System: win 7
PHP Version: 5.6.0beta2
Assigned To: yohgaki
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of yohgaki
Revision: http://git.php.net/?p=php-src.git;a=commit;h=997be125eb0228c5b1b6dd278f617791e71192c6
Log: Fixed bug #67199 mb_regex_encoding mishmash
Previous Comments:
------------------------------------------------------------------------
[2014-05-03 23:30:29] bugzilla77 at gmail dot com
Description:
------------
Apache 2.4.9
module php5apache2_4.dll
Test script:
---------------
<?php
if(ini_get('default_charset')=='UTF-8'){
exit(mb_internal_encoding().','.mb_regex_encoding());
}else{
exit('Please SET php.ini: default_charset = "UTF-8"');
}
?>
Expected result:
----------------
UTF-8,UTF-8
Actual result:
--------------
On first request after Apache restart:
UTF-8,EUC-JP
On next request (F5 Reload) is OK:
UTF-8,UTF-8
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=67199&edit=1