php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67190 mb_regex_encoding not changeable from php.ini
Submitted: 2014-05-03 12:55 UTC Modified: 2014-05-03 20:46 UTC
Votes:1
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: mbstring related
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bugzilla77 at gmail dot com
New email:
PHP Version: OS:

 

 [2014-05-03 12:55 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-05-03 20:46 UTC] requinix@php.net
-Status: Open +Status: Duplicate
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 22:01:28 2024 UTC