I am trying to parse tweets in order to add links on hashtags, mentions, etc. But when a tweet contain a special character like "", this character is count as 2, for exemple :
console.log("it was fantastic. Thanks a lot guys ".length);
This line return 38, not 37. So when I use "indices" from the entities of twitter api, everything is shifted.
Is there any solution to avoid this ?
Thanks in advance!