Bug #67190 [Opn->Dup]: mb_regex_encoding not changeable from php.ini
| From: | requinix@php.net | Date: | Sat, 03 May 2014 20:46:54 +0000 |
| Subject: | Bug #67190 [Opn->Dup]: mb_regex_encoding not changeable from php.ini | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-185606@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=67190&edit=1
ID: 67190
Updated by: requinix@php.net
Reported by: bugzilla77 at gmail dot com
Summary: mb_regex_encoding not changeable from php.ini
-Status: Open
+Status: Duplicate
Type: Bug
Package: mbstring related
Operating System: Win 7
PHP Version: 5.6.0beta2
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2014-05-03 12:55:56] bugzilla77 at gmail dot com
Description:
------------
Set php.ini:
default_charset = "UTF-8"
(this is default in php 5.6)
Test script:
---------------
<?=mb_regex_encoding()?>
Expected result:
----------------
UTF-8
---
Only way to change get UTF-8 is:
mbstring.internal_encoding = "UTF-8"
but it is DEPRECATED!!!
Actual result:
--------------
EUR-JP
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=67190&edit=1