Skip to content

Note on special characters #99

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

Merged
merged 1 commit into from
Oct 23, 2018
Merged

Note on special characters #99

merged 1 commit into from
Oct 23, 2018

Conversation

philsturgeon
Copy link
Contributor

@philsturgeon philsturgeon commented Oct 23, 2018

Just like the folks in #38, we were getting some errors with special characters.

Response could not be serialized: "\xC3" from ASCII-8BIT to UTF-8. Try using Marshal to serialize.

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

Until this has been solved properly (why are JSON payloads with application/json; charset=utf8 being converted from ASCII-8BIT?!), pushing folks towards the Marshal serializer seems like a good call.

@lucasmazza
Copy link
Collaborator

@philsturgeon I haven't dedicated much time to drill down on the encoding issues (I don't know if that's more on the faraday/connection level or if this gem is screwing up), but the expanded docs and the mention to oj or yajl should help new users. Thanks ❤️

@lucasmazza lucasmazza merged commit 80cdf6c into sourcelevel:master Oct 23, 2018
@philsturgeon philsturgeon deleted the patch-1 branch October 23, 2018 20:05
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

Successfully merging this pull request may close these issues.

2 participants