Emojis in reviews. How to?

Moderator
Tól től Lithuania
Tagság márc. 2016 óta

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
Tól től Netherlands
Tagság dec. 2016 óta

Wich version are you running?

Moderator
Tól től Lithuania
Tagság márc. 2016 óta

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

Curtain Guru
Tól től Netherlands
Tagság dec. 2016 óta

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
Tól től Sweden
Tagság máj. 2013 óta
tim

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

Developer
Tól től Slovak Republic
Tagság máj. 2025 óta

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.

Te
Ez a weboldal nem használ cookie-kat és nem használ harmadik féltől származó nyomkövetési technológiát. Úgy gondoljuk, hogy jobban tudjuk csinálni, mint mások, és tényleg gondolunk az Ön magánéletére.