[phpxmlrpc-devel] XMLRPC in UTF8
Brought to you by:
ggiunta
From: Daniel B. <da...@be...> - 2007-12-11 19:17:13
|
Hi I am trying to return a UTF8 String from and XML RPC server but the characters are coming wrong. On the server I have: $s->response_charset_encoding='UTF-8'; On the client I have: $dclient->request_charset_encoding ='UTF-8'; on the Response on the server I have: return new xmlrpcresp(new xmlrpcval($companyname)); I am on debug mode, and I always get an error saying: XML error: not well-formed (invalid token) at line 5, column 25 There was an error: 2 Invalid return payload: enable debugging to examine incoming payload (XML error: not well-formed (invalid token) at line 5, column 25) If the UTF8 characters are not there, I dont get the error. So maybe I am missing some encoding. Thanks Daniel |