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

[STORM-2467] Use explicit charset when decoding from array backed buffer #2055

Merged
merged 1 commit into from Apr 14, 2017
Merged

[STORM-2467] Use explicit charset when decoding from array backed buffer #2055

merged 1 commit into from Apr 14, 2017

Conversation

marcust
Copy link
Contributor

@marcust marcust commented Apr 11, 2017

We had the case that this broke encoding for us because it used the default
system locale. Given the fact that this code uses an explicit encoding for the
other case and that it evolved from something that always used an explicit
encoding I believe this is more correct.

@srdo
Copy link
Contributor

srdo commented Apr 11, 2017

Nice find. The change LGTM. You should create an issue for this at https://issues.apache.org/jira/browse/STORM so the bugfix gets tracked. Then rename this PR and the commit message to include the issue number (example https://github.com/apache/storm/pull/2057/commits).

We had the case that this broke encoding for us because it used the default
system locale. Given the fact that this code uses an explicit encoding for the
other case and that it evolved from something that always used an explicit
encoding I believe this is more correct.
@marcust marcust changed the title Use explicit charset when decoding from array backed buffer [STORM-2467] Use explicit charset when decoding from array backed buffer Apr 11, 2017
@marcust
Copy link
Contributor Author

marcust commented Apr 11, 2017

@srdo Done

@HeartSaVioR
Copy link
Contributor

+1 Nice finding.

@asfgit asfgit merged commit 10dc53b into apache:master Apr 14, 2017
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.

4 participants