Emojis in reviews. How to?

Moderator
Frá Lithuania
Meðlimur síðan mar. 2016

How to add emoji compatibility for this addon?

If someone adds emoji, it is shown as ???? in the review, but it is shown as emoji in the review confirmation email.

Curtain Guru
Frá Netherlands
Meðlimur síðan des. 2016

Wich version are you running?

Moderator
Frá Lithuania
Meðlimur síðan mar. 2016

Last. Ok it seems there is one emoji existing in reviews. But not all.

Curtain Guru
Frá Netherlands
Meðlimur síðan des. 2016

I see that this add-on needs an update.
So better to wait until Tim has updated this.
He will see this.
Reviews

Updated for Litecart 2.2.4

Compatible Versions: 2.2.4

tim
Founder
Frá Sweden
Meðlimur síðan maí 2013
tim

To allow emojis to be stored in database go to Admin -> Languages -> Storage Encoding and convert all tables to a utf8mb4 collation.

Developer
Frá Slovak Republic
Meðlimur síðan maí 2025

Version 2.6.2. In "Admin -> Languages -> Storage Encoding" I changed the encoding to "utf8mb4_unicode_ci, InnoDB" - it did not help.
Then in includes/config.inc.php I changed the line: define('DB_CONNECTION_CHARSET', 'utf8mb4'); - it also did not help.
As a result, in includes/app_header.inc.php at the very bottom I added the line:
database::query("SET NAMES 'utf8mb4'");
And it worked for me! Emoji started to display correctly.

Þú
This website uses no cookies and no third party tracking technology. We think we can do better than others and really think about your privacy.