Sunday 15 March 2015

facebook graph api - How to interpret FB API encoding -


Here's a public FB post: Big Brother Time, and others, note the emoji.

The question that searches for the same post:

The query includes: "Message": "Big Brother Time! \ Udbb9 \ udd38 has arrived"

How does one interpret \ udbb9 \ udd38? Is not standard Unicode, nor is it UTF-8. How does someone translate right into UTF-8, which is \ uF09F \ 92BB?

Facebook has emoji encoded using "Google" encoding, as you can see.

\ udbb9 \ udd38 javascript escape UTF-8, and when unchanging U + FE538 .

I'm not sure that you can not see the original post, but you can not see the U + FE538 as Personal Computer < / Code>, which is in the unicode U + 1F4BB , which looks like this emoji: ð ???? »

I do not know which language you are working in, but I made a ruby ​​gem that helps with conversion from Google encoding integrated Unicode

No comments:

Post a Comment