jugyo / earthquake

Twitter terminal client with streaming API support.
MIT License
661 stars 94 forks source link

Unicode character appeared as HTML entity #99

Open seppo0010 opened 12 years ago

seppo0010 commented 12 years ago

In this tweet https://twitter.com/#!/xeBuz/status/154298953389703168

the character ♥ appeared as ♥ in the timeline.

no6v commented 12 years ago

Web based clients seem to support it, but there is no pattern to unescape the HTML entity. This will be fixed to add one line at output :tweet proc. I'm not sure this can produce some side-effect or not.

text = CGI.unescape_html(text)