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

UTF8 force #367

Merged
merged 1 commit into from
Mar 15, 2017
Merged

UTF8 force #367

merged 1 commit into from
Mar 15, 2017

Conversation

cbschuld
Copy link
Contributor

Proposing a force to UTF8 encoding on set for content value and message subject. If you pass non-UTF8 into the v3 API currently it will error with no reason giving; a "null" response with zero feedback to the caller. My "experience" is I had customer data with awkward encoding which caused a rabbit hole chase to find the core issue. I believe there is a good solid argument that my app should have forced the encoding. I agree with this. However, this fix at the SDK level may save someone else the pain. Also interested in other ways to work around it and open to feedback.

Proposing a force to UTF8 encoding on set for content value and message subject.  If you pass non-UTF8 into the v3 API currently it will error with no reason giving; a "null" response with zero feedback to the caller.  My "experience" is I had customer data with awkward encoding which caused a rabbit hole chase to find the core issue.  I believe there is a good solid argument that my app should have forced the encoding.  I agree with this.  However, this fix at the SDK level may save someone else the pain.  Also interested in other ways to work around it and open to feedback.
@thinkingserious thinkingserious added status: code review request requesting a community code review or review from Twilio status: cla needed labels Mar 15, 2017
@thinkingserious
Copy link
Contributor

Hello @cbschuld,

Thank you for the PR!

We will be reviewing this PR soon, in the mean time, if you have not, please be sure to sign our CLA so that we can merge your changes. Thanks again!

Team DX

@cbschuld
Copy link
Contributor Author

@thinkingserious - CLA should be on record now. Thanks!

@thinkingserious
Copy link
Contributor

Thanks for your contribution @cbschuld! When you get a chance, please fill out this form so we can send you some swag :)

thinkingserious added a commit that referenced this pull request Mar 15, 2017
thinkingserious added a commit that referenced this pull request Mar 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: code review request requesting a community code review or review from Twilio
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants