Closed harperreed closed 10 years ago
Thanks, I'll take a look.
Thanks! I was diving in - but am rusty.
On Thu, Jul 24, 2014 at 2:14 PM, Arne Roomann-Kurrik < notifications@github.com> wrote:
Thanks, I'll take a look.
— Reply to this email directly or view it on GitHub https://github.com/kurrik/twittergo/issues/2#issuecomment-50064326.
Harper Reed t: @harper p: +1 (773) 469-7666
That's what I get for rolling my own JSON decoder. For some reason Go doesn't want to unescape these correctly (or I'm going about it completely wrong) but I've added support here: https://github.com/kurrik/json/commit/f63ef626c5ffbfcd5dd5430c18c8b2eb14593c38
I've also added an example which fetches all of Twitter's sample emoji Tweets and prints them: https://github.com/kurrik/twittergo-examples/blob/master/emoji/main.go
You'll need to update your json dependency, typically through go get -u github.com/kurrik/json
(make sure to include the -u flag to pull the new version)
Let me know how that works for you!
Worked! Thanks!
On Thu, Jul 24, 2014 at 6:29 PM, Arne Roomann-Kurrik < notifications@github.com> wrote:
That's what I get for rolling my own JSON decoder. For some reason Go doesn't want to unescape these correctly (or I'm going about it completely wrong) but I've added support here: kurrik/json@f63ef62 https://github.com/kurrik/json/commit/f63ef626c5ffbfcd5dd5430c18c8b2eb14593c38
I've also added an example which fetches all of Twitter's sample emoji Tweets and prints them: https://github.com/kurrik/twittergo-examples/blob/master/emoji/main.go
[image: selection_017] https://cloud.githubusercontent.com/assets/166424/3696103/ee1a6894-1388-11e4-99ab-786d45373bc5.png
You'll need to update your json dependency, typically through go get -u github.com/kurrik/json (make sure to include the -u flag to pull the new version)
Let me know how that works for you!
— Reply to this email directly or view it on GitHub https://github.com/kurrik/twittergo/issues/2#issuecomment-50091573.
Harper Reed t: @harper p: +1 (773) 469-7666
Emoji coming through the twitter API is not being passed correctly through twittergo, and thus is not rendering when displaying
For example:
The good part:
Not quite sure how to remedy this. I did some testing and other unicode seems to work fine (japanese language, etc).