twitter / twitter-text

Twitter Text Libraries. This code is used at Twitter to tokenize and parse text to meet the expectations for what can be used on the platform.
https://developer.twitter.com/en/docs/counting-characters
Apache License 2.0
3.07k stars 520 forks source link

issue with break line characters #320

Open Heartsky opened 4 years ago

Heartsky commented 4 years ago

I have this string : "↵XVJLP5 ↵" on twitter editor "↵" is 1 character, but it is 2 here Please help

'