I am trying to return a UTF8 String from and XML RPC server but the
characters are coming wrong.
On the server I have:
On the client I have:
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.