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

UTF-8 decoding isn't set #10

Open
JRebhan opened this issue Nov 16, 2015 · 0 comments
Open

UTF-8 decoding isn't set #10

JRebhan opened this issue Nov 16, 2015 · 0 comments

Comments

@JRebhan
Copy link

JRebhan commented Nov 16, 2015

In the file ricord_client.php line 229 - xmlrpc_decode doesn't have the encoding parameter set correctly. Due to that strings are decoded into ISO-8859-1 and not UTF-8 (as that seems to be the default behavior for that function as documented in PHP Doc).

Suggested fix:

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

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

1 participant