I am using external DB(charset:latin1_swedish_ci, collation=latin1, MyISAM) with internal DB(utf8mb4_unicode_ci, utf8mb4, InnoDB).
- customer_name : collation = utf8mb4_unicode_ci
- customer_email : collation = utf8mb4_unicode_ci
So everytime I get the below exception warning when getting data from external DB.
How should I modify DB setting in my situation? Thanks.
(3/3) QueryException
SQLSTATE[HY000]: General error: 1366 Incorrect string value: '\xF8peri ...' for column 'customer_name' at row 1 (SQL: insert into customers
(id
, customer_name
, customer_email
) values (10008, Olsen Naen Klist�pe AS, naen@klist.no))
Test System : Win10(64bit), Mysql(v5.7.19, InnoDB), PHP(v7.1), Laravel(v5.4)