Skip to content

Fix UTF-8 validation for high codepoints (>10000) #2386

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

Merged
merged 2 commits into from
Jun 16, 2017
Merged

Conversation

axic
Copy link
Member

@axic axic commented Jun 13, 2017

Fixes #2383.

Copy link
Contributor

@chriseth chriseth left a comment

Choose a reason for hiding this comment

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

I don't think this is correct, it seems to be more complicated: https://stackoverflow.com/questions/6555015/check-for-invalid-utf8

@0xcaff
Copy link

0xcaff commented Jun 14, 2017

This check isn't complete but at least it works for larger codepoints.

@chriseth
Copy link
Contributor

Ok, will fix the problem later: #2412

@chriseth chriseth merged commit 3abadc7 into develop Jun 16, 2017
@0xcaff
Copy link

0xcaff commented Jun 16, 2017

Aww yeah! We're going to have so many emojis in everything now! 💯💥🦄⚡🔥🌈⭐Thanks guys!

@axic axic deleted the utf8-fix branch June 18, 2017 21:05
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