propublica / politwoops_sunlight

Politwoops web front end
Other
44 stars 30 forks source link

Tweet content breaks after emoji #22

Closed nickom closed 10 years ago

nickom commented 10 years ago

Looks like Politwoops is having some trouble with the content after (and including) emoji. Here's how a recent deleted retweet looks: http://politwoops.sunlightfoundation.com/tweet/458781910794534912 screen shot 2014-04-23 at 10 53 26 am

and here's how the original tweet looks: https://twitter.com/17Veronicacejas/status/458780388337664002 screen shot 2014-04-23 at 10 53 35 am

dvogel commented 10 years ago

Most fonts lack emoji support. Twitter replaces those characters with images in their webpage. Our database technology doesn't support these characters. For now I've just replaced them with the standard replacement character. This should be revisited in the future, once we upgrade mysql.