How I Spent Half a Day Fixing a WordPress Charset Problem (and What I Learned)

A WooCommerce site with an ERP integration in progress. The external developer reported a mixed encoding in the database: latin1, utf8mb3, and utf8mb4. ALTER TABLE looked like the right move. But it wasn't so.