Skip to content

ripcord_client response encoding #8

@BlackBonjour

Description

@BlackBonjour

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'] );

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions