Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ripcord_client response encoding #8

Open
BlackBonjour opened this issue Jul 15, 2015 · 1 comment
Open

ripcord_client response encoding #8

BlackBonjour opened this issue Jul 15, 2015 · 1 comment

Comments

@BlackBonjour
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants