Bug #67988 [Ver]: htmlspecialchars() does not respect default_charset specified by ini_set
Edit report at https://bugs.php.net/bug.php?id=67988&edit=1
ID: 67988
User updated by: xela at xela dot org dot ua
Reported by: xela at xela dot org dot ua
Summary: htmlspecialchars() does not respect default_charset
specified by ini_set
Status: Verified
Type: Bug
Package: Strings related
Operating System: Linux (all?)
PHP Version: 5.6.5
Assigned To: yohgaki
Block user comment: N
Private report: N
New Comment:
yohgaki, thank you a lot.
Current behaviour won't let users who still use single-byte charsets sites to upgrade from php
5.3. This fix will allow again run such sites with the only ini_set call added.
Previous Comments:
------------------------------------------------------------------------
[2015-01-25 00:52:50] yohgaki@php.net
I spotted what's wrong. I need PHP_INI_MH() obviously. I'll try to fix this before next
monthly release.
------------------------------------------------------------------------
[2015-01-25 00:39:21] yohgaki@php.net
Thank you for reminding. I'll check when I have time to remove mbstring.*, iconv.* INI settings
from PHP7. i.e. mbstring.http_input/etc removal is accepted by RFC.
------------------------------------------------------------------------
[2015-01-24 17:20:49] xela at xela dot org dot ua
Still exists in 5.6.5
------------------------------------------------------------------------
[2014-12-20 10:43:36] xela at xela dot org dot ua
Still exists in 5.6.4
------------------------------------------------------------------------
[2014-12-08 15:29:43] xela at xela dot org dot ua
Still exists in 5.6.3
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=67988
--
Edit this bug report at https://bugs.php.net/bug.php?id=67988&edit=1
Thread (10 messages)