stringz
stringz copied to clipboard
Incorrect length for some strings
length('Z͑ͫ̓ͪ̂ͫ̽͏̴̙̤̞͉͚̯̞̠͍A̴̵̜̰͔ͫ͗͢L̠ͨͧͩ͘G̴̻͈͍͔̹̑͗̎̅͛́Ǫ̵̹̻̝̳͂̌̌͘!͖̬̰̙̗̿̋ͥͥ̂ͣ̐́́͜͞')
returns 27 instead of 6
hahahah, so this is the charm of unicode.
I honestly don’t know how to debug that 😂 I’m open to recommendations
I found the string here https://mathiasbynens.be/notes/javascript-unicode (idk if that's some sort of help)