How to solve character encoding issues in subject with emoji and special characters? | Community
Skip to main content
New Participant
November 3, 2017
Solved

How to solve character encoding issues in subject with emoji and special characters?

  • November 3, 2017
  • 12 replies
  • 13359 views

We're trying to send out an email with a fire emoji, represented by =?UTF-8?Q?=F0=9F=94=A5?=


It works fine for the most part, until an email contains higher ascii such as © or ó, at which point it starts trying to mix encodings and set the rest of the title as windows-1252 according to the header output, at which point you see the above =?UTF-8?...etc string printed out in the subject.

We're importing the data as UTF-8, and even tried the "Force Encoding" setting in the master template, but it still generates a broken, mixed-encoding title when it hits higher ascii.

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 adomas_galdikas

Hi,

You have to encode all non-english characters as well.

For example:

Å - =?UTF-8?Q?=C3=85?=

Ø - =?UTF-8?Q?=C3=98?=

Æ - =?UTF-8?Q?=C3=86?=

Ä - =?UTF-8?Q?=C3=84?=

å - =?UTF-8?Q?=C3=A5?=

ø - =?UTF-8?Q?=C3=B8?=

æ - =?UTF-8?Q?=C3=A6?=

ä - =?UTF-8?Q?=C3=A4?=

Subject: "K=?UTF-8?Q?=C3=B8?=benhavn =?UTF-8?Q?=F0=9F=98=81?= "

Will be visible as "København (emoji_is_here) "

12 replies

C_M_GAuthor
New Participant
November 13, 2017

Yes, I've seen that thread before; as you'll note, we're using the same method described there. However, we're encountering the same issue as the last comment in that thread that was never replied to.

It works fine until something like é or © shows up and then it all blows up. Something in Campaign is adding a bunch of windows-1252 (latin1) encoding markers to the subject and this causes the =?UTF-8 code to stop working and be displayed verbatim.

florentlb
New Participant
November 13, 2017

Hi,

Please have a look at the following thread, which to me seems close to your current question: how to use emoji in adobe campaign subject line?

Let me know if you need more information,

Florent