Skip to content

Fixing WordPress Emoji Saving Issues with ChatGPT Output

Matt KnightonMar 2025·1 min read
Fixing WordPress Emoji Saving Issues with ChatGPT Output
Table of Contents (6 sections)

If WordPress throws an error when you save a post containing emojis, such as text pasted from ChatGPT, the cause is usually your database collation: the setting that decides which characters a table can store.

Here’s how to check it and fix it. There’s also a video walkthrough on YouTube.

Video Guide

Understanding the Problem

You paste in text with emojis, click save and get an error. That usually means some of your database tables use an older character set that can’t store emojis.

The Solution: Check and Update Your Database Collation

The fix is to check the collation of your tables and update any old ones. Back up your database first. Then:

  1. Install WP Adminer: Begin by installing the WP Adminer plugin. This tool allows you to directly manage your WordPress database.
  2. Access WP Adminer: Once installed, access WP Adminer through your WordPress admin panel.
  3. Check Your Current Collation: Look at your database tables. If you see a collation like utf8mb3_unicode_ci, this is likely the cause of the problem. WordPress tables should ideally use utf8mb4_unicode_520.
  4. Update the Collation:
    • Use the “alter table” command to modify the collation of your post table and other major fields.
    • Change the collation to utf8mb4_unicode_520.
    • Execute the changes and save.

Why This Works

Newer WordPress tables use utf8mb4_unicode_520_ci, which can store emojis. Older tables, often from sites set up years ago, may use a character set that can’t. Converting them lets them store emojis like any other text.

You could strip emojis out instead, but then you lose them from your content. Fixing the collation solves it properly.

Still Not Saving?

If every table is on utf8mb4_unicode_520_ci and posts still won’t save, the problem is somewhere else. Check your PHP error log for the actual error message.

More Articles & Insights

View all articles
Is WordPress Dead in 2026? The Real Numbers, and When to Stay
Dec 2026 · WordPress & AI

Is WordPress Dead in 2026? The Real Numbers, and When to Stay

Read Article
Why Your Business Still Needs a Website in 2026 (Even After Organic Search Dropped 90%)
Nov 2026 · WordPress & AI

Why Your Business Still Needs a Website in 2026 (Even After Organic Search Dropped 90%)

Read Article
How to Display Multiple Sidebars with Kadence Elements
Mar 2025 · WordPress & AI

How to Display Multiple Sidebars with Kadence Elements

Read Article

Let’s figure it out together

You don’t have to build alone.

A little guidance. A good conversation. A better next step.

Work with me

Start with a 20-minute call. I read every enquiry myself.