X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2FPhpXmlRpc.php;h=086a90a5c5daa735baf8ca7636e9f3ff459fea59;hb=5e0dcb083a6c7e1f84fe3dd27bc9cae0d8f5ea7a;hp=84597e6b4d739d898c6c7e59f4dc187627d8b648;hpb=5282cf295c80ee4acfdde505e7122d050e574596;p=plcapi.git diff --git a/src/PhpXmlRpc.php b/src/PhpXmlRpc.php index 84597e6..086a90a 100644 --- a/src/PhpXmlRpc.php +++ b/src/PhpXmlRpc.php @@ -60,9 +60,15 @@ class PhpXmlRpc // The charset encoding used by the server for received requests and // by the client for received responses when received charset cannot be determined - // or is not supported + // and mbstring extension is not enabled public static $xmlrpc_defencoding = "UTF-8"; + // The list of encodings used by the server for requests and by the client for responses + // to detect the charset of the received payload when + // - the charset cannot be determined by looking at http headers, xml declaration or BOM + // - mbstring extension is enabled + public static $xmlrpc_detectencodings = array(); + // The encoding used internally by PHP. // String values received as xml will be converted to this, and php strings will be converted to xml // as if having been coded with this. @@ -70,7 +76,7 @@ class PhpXmlRpc public static $xmlrpc_internalencoding = "UTF-8"; public static $xmlrpcName = "XML-RPC for PHP"; - public static $xmlrpcVersion = "4.0.0.beta"; + public static $xmlrpcVersion = "4.0.0.alpha"; // let user errors start at 800 public static $xmlrpcerruser = 800;