emojis in subject line

0 votes
asked Sep 29 by Mohamed Oualha (120 points)

Hi,
How can you include emoticones in subject lines?
Thanks

Applies to: Rebex Secure Mail

1 Answer

0 votes
answered Oct 1 by Lukas Matyska (47,950 points)
edited Oct 1 by Lukas Matyska

Unfortunately, emoticons are covered by Unicode surrogate pair characters, which are not supported correctly in the current version.

This will be fixed in the next release. If you have active support and you want to receive hotfix version right now, please let us know.

For list of available Unicode emoticons see and its representations in different systems visit https://apps.timwhitlock.info/emoji/tables/unicode.

To specify an emoticon just copy&paste from the list above:

var mail = new MailMessage();
mail.Subject = "GRINNING FACE _COPY_AND_PASTE_HERE_"; 

or use the UTF-8 notation like this:

mail.Subject = "GRINNING FACE " + Encoding.UTF8.GetString(new byte[] { 0xF0, 0x9F, 0x98, 0x80 });
commented Oct 1 by Mohamed Oualha (120 points)
Hi Lukas,
I tried both of your suggestion on the current trial version  (2018-R2.1) but did get two question marks for the emoticon?
I don't think Rebex allow changing the charset of the header?
Many thanks,
Mo.
commented Oct 1 by Lukas Matyska (47,950 points)
The support for Unicode surrogate pair characters will be added in next release (2018-R3).

You can try trial hotfix version, which is available at  https://www.rebex.net/getfile/a547c27514914bfeb091a44ad7f850c4/RebexSecureMail-HotfixBuild6849-Trial-Binaries.zip
commented Oct 1 by Mohamed Oualha (120 points)
that works like a charm,
As usual excellent support, I'm renewing my product today!
Thank you very much.
commented Oct 1 by Mohamed Oualha (120 points)
One last thing,
Just bought/renewed the Secure mail package, I've got the full version (2.0.6821.0).
How to download the updated full version of the fix above?
Thank you.
commented Oct 1 by Lukas Matyska (47,950 points)
I have sent you link to full version to your email.
...