poef / ripcord

Automatically exported from code.google.com/p/ripcord
42 stars 43 forks source link

ripcord_client response encoding #8

Open BlackBonjour opened 9 years ago

BlackBonjour commented 9 years ago

Hi,

I'm using ripcord to get data from Odoo. When sending some request to Odoo, I get the response in ASCII charset, but the request was defined as UTF-8.

In file ripcord_client.php on line 229, there is missing a second parameter for xmlrpc_decode().

Instead of

$result = xmlrpc_decode( $response );

there should be something like this

$result = xmlrpc_decode( $response, $this->_outputOptions['encoding'] );

funbaker commented 8 years ago

I created a fork and a pull request for this. Doesnt looks like that this project is alive?