// 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";
// 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;
}
}
}
+
}