You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know that some Unicode surrogate pairs aren't handled by String.prototype[Symbol.iterator], which is how this library iterates over strings.
Many emoji and other Unicode characters are handled correctly, but some surrogate pairs and diacritics cause an issue. I'd like to handle as many cases as possible without greatly increasing the complexity of the library or introducing a dependency.
One thing I haven't done yet is use String.prototype.normalize on string arguments. I'm going to use this issue to discuss options. Thank you!
camwiegert
changed the title
wouderful repo, but unicode is a trouble
Some Unicode characters aren't iterated correctly
Jan 13, 2020
thx! i like this repo, but unicode is a trouble, such as:
The text was updated successfully, but these errors were encountered: