Upgrade Mautic4 to Mautic5 changes emojis to text?

Your software
My Mautic version is: 5.1.1
My PHP version is: 8.2
My Database type and version is: MariaDB 10.5.26

Your problem
My problem is:

After Update from Mautic4 to Mautic5 Emoticons in E-Mail Bodies are shown as e.g. :registered: instead of ® …

Steps I have tried to fix the problem:
Looked up into database, its indeed saved as ®

Was there a different mechanism in Mautic 4?

It’s doing the same thing in Mautic 4.4.12, but only in the subject line. Emojis work fine in the message body.

For example, :tada: shows up as :tada: in the subject line. I tested it across several email clients, and they all accept emojis in subject lines without issues. Interestingly, the emoji even appears correctly in Mautic’s email channel subject line, but it gets converted back to text when the email is sent out. Even the example email preview shows text instead of emojis, so it seems something broke along the way.

I’m not sure which version introduced this issue since we don’t often use emojis in subject lines.

This is fixed in Mautic 5.

Mautic 4 does not get bug fixes almost for 1 year and will run out of security fixes this month.

Hi, my question was about the migration from v4 to v5. This seems to have forgotten to transfer emoticons correctly…

That will be the side-effect of removing transliteration in M5 and letting the emojis to store to the database as they should.

The map between the short codes and emojis is still present in M5 so it could be used to write a migration that will search and replace the short codes with emojis in certain columns like email subject.

1 Like