Bug #67988 [Ver->Csd]: htmlspecialchars() does not respect default_charset specified by ini_set

From: Date: Tue, 03 Feb 2015 10:01:12 +0000
Subject: Bug #67988 [Ver->Csd]: htmlspecialchars() does not respect default_charset specified by ini_set
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-190436@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=67988&edit=1

 ID:                 67988
 Updated by:         yohgaki@php.net
 Reported by:        xela at xela dot org dot ua
 Summary:            htmlspecialchars() does not respect default_charset
                     specified by ini_set
-Status:             Verified
+Status:             Closed
 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:

Automatic comment on behalf of yohgaki
Revision: http://git.php.net/?p=php-src.git;a=commit;h=436ba1c4886024278337a8fe446c05a0629e4215
Log: Fixed Bug #67988 htmlspecialchars() does not respect default_charset specified by ini_set.


Previous Comments:
------------------------------------------------------------------------
[2015-01-25 01:00:31] xela at xela dot org dot ua

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.

------------------------------------------------------------------------
[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

------------------------------------------------------------------------


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)

« previous php.bugs (#190436) next »