-
-
Notifications
You must be signed in to change notification settings - Fork 356
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 encoding. #101
Comments
I created a pull request that fixes this issue, without changing the default soap_defencoding: #114 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I am creating the server and add
$server->soap_defencoding = 'UTF-8';
The XML is always generated with encoding="ISO-8859-1".
Inside the nusoap class the change was made:
//var $soap_defencoding = 'ISO-8859-1';
var $soap_defencoding = 'UTF-8';
The XML is always generated with encoding="ISO-8859-1".
In line 5643 it was found
$xml = '<?xml version="1.0" encoding="ISO-8859-1"?>';
was replaced by
$xml = '<?xml version="1.0" encoding="' . $this->soap_defencoding . '"?>';
The XML is already generated correctly
<?xml version="1.0" encoding="UTF-8"?>
The text was updated successfully, but these errors were encountered: