Skip to content
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

Incorrect length for some strings #33

Open
cinan opened this issue Jun 4, 2019 · 3 comments · May be fixed by #54
Open

Incorrect length for some strings #33

cinan opened this issue Jun 4, 2019 · 3 comments · May be fixed by #54

Comments

@cinan
Copy link

cinan commented Jun 4, 2019

length('Z͑ͫ̓ͪ̂ͫ̽͏̴̙̤̞͉͚̯̞̠͍A̴̵̜̰͔ͫ͗͢L̠ͨͧͩ͘G̴̻͈͍͔̹̑͗̎̅͛́Ǫ̵̹̻̝̳͂̌̌͘!͖̬̰̙̗̿̋ͥͥ̂ͣ̐́́͜͞') returns 27 instead of 6

@cbbfcd
Copy link

cbbfcd commented Jun 18, 2019

hahahah, so this is the charm of unicode.

@sallar
Copy link
Owner

sallar commented Jun 18, 2019

I honestly don’t know how to debug that 😂 I’m open to recommendations

@cinan
Copy link
Author

cinan commented Jun 18, 2019

I found the string here https://mathiasbynens.be/notes/javascript-unicode (idk if that's some sort of help)

@Richienb Richienb linked a pull request Jul 18, 2022 that will close this issue
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 a pull request may close this issue.

3 participants