X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2FServer.php;h=199a7a6277721fb4420245000726a1142c1f2d09;hb=b6681659a7cabd3599f6a7040aa06fa75e4be052;hp=d5134baa4e4667cfd00899fca1dda1f82f75632f;hpb=81718c9d09a3be92fe37fa0ed0f2254d5e65eeb2;p=plcapi.git diff --git a/src/Server.php b/src/Server.php index d5134ba..199a7a6 100644 --- a/src/Server.php +++ b/src/Server.php @@ -524,6 +524,7 @@ class Server // This allows to send data which is native in various charset, // by extending xmlrpc_encode_entities() and setting xmlrpc_internalencoding if (!in_array(PhpXmlRpc::$xmlrpc_internalencoding, array('UTF-8', 'ISO-8859-1', 'US-ASCII'))) { + /// @todo emit a warning $options = array(XML_OPTION_TARGET_ENCODING => 'UTF-8'); } else { $options = array(XML_OPTION_TARGET_ENCODING => PhpXmlRpc::$xmlrpc_internalencoding);