In MySQL, use “utf8mb4” instead of “utf8” (2016)
Has anyone ever successfully converted a large legacy Apache/PHP/MySQL site to UTF-8? If so you deserve an award. utf8mb4 is just one issue and not the worst.