* along with http headers, so we are bound by RFC 3023 to emit strict us-ascii.\r
*\r
* @todo do a bit of basic benchmarking (strtr vs. str_replace)\r
- * @todo make usage of iconv() or recode_string() or mb_string() where available\r
+ * @todo make usage of iconv() or recode_string() or mb_string() where available\r
*/\r
function xmlrpc_encode_entitites($data, $src_encoding='', $dest_encoding='')\r
{\r
// we always initialize the accumulator before starting parsing, anyway...\r
//if(!@isset($xmlrpc->_xh['ac']))\r
//{\r
- // $xmlrpc->_xh['ac'] = '';\r
+ // $xmlrpc->_xh['ac'] = '';\r
//}\r
$xmlrpc->_xh['ac'].=$data;\r
}\r
// G. Giunta 2006-08-25: useless change of 'lv' from 1 to 2\r
//if($xmlrpc->_xh['lv']==1)\r
//{\r
- // $xmlrpc->_xh['lv']=2;\r
+ // $xmlrpc->_xh['lv']=2;\r
//}\r
$xmlrpc->_xh['ac'].=$data;\r
}\r
* @author Dan Libby (dan@libby.com)\r
*\r
* @param mixed $php_val the value to be converted into an xmlrpcval object\r
- * @param array $options can include 'encode_php_objs', 'auto_dates', 'null_extension' or 'extension_api'\r
+ * @param array $options can include 'encode_php_objs', 'auto_dates', 'null_extension' or 'extension_api'\r
* @return xmlrpcval\r
*/\r
function php_xmlrpc_encode($php_val, $options=array())\r
return false;\r
}\r
}\r
-\r
-?>
\ No newline at end of file