Fix ArrayIterator interface implementation; remove usage of arraysize(), structsize...
[plcapi.git] / src / PhpXmlRpc.php
index 7de98c0..84597e6 100644 (file)
@@ -65,8 +65,9 @@ class PhpXmlRpc
 
     // 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
-    public static $xmlrpc_internalencoding = "ISO-8859-1"; // TODO: maybe this would be better as UTF-8, or atleast configurable?
+    // as if having been coded with this.
+    // Valid also when defining names of xmlrpc methods
+    public static $xmlrpc_internalencoding = "UTF-8";
 
     public static $xmlrpcName = "XML-RPC for PHP";
     public static $xmlrpcVersion = "4.0.0.beta";
@@ -97,7 +98,7 @@ class PhpXmlRpc
 
         // NB: all the variables exported into the global namespace below here do NOT guarantee 100%
         // compatibility, as they are NOT reimported back during calls to importGlobals()
-        
+
         $reflection = new \ReflectionClass('PhpXmlRpc\Value');
         foreach ($reflection->getStaticProperties() as $name => $value) {
             $GLOBALS[$name] = $value;
@@ -136,4 +137,5 @@ class PhpXmlRpc
             }
         }
     }
+
 }