Emojis in Apple Mail Subject Line | Community
Skip to main content
New Participant
June 15, 2023
Solved

Emojis in Apple Mail Subject Line

  • June 15, 2023
  • 2 replies
  • 2068 views

hi everybody,

We use emojis in our subject line by UTF8 encoding them, e.g.

=?UTF-8?Q?Schon gewusst? =F0=9F=92=A1 Spannende Insights ?=

 

They work perfectly in all email apps and browsers, except apple email app. 

 

Has anybody experienced that issue and found a solution for that?

 

Thank you & kind regards,

Elisabeth

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

The problem is your Q-encoding is wrong.

 

In a Q-encoded sequence, if you need a literal question mark ? character it needs to be encoded as =3F, since the question mark has (extremely) special meaning in Q. In addition — though this other error is tolerated by mail clients — spaces need to encoded as =20 or _.

 

Therefore a correct encoding is:

 

=?UTF-8?Q?Schon_gewusst=3F=F0=9F=92=A1_Spannende_Insights?=

 

or

 

=?UTF-8?Q?Schon=20gewusst=3F=F0=9F=92=A1=20Spannende=20Insights?=

 

 

However it isn’t necessary to encode anything but the emoji, since the rest of your Subject line is ASCII. This is far easier to read:

 

Schon gewusst? =?UTF-8?Q?=F0=9F=92=A1?= Spannende Insights

 

 

2 replies

SanfordWhiteman
New Participant
June 15, 2023

Can you tell me the exact version of Apple Mail you’re testing on? And is this the Mac OS desktop and/or iOS version?

efrischAuthor
New Participant
June 19, 2023

yes of course: Apple Mail, newest update on iPhone 12 Pro, iOS Version 16.5

SanfordWhiteman
SanfordWhitemanAccepted solution
New Participant
June 21, 2023

The problem is your Q-encoding is wrong.

 

In a Q-encoded sequence, if you need a literal question mark ? character it needs to be encoded as =3F, since the question mark has (extremely) special meaning in Q. In addition — though this other error is tolerated by mail clients — spaces need to encoded as =20 or _.

 

Therefore a correct encoding is:

 

=?UTF-8?Q?Schon_gewusst=3F=F0=9F=92=A1_Spannende_Insights?=

 

or

 

=?UTF-8?Q?Schon=20gewusst=3F=F0=9F=92=A1=20Spannende=20Insights?=

 

 

However it isn’t necessary to encode anything but the emoji, since the rest of your Subject line is ASCII. This is far easier to read:

 

Schon gewusst? =?UTF-8?Q?=F0=9F=92=A1?= Spannende Insights

 

 

New Participant
June 15, 2023

⚠️ This post has been edited by a moderator for relevance.

Most email clients support emojis in all the ways, IOS also supports them but should be above OS X 10.7 Lion, here is a great article for using emojis https://www.litmus.com/blog/emoji-support-in-email-can-your-subscribers-see-them/