|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2014-11-16 22:48 UTC] xela at xela dot org dot ua
-PHP Version: 5.6.0
+PHP Version: 5.6.2
[2014-11-16 22:48 UTC] xela at xela dot org dot ua
[2014-12-08 15:29 UTC] xela at xela dot org dot ua
-PHP Version: 5.6.2
+PHP Version: 5.6.3
[2014-12-08 15:29 UTC] xela at xela dot org dot ua
[2014-12-20 10:43 UTC] xela at xela dot org dot ua
-Operating System: CentOS Linux 6.5
+Operating System: CentOS Linux 6.6
-PHP Version: 5.6.3
+PHP Version: 5.6.4
[2014-12-20 10:43 UTC] xela at xela dot org dot ua
[2015-01-03 01:25 UTC] yohgaki@php.net
-Assigned To:
+Assigned To: yohgaki
[2015-01-24 17:20 UTC] xela at xela dot org dot ua
-Operating System: CentOS Linux 6.6
+Operating System: Linux (all?)
-PHP Version: 5.6.4
+PHP Version: 5.6.5
[2015-01-24 17:20 UTC] xela at xela dot org dot ua
[2015-01-25 00:39 UTC] yohgaki@php.net
[2015-01-25 00:52 UTC] yohgaki@php.net
-Status: Assigned
+Status: Verified
[2015-01-25 00:52 UTC] yohgaki@php.net
[2015-01-25 01:00 UTC] xela at xela dot org dot ua
[2015-02-03 10:01 UTC] yohgaki@php.net
[2015-02-03 10:01 UTC] yohgaki@php.net
-Status: Verified
+Status: Closed
[2015-02-21 12:51 UTC] lzsiga at freemail dot c3 dot hu
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 07:00:01 2025 UTC |
Description: ------------ htmlspecialchars() does not respect default_charset specified by ini_set or php_value passed to php-fpm, however it does while it is set by php.ini. Test script: --------------- <?php ini_set('default_charset', 'cp1252'); var_dump(htmlentities("\xA3", ENT_HTML5)); var_dump(htmlentities("\xA3", ENT_HTML5, 'cp1252')); var_dump(html_entity_decode("£", ENT_HTML5)); var_dump(html_entity_decode("£", ENT_HTML5, 'cp1252')); Expected result: ---------------- Script should print: string(7) "£" string(7) "£" string(1) "▒" string(1) "▒" Actual result: -------------- Script printed: string(0) "" string(7) "£" string(2) "£" string(1) "▒"