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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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: Sat Dec 14 20:01:26 2024 UTC