Charles Schwedes

unread,
Apr 23, 2015, 11:43:40 AM4/23/15
to mitappinv...@googlegroups.com
How can I read and write emoticon codes? Can I access a Unicode string and do something with it? Thanks. Charles 

Abraham Getzler

unread,
Apr 23, 2015, 4:45:24 PM4/23/15
to mitappinv...@googlegroups.com
You can copy and paste into text blocks.
See attached screen shot with content 
copied from

ABG

Text Block with Smileys.jpg

Charles Schwedes

unread,
Apr 23, 2015, 8:26:40 PM4/23/15
to mitappinv...@googlegroups.com
Abraham,
You have given me great ideas in the past. Thank you!. I'll use this info soon another day. Today I put a number of emoji into a list using my phone. That worked fine but I knew as soon as I reloaded the list it would be gone. Next I tried to export it to my web page and reimport it to find that the lovely emoji were changed into strange character, not Unicode as I had expected. For my texting application I can certainly display emoji but I can't identify any one individually. Thanks again. Charles

Abraham Getzler

unread,
Apr 24, 2015, 10:59:37 AM4/24/15
to mitappinv...@googlegroups.com
I should mention a couple of blocks that come along with the Web component
that are useful for encoding and decoding hex strings to and from text.

Web1.HTMLTextDecode will take a hex string and turn it into special characters,
if you precede it with &#x and follow it with ;
(see attached for the construction of a UTF-8 Byte Order Marker example).

Web1.UriEncode can provide a hex view of an otherwise
unreadable string.

And finally, AI2 works in UTF-8, and not all Unicode code pages might
be available in your Android device, emulator, web browser, etc.

ABG

save_File_with_BOM.jpg
Reply all
Reply to author
Forward
0 new messages