I’m trying to figure out how to take advantage of emoticons that exist in the font marker felt. There are smileys and frowns that exist in the font, but when I copy them into the code editor they change into strange symbols. Is there a way to include them via hex code? [import]uid: 10903 topic_id: 35614 reply_id: 335614[/import]
The string.char() API call is what you want.
http://docs.coronalabs.com/api/library/string/char.html
[import]uid: 199310 topic_id: 35614 reply_id: 141616[/import]
Thanks, tried that and didn’t work. What did work as finding a unicode smiley and pasting that in directly. Apparently the smiley I was copying wasn’t unicode. [import]uid: 10903 topic_id: 35614 reply_id: 141648[/import]
The string.char() API call is what you want.
http://docs.coronalabs.com/api/library/string/char.html
[import]uid: 199310 topic_id: 35614 reply_id: 141616[/import]
Thanks, tried that and didn’t work. What did work as finding a unicode smiley and pasting that in directly. Apparently the smiley I was copying wasn’t unicode. [import]uid: 10903 topic_id: 35614 reply_id: 141648[/import]