[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to display an email subject with Apple emojis?


The UTF-8 string "8J+OhPCfjrg=" is Base64 encoded and was received as "=?utf-8?B?8J+OhPCfjrg=?=" which represents the subject of an email and consists of two emoji-icons ...

1) a Christmas tree and

2) a guitar

It was sent by an IOS smart phone.

This code line ...

Print UnBase64("8J+OhPCfjrg=")

displays a Christmas tree and a guitar in the IDE console in b/w.

But this code line ..

TextBox1.text = UnBase64("8J+OhPCfjrg=")

displays just two rectangles in the TextBox. But when I copy these two rectangles and paste them into the Gambas source-code editor, I get two beautiful coloured emojis. So Gambas seems to be able to display Apple emojis but what is the trick and how can I display an email subject with Apple emojis in a single line Gambas control?

Any help is welcome.

Best regards

Claus










Follow-Ups:
Re: How to display an email subject with Apple emojis?Charlie Ogier <charlie@xxxxxxxxxx>