Count Unicode characters more accurately
This treats emoji like 🦊 as one instead of two characters. Still not perfect, but hopefully close enough. https://dev.to/coolgoose/quick-and-easy-way-of-counting-utf-8-characters-in-javascript-23ce
This commit is contained in:
parent
184e579d78
commit
00993cff25
Loading…
Reference in New Issue