Hello,
 still a message about WebServices plugin ...

 In xmlrpc.php you should specify the 'escaping' parameter when encoding
the response. Escaping the marking overloads the default behavior that
breaks the UTF-8 encoding of the strings that are sent back to the xmlrpc
client. Result is that the tickets name or content are borken if they
contain accented characters.

 I modified the xmlrpc.php file as hereunder to get a clean content.

 Best regards, Fred.


if ($iso) {

   decodeFromUtf8Array($resp);

   echo xmlrpc_encode_request(NULL,$resp,array('encoding'=>'iso-8859-1'));

} else {

   // request without method is a response ;)

   echo xmlrpc_encode_request(NULL,$resp,array('encoding'=>'utf-8'*,
'escaping'=>'markup'*));

}
_______________________________________________
Glpi-dev mailing list
Glpi-dev@gna.org
https://mail.gna.org/listinfo/glpi-dev

Reply via email to