New topic: 

Emoji?

<http://forums.realsoftware.com/viewtopic.php?t=30502>

       Page 1 of 1
   [ 4 posts ]                 Previous topic | Next topic         Author  
Message       pizzafilms           Post subject: Emoji?Posted: Thu Oct 15, 2009 
2:30 pm                        
Joined: Thu Oct 15, 2009 2:25 pm
Posts: 2              Anyone know much about reading/decoding emoji characters?

I'm trying to read emoji characters that are in text messages in the iPhone 
database. I can read the string and can see when a character is > asc 127, but 
don't know how to decode them. Every reference I see online doesn't seem to be 
consistent.

Also, any idea where to find a workable character set or images would be 
helpful as well.

Any help would be great. Thanks.   
                            Top                timhare           Post subject: 
Re: Emoji?Posted: Thu Oct 15, 2009 2:52 pm                        
Joined: Fri Jan 06, 2006 3:21 pm
Posts: 6571
Location: Portland, OR  USA              You most likely need to define the 
encoding of the string you read in.  RB won't know what to expect, so the 
string is read with a nil encoding.  Use DefineEncoding to set it to the proper 
encoding, and RB will be able to display it.

Tim   
                            Top               pizzafilms           Post 
subject: Re: Emoji?Posted: Thu Oct 15, 2009 5:38 pm                        
Joined: Thu Oct 15, 2009 2:25 pm
Posts: 2              Well, I tried setting the encoding to UTF16 which is what 
most SMS messages should be and it did not decode it into an Emoji character. 
It just looked like a Japanese character. Man, that would have been too easy.

I was assuming that I'd have to do the decoding myself, but I can't even find a 
good source that shows what characters go with what Unicode characters.

    
                            Top                timhare           Post subject: 
Re: Emoji?Posted: Thu Oct 15, 2009 6:17 pm                        
Joined: Fri Jan 06, 2006 3:21 pm
Posts: 6571
Location: Portland, OR  USA              After perusing the Wikipedia page for 
emoji, I think you're right.  Only one of the providers actually uses UTF-16 
characters for the symbols, but draws them using their own icons.  The others 
use other mechanisms to embed the symbols.

Tim   
                            Top           Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 4 posts ]     
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to