-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing bug that assumed # codepoints was equal to # UTF-8 bytes.
- Loading branch information
Tobin Baker
committed
Aug 12, 2015
1 parent
5b3c414
commit 2d53469
Showing
1 changed file
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2d53469
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch! Interestingly that it hasn't been discovered until now.
2d53469
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As long as all data was ASCII, the bug wouldn't have manifested. I didn't find it from buggy behavior, the code just caught my eye.