-
Notifications
You must be signed in to change notification settings - Fork 62
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
Some Unicode characters aren't iterated correctly #8
Comments
I know that some Unicode surrogate pairs aren't handled by 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 |
An example of using the String normalize method: [...'cafeΜ'].length === 5
[...'cafeΜ'.normalize()].length === 4 |
@camwiegert thx your replay. |
thx! i like this repo, but unicode is a trouble, such as:
The text was updated successfully, but these errors were encountered: