I needed some code that counts how many emoji are in a string of text, and: omg unicode.
http://jsbin.com/puwuqeb/edit?html,output …
-
-
just as a point of reference, Unicode char property data can be used to generate more accurate but more complex counts
-
... for instance ... https://github.com/nodejs/node/blob/master/src/node_i18n.cc …
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.
