Bug #75281 [Fbk->NoF]: xmlrpc_encode_request fail with CAPITAL string multibyte

From: Date: Sun, 24 Jun 2018 04:25:32 +0000
Subject: Bug #75281 [Fbk->NoF]: xmlrpc_encode_request fail with CAPITAL string multibyte
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-215915@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=75281&edit=1 ID: 75281 Updated by: php-bugs@lists.php.net Reported by: rg at mejoramos dot com Summary: xmlrpc_encode_request fail with CAPITAL string multibyte -Status: Feedback +Status: No Feedback Type: Bug Package: mbstring related Operating System: ANY PHP Version: 7.0.24 Assigned To: cmb Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2018-03-19 13:00:59] cmb@php.net What is the value of $MSJ? Please do var_dump($MSJ); ------------------------------------------------------------------------ [2017-09-29 02:24:56] rg at mejoramos dot com Description: ------------ Hi. My script XMLRPC work fine, even with multibyte string. But when I used CAPITAL strings (multibyte), PHP broken. Example: (send by GET or POST a sample string as "My string target is ññ and ÑÑ") you obtain this: <?php $MSJ = xmlrpc_encode_request('manarchi', $_GET, ARRAY('XML')); echo html_entity_decode($MSJ, NULL, 'ISO-8859-1'); ?> output: --------------------------- My string target is ññ and ?&#145;?&#145; --------------------------- correct output: --------------------------- My string target is ññ and ÑÑ --------------------------- then you obtain fine the FIRST letters (ññ), but capital ÑÑ is wrong. you can see, fail only with CAPITAL strings. Thanks by review, really I need capital letters in my program. Regards. Test script: --------------- Hi. My script XMLRPC work fine, even with multibyte string. But when I used CAPITAL strings (multibyte), PHP broken. Example: (send by GET or POST a sample string as "My string target is ññ and ÑÑ") you obtain this: <?php $MSJ = xmlrpc_encode_request('manarchi', $_GET, ARRAY('XML')); echo html_entity_decode($MSJ, NULL, 'ISO-8859-1'); ?> output: --------------------------- My string target is ññ and ?&#145;?&#145; --------------------------- correct output: --------------------------- My string target is ññ and ÑÑ --------------------------- then you obtain fine the FIRST letters (ññ), but capital ÑÑ is wrong. you can see, fail only with CAPITAL strings. Thanks by review, really I need capital letters in my program. Regards. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=75281&edit=1

« previous php.bugs (#215915) next »