Set default internal charset to UTF8 and change tests accordingly; add function has_e...
[plcapi.git] / src / PhpXmlRpc.php
index 88b8f70..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
+    // 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";