WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Allow emoji in comments (3 posts)

  1. giti
    Member
    Posted 1 year ago #

    Hi,

    I'm trying to include emoji in comments. Unfortunately, most of them are stripped out. I think there is a filter that cleans a range of unicode chars but I wasn't able to identify it.

    Screenshot: http://i.imgur.com/YtBZlZv.png

    Can you help me?

    TIA

  2. giti
    Member
    Posted 1 year ago #

    I figured it out by myself.

    Maybe useful for other.

    It's not a wordpress filter, it's a normal sql behaviour. You need to change encoding from utf8_general_ci to utf8mb4_general_ci.

    But it doesn't work the same. So I did the ancient way (pre and post filters emoji -> :stuff_to_replace:),

    Thanks anyway

    Sources:
    http://forums.mysql.com/read.php?103,434779,435129#msg-435129

  3. giti
    Member
    Posted 1 year ago #

    resolved

Topic Closed

This topic has been closed to new replies.

About this Topic