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

[FIX] Ensure proper handling of multi-byte characters in streams #280

Merged
merged 3 commits into from
Feb 10, 2020

Conversation

matz3
Copy link
Member

@matz3 matz3 commented Feb 4, 2020

The stream encoding needs to be set in order to properly handle
multi-byte utf8 characters that are split between different chunks.

See:
https://nodejs.org/api/stream.html#stream_readable_setencoding_encoding

The stream encoding needs to be set in order to properly handle
multi-byte utf8 characters that are split between different chunks.

See:
https://nodejs.org/api/stream.html#stream_readable_setencoding_encoding
@matz3 matz3 requested a review from RandomByte February 4, 2020 15:59
@coveralls
Copy link

coveralls commented Feb 4, 2020

Coverage Status

Coverage increased (+0.01%) to 91.892% when pulling bb8a6f9 on fix-replaceStream-encoding into 33cc435 on master.

Copy link
Member

@RandomByte RandomByte left a comment

Choose a reason for hiding this comment

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

We need the same Node 8 exemption as in SAP/ui5-builder#411

@matz3 matz3 merged commit fe652e4 into master Feb 10, 2020
@matz3 matz3 deleted the fix-replaceStream-encoding branch February 10, 2020 13:17
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.

3 participants