SOLVED

Re: Stripping UTF codes/emojis in subject

Go to solution
Travis_Schwartz
Level 4

Stripping UTF codes/emojis in subject

I need help.

 

In the past, I had used converters to program emojis into the subjects of my emails.

 

For example, I've used these converters in the past:

And they worked wonderfully.

 

Now the email subject is displaying the UTF code when I send instead of the emoji, or clear box. Has something changed? Is this not supported anymore?

Tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Stripping UTF codes/emojis in subject

Those characters are not ASCII, so they should also be Q-encoded.

View solution in original post

6 REPLIES 6
SanfordWhiteman
Level 10 - Community Moderator

Re: Stripping UTF codes/emojis in subject

Have you tried putting the output of those converters (the Q-encoded output) into a Velocity token, then using that {{my.token}} as the Subject? Velocity tokens keep original formatting, for the most part, unlike other tokens or direct text entry.

 

P.S. Just to avoid confusion, you wouldn't be seeing "UTF-8" (which is a binary encoding) but perhaps are seeing partial Q encoding (which is an ASCII encoding of UTF-8) because Marketo is truncating something.

Travis_Schwartz
Level 4

Re: Stripping UTF codes/emojis in subject

An update... apparently using an en-, or em-dash in the subject line causes the emoji to not render. I don't know why, but those two marks specifically cause the code to display instead of the emoji.

 

Hyphen works:
Screen Shot 2020-02-06 at 10.58.07 AM.png

en-dash doesn't:

Screen Shot 2020-02-06 at 10.58.13 AM.png

em-dash doesn't:

Screen Shot 2020-02-06 at 11.05.56 AM.png

SanfordWhiteman
Level 10 - Community Moderator

Re: Stripping UTF codes/emojis in subject

Those characters are not ASCII, so they should also be Q-encoded.

Travis_Schwartz
Level 4

Re: Stripping UTF codes/emojis in subject

Is there a reason that the dash would display/render when it isn't coded, yet it would show the code instead of the emoji that was q-encoded?

to me, it feels like it should render the emoji and the dash space be blank because it wasn't coded.

SanfordWhiteman
Level 10 - Community Moderator

Re: Stripping UTF codes/emojis in subject

It has to be something w/Marketo's scanner... when it sees the invalid non-ASCII character it breaks the rest of the string.

Travis_Schwartz
Level 4

Re: Stripping UTF codes/emojis in subject

Frustrating. 

 

Thanks for the explanation.