julien-c / Circular

An open source Buffer app clone
http://circular.io
MIT License
1.03k stars 193 forks source link

Fix tweet length #58

Closed potomak closed 9 years ago

potomak commented 9 years ago

This PR introduces the twitter-text library, as suggested by @dhilowitz, to compute

the length of Tweet text with consideration to t.co URL replacement and chars outside the basic multilingual plane that use 2 UTF16 code points

Note: I didn't test the new countdown function.

See https://github.com/julien-c/Circular/issues/48

julien-c commented 9 years ago

Thanks! I'll deploy this to circular.io tonight.

julien-c commented 9 years ago

Deployed.

potomak commented 9 years ago

:+1: