Force MySQL to use utf8mb4 charset, to avoid invalid chars errors