diff --git a/modules/datastore/modules/datastore_mysql_import/src/Service/MysqlImport.php b/modules/datastore/modules/datastore_mysql_import/src/Service/MysqlImport.php index dacefb0a19..fc2b2b6033 100644 --- a/modules/datastore/modules/datastore_mysql_import/src/Service/MysqlImport.php +++ b/modules/datastore/modules/datastore_mysql_import/src/Service/MysqlImport.php @@ -257,6 +257,7 @@ protected function getSqlStatement(string $file_path, string $table_name, array return implode(' ', [ 'LOAD DATA LOCAL INFILE \'' . $file_path . '\'', 'INTO TABLE {' . $table_name . '}', + 'CHARACTER SET utf8mb4', 'FIELDS TERMINATED BY \'' . $delimiter . '\'', 'OPTIONALLY ENCLOSED BY \'"\'', 'ESCAPED BY \'\'',