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

Problem with ASCII-8BIT body encoding #27

Closed
rawphp opened this issue Jan 23, 2019 · 1 comment
Closed

Problem with ASCII-8BIT body encoding #27

rawphp opened this issue Jan 23, 2019 · 1 comment

Comments

@rawphp
Copy link

rawphp commented Jan 23, 2019

I'm trying to verify a provider that uses a SOAP api and returns the body as XML encoded in ASCII-8BIT.

`
Failures:

  1. Verifying a pact between dhl-paket-integration and dhl-paket Given with POST /services/sandbox/soap returns a response which has a matching body
    Failure/Error: expect(response_body).to match_term expected_response_body, diff_options, example

    Encoding::UndefinedConversionError:
    "\xC3" from ASCII-8BIT to UTF-8

`

Do you have any plans to support this encoding type?

@bethesque
Copy link
Member

No, I'm sorry. The JSON file encoding is UTF-8, so I don't know how we'd achieve the serialization of an ASCII-8BIT character within that.

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