|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67193 mb_regex_encoding not changeable from php.ini
Submitted: 2014-05-03 17:10 UTC Modified: 2014-05-05 08:43 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: bugzilla77 at gmail dot com Assigned:
Status: Duplicate Package: PHP options/info functions
PHP Version: 5.6.0beta2 OS: Win 7
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: bugzilla77 at gmail dot com
New email:
PHP Version: OS:


 [2014-05-03 17:10 UTC] bugzilla77 at gmail dot com
Set php.ini:

default_charset = "UTF-8"

(this is default in php 5.6)

Test script:

Expected result:


Only way to change mb_regex to UTF-8 is:

mbstring.internal_encoding = "UTF-8"

but it is DEPRECATED!!!

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2014-05-03 23:49 UTC]
-Status: Open +Status: Duplicate
 [2014-05-05 08:43 UTC]
It can be changed, but it must be UTF-8 by default. I'll look into it.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Nov 27 09:03:13 2021 UTC