Ticket 18392 and MySQL utf8mb4

@benc Would you have available a MariaDB 10.5 with Python 3.11 or 3.12 to run the failing tests locally?