Closed StuartMcD closed 3 months ago
What specific emoji are you using? I tested locally and it’s working fine with the emojis I tried. Can you ensure that your character set is utf8mb4
and collation is utf8mb4_0900_ai_ci
(or utf8mb4_unicode_ci
for MariaDB) in the database, specifically the title
column of the elements_sites
table? If not then perhaps you missed a step in the Craft 4 → 5 upgrade process.
No expert but it appears to meet the requirements. Some work others are replaced 😎 = ???? , ⚽ = ⚽, 💩 = ????, 😂 = ????, 🍷= 🍷
Can you show me where they are replaced? And what database and version are you running? Here’s what it looks like when I test locally.
Before save and after save. On mobile ATM, images are back to front
Can you test the same emojis in the title of an entry to help narrow down if this is a general issue with your setup? And what database and version are you running?
It's system wide, it's night time here, so bear with me.
Feels like a system something, knee jerk, first mail out after upgrade 4 > 5 and I noticed it. Park it for now to free up your time for other stuff. Thx so much for assist to date.
Ok, this likely to be something Craft support can help you with. I see you’re using MariaDB which may have something to do with it.
Bug Report
Unsure if its a you or them issue but I've just upgraded to craft 5 and now I can no longer add emoji to the subject.
Whilst I can add them, on save, they're replaced with
????
With my limited understanding, could it relate to charset referenced here: https://craftcms.com/docs/5.x/upgrade.html#configuration ?
Plugin Version
3.4.1
Craft CMS Version
5.2.9
PHP Version
8.2