My query fails, error message:
Code: Select all
Illegal mix of collations (utf8mb4_0900_ai_ci,IMPLICIT) and (utf8mb3_general_ci,COERCIBLE) for operation '='
Code: Select all
Illegal mix of collations (utf8mb4_0900_ai_ci,IMPLICIT) and (utf8mb3_general_ci,COERCIBLE) for operation '='
Code: Select all
SHOW VARIABLES LIKE 'char%';
SHOW CREATE TABLE table_name;
Code: Select all
mb_convert_encoding($text, "UTF-8");
Code: Select all
mb_convert_encoding($string, 'UTF-8', 'Windows-1252');