Bug #67193 [Dup]: mb_regex_encoding not changeable from php.ini

From: Date: Mon, 05 May 2014 08:43:39 +0000
Subject: Bug #67193 [Dup]: mb_regex_encoding not changeable from php.ini
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-185627@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=67193&edit=1 ID: 67193 Updated by: yohgaki@php.net Reported by: bugzilla77 at gmail dot com Summary: mb_regex_encoding not changeable from php.ini Status: Duplicate Type: Bug Package: PHP options/info functions Operating System: Win 7 PHP Version: 5.6.0beta2 Block user comment: N Private report: N New Comment: It can be changed, but it must be UTF-8 by default. I'll look into it. Previous Comments: ------------------------------------------------------------------------ [2014-05-03 17:10:26] 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 mb_regex to UTF-8 is: mbstring.internal_encoding = "UTF-8" but it is DEPRECATED!!! Actual result: -------------- EUC-JP ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=67193&edit=1

« previous php.bugs (#185627) next »