-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Emoji decode when recieve a message #373
Comments
I already have the codes and the full size sprite image, just need a clone of myself to make some time to implement this.. $emojis = array(
"‼",
"⁉",
"ℹ",
"↔",
"↕",
"↩",
"↪",
"⌚",
"⌛",
...
"\ud83d\udeb4",
"\ud83d\udeb5",
"\ud83d\udeb7",
"\ud83d\udeb8",
"\ud83d\udebf",
"\ud83d\udec1",
"\ud83d\udec2",
"\ud83d\udec3",
"\ud83d\udec4",
"\ud83d\udec5"
} |
I'm on my phone at the moment so I can't tell correctly but is that the full emoji sprite you're using @shirioko? If so I think you're missing loads of them. Check out my last commits to get another sprite. Hope that helps. |
I think so too, I remember having a lot more emojis on my Android device than on WP7 which I'm using right now. |
i think its per device. Here is a link to the emoji of ios6 |
The emoji are actually part of the unicode standard, although most platforms only support a small selection of them (https://en.wikipedia.org/wiki/Emoji). |
what i dont get is: i recieve this (well it printen in the shell) � this sould be the pile of poo emoji (1F4A9) |
Encodings. Unicode is often represented as UTF-8. In plain old ascii, every byte was a character. However, to support more than 255 characters, UTF-8 was introduced which combines multiple bytes into a single character. The 'pile of poo' emoji has the code e05a here (python interactive session for demonstration): >>> u"" u'\ue05a' >>> u"".encode('utf-8') '\xee\x81\x9a' >>> print "\xee" î >>> print "\x81" (note: this seems to be an invalid character) >>> print "\x9a" š And when I look up e05a.png (extracted from apk) it is the pile of poo as expected. |
Does anyone know how to filter the emoji in a recieving message?
i'm creating a messageboard with this api to display recieved messages on a big screen. but the problem is that i get those special char that supose to be a emoji.
does anyone have a function so that i can filter them out and display a emoij from a gif file (css or so)?
The text was updated successfully, but these errors were encountered: