Emojis in reviews. How to?

Moderator
Depuis Lithuania
Membre depuis mars 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
Depuis Netherlands
Membre depuis déc. 2016

Wich version are you running?

Moderator
Depuis Lithuania
Membre depuis mars 2016

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

Curtain Guru
Depuis Netherlands
Membre depuis déc. 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
Depuis Sweden
Membre depuis mai 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
Depuis Slovak Republic
Membre depuis mai 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.

Vous
Ce site n'utilise aucun cookie ni aucune technologie de suivi tierce. Nous pensons pouvoir faire mieux que les autres et nous nous soucions vraiment de votre vie privée.