Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

StringDelimitedProcessor should handle multibyte characters properly #36

Merged
merged 4 commits into from
Mar 18, 2013

Conversation

xsl
Copy link
Contributor

@xsl xsl commented Mar 18, 2013

This fixes our issue with messages containing multibyte UTF-8 characters. Related to issue #35

private static int DEFAULT_READ_COUNT = 64;
private final static int MAX_ALLOWABLE_BUFFER_SIZE = 500000;

private byte CR = 13;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think both these should be static final

@xsl
Copy link
Contributor Author

xsl commented Mar 18, 2013

updated

kevinoliver added a commit that referenced this pull request Mar 18, 2013
StringDelimitedProcessor should handle multibyte characters properly
@kevinoliver kevinoliver merged commit fda49a8 into master Mar 18, 2013
@apurtell
Copy link

Trying fda49a8 of master, my test app immediately fails with a constant stream of NumberFormatExceptions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants