diff --git a/NEWS.md b/NEWS.md index 4d6ee4b..d575cee 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,8 +1,9 @@ -## v1.0-beta (2021/1/..) +## v1.0-beta (2021/1/11) - Improved: support for handling UTF8 characters both in received and in generated xml - Improved: support for the `$encoding` argument in `xmlrpc_decode()` and `xmlrpc_decode_request()` - Improved: partial support for the `$options` parameter in `xmlrpc_encode_request`, allowing UTF8 in native strings + via setting `'encoding' => 'UTF-8'` and `'escaping' => 'markup'` ## v1.0-alpha (2020/12/31) diff --git a/README.md b/README.md index e22a3f3..b3fb5bc 100644 --- a/README.md +++ b/README.md @@ -13,10 +13,9 @@ Known differences from the original extension This library is not complete yet, and thus to be considered a Work in Progress. Main features missing are: -- character set handling: at the moment utf-8 and iso-8859-1 are supported: iso-8859-1 as default, and utf8 +- character set handling: at the moment only utf-8 and iso-8859-1 are supported, iso-8859-1 as default, and utf8: - via the `$encoding` argument to `xmlrpc_decode()` and `xmlrpc_decode_request()` - - via setting `'encoding' => 'UTF-8'` and `'escaping' => 'markup'` in the `$options` to `xmlrpc_encode_request` - + - via setting `'encoding' => 'UTF-8'` and `'escaping' => 'markup'` in the `$options` argument to `xmlrpc_encode_request` - the `xmlrpc_parse_method_descriptions` and `xmlrpc_server_register_introspection_callback` functions exist but do nothing - xmlrpc server method `system.describeMethods` is not implemented diff --git a/src/XmlRpc.php b/src/XmlRpc.php index 42fea08..ec69f40 100644 --- a/src/XmlRpc.php +++ b/src/XmlRpc.php @@ -203,7 +203,7 @@ public static function xmlrpc_encode($val) * of them. If method name === null, create an xmlrpc response instead * @param string $method * @param array $params - * @param array $output_options options array + * @param array $output_options options array. At the moment only partial support for 'encoding' and 'escaping' is provided * @return string * * @todo implement parsing/usage of options: encoding, escaping.