|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2018-03-19 13:00 UTC] cmb@php.net
-Status: Open
+Status: Feedback
-Assigned To:
+Assigned To: cmb
[2018-03-19 13:00 UTC] cmb@php.net
[2018-06-24 04:25 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 13 22:00:01 2025 UTC |
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 ?‘?‘ --------------------------- 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 ?‘?‘ --------------------------- 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.