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

Default xml result-set response parsing to UTF-8 instead ISO-8859-1 #9

Closed
eeichinger opened this issue Jul 12, 2016 · 0 comments
Closed

Comments

@eeichinger
Copy link
Owner

Currently HTTP responses are parsed using iso-8859-1. This can be worked around by explicitly stating the charset in the response content-type:

        WireMock.stubFor(...)
        .....
                .willReturn(WireMock
                        .aResponse()
                        .withHeader("content-type", "application/xml; charset=utf-8")

use utf-8 as default to follow the principle of least surprise

@eeichinger eeichinger changed the title default resultset response parsing to UTF-8 instead ISO-8859-1 Default xml result-set response parsing to UTF-8 instead ISO-8859-1 Jul 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant