Can't get emoticons to save in database

This is a followup on the closed topic, Emoticons in Rich text editor

I can’t get this to work. I’ve converted the site_content table to uftmb4, along with the collation on all columns. I’ve tried in a few different sites — MODX 2, MODX 3, TinyMCEWrapper, TinyMCE RTE — and in all cases the emoticons get converted to ??? (should be four question marks, but this editor keeps deleting the fourth one!). I can enter an emoticon directly in the database, and then it shows up in the MODX manager as ??? when editing. Doesn’t matter if the emoticon is in the content field or pagetitle field or whatever. I’ve deleted the entire contents of the cache folder on each try.

What am I missing?

Maybe check the values $database_connection_charset and $database_dsn in the file core/config/config.inc.php and make sure “utf8mb4” is part of their values as well.

Ah! Didn’t think to look there. Problem solved. Thanks so much!