As a solution I changed all tables with sql queries and their columns to utf8mb4_unicode_ci now everything seems like normal.For users this is a sensitive operation and you should backup your database first!