✙:═∪‖


▶︎
,◎⟶
,◎
⇔▶︎
,‖⟶▶︎
,▶︎‖
⇕▶︎
,═⟶▶︎
,▶︎═
…⟂✙⟶⟂…✙
✙⟶

0⟶0
⇔
…*⟶
…═
⇕
…*⟶
…‖
...
..
.....◎......
..
..
..
...
...
.
...
.
. @increpare anyone know a way in js of splitting strings like this into an array of symbols? seems a bit hairy with stuff like "⇕▶︎
"
-
-
@increpare did you simply try string.split? Converting each char to get its char code could work as well -
@RShinSH yes, I did, and I tried some emoji parsing libraries that worked for emoji but not utf8 symbols (https://github.com/essdot/spliddit )
End of conversation
New conversation -
-
-
@increpare might be worth looking at@jlongster's https://github.com/jlongster/emojiscript …?Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@increpare ES6 is supposed to be better at stuff like this but this still seems to be not quite right. http://goo.gl/lmBjlo -
@tbreisacher@increpare ES6 lets you just write [...str] to make the array, by the way.
End of conversation
New conversation -
-
-
@increpare That's really tough because some of those symbols take up two spots in the string. JS is bad at Unicode. -
@increpare however, you can use string.charCodeAt() to extract the numbers corresponding to each element of the string
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.