Emojis in reviews. How to?

Moderator
Şundan Lithuania
Mar 2016 tarihinden beri üye

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
Şundan Netherlands
Ara 2016 tarihinden beri üye

Wich version are you running?

Moderator
Şundan Lithuania
Mar 2016 tarihinden beri üye

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

Curtain Guru
Şundan Netherlands
Ara 2016 tarihinden beri üye

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
Şundan Sweden
May 2013 tarihinden beri üye
tim

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

Developer
Şundan Slovak Republic
May 2025 tarihinden beri üye

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.

Siz
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.