Skip to content

Conversation

@verdy-p
Copy link

@verdy-p verdy-p commented Jun 13, 2020

The existing code only invalidates code points that are STRICTLY HIGHER than 0x110000; but 0x110000 itself is ALSO invalid.
The last test has reversed the order for test branches using ">" instead of "<" which is correct for all other tests (this could have used ">=", but it is more logical to reorder the branches in ascending order, and make the invalid codes handled in the last "else { }" branch.

This fixes bug #5 .

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.

1 participant