I have created a python script which reads .xlsx
files with openpyxl
and send data to MySQL database.
The database interclassement is utf8_unicode_ci.
On this data I get an error: Beam 40 x 75
The error is:
Incorrect string value: '\xF0\x9D\x99\xB8 a...' for column ...
It is about the character:
How is it possible to replace "not allowed" chars by spaces (and not every other like é
, è
, ... which cause no problems?