Advertisement:

Author Topic: Emojis  (Read 227 times)

Offline natcip

  • Semi-Newbie
  • *
  • Posts: 87
Emojis
« on: February 22, 2019, 02:58:11 PM »
Hi 🙂
I noticed that my forum can't show unicode emojis. When users paste them into the reply editor they show up, but in the final post they're replaced with question marks.

The database is set to utf8mb4_unicode_ci, btw

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 70,549
    • StoryBB/StoryBB on GitHub
Re: Emojis
« Reply #1 on: February 22, 2019, 02:59:49 PM »
What version of SMF are you using?
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline natcip

  • Semi-Newbie
  • *
  • Posts: 87
Re: Emojis
« Reply #2 on: February 22, 2019, 03:28:25 PM »
2.0.15

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 70,549
    • StoryBB/StoryBB on GitHub
Re: Emojis
« Reply #3 on: February 22, 2019, 03:30:06 PM »
And is your SMF in UTF-8 mode?

SMF does not, in 2.0 anyway, require utf8mb4 tables to handle emoji, and unless you installed SMF in UTF-8 mode, doing the conversion yourself may have caused other damage.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline natcip

  • Semi-Newbie
  • *
  • Posts: 87
Re: Emojis
« Reply #4 on: February 22, 2019, 04:00:24 PM »
Thanks for the reply Arantor

Nevermind, I just found and then ran the "convert to UTF-8 characters" task in the Forum Maintenance / Database section (it was set on ISO). Emojis show up now! I wasn't aware there was a feature for this right in the SMF Admin Panel. *blushes*