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

Insert replacement characters like node does when converting UTF8 bytes to String #67

Merged
merged 7 commits into from
Aug 11, 2015

Conversation

jessetane
Copy link
Collaborator

Possible fix for #66

@dcousens dcousens self-assigned this Aug 11, 2015
@dcousens
Copy link
Collaborator

Will review today

@jessetane
Copy link
Collaborator Author

Cool, thanks. I just installed node@3 and I see now it is replacing things in the surrogate pair range - pushing a test and fix for that now..

@feross
Copy link
Owner

feross commented Aug 11, 2015

LGTM. Waiting for @dcousens. Feel free to merge when it looks good. Then I'll do a release.

@dcousens
Copy link
Collaborator

LGTM. Nice implementation, I might break down down some of the indentation through the use of continue/break.

dcousens added a commit that referenced this pull request Aug 11, 2015
Insert replacement characters like node does when converting UTF8 bytes to String
@dcousens dcousens merged commit 440d744 into feross:master Aug 11, 2015
@feross
Copy link
Owner

feross commented Aug 13, 2015

Published as 3.4.2.

@jessetane jessetane deleted the utf8-replacement-chars branch August 16, 2015 22:29
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