I inherited a large database of cities around the world.
I noticed that some cities have garbled names in the placeName
column.
For example:
Cité Administrative de l'Etat
appears as Cité Administrative de l'Etat
in the database.
The collation of the placeName
column is utf8_general_ci
and the collation of the table is utf8mb4_unicode_ci
.
How can I find all the cities names in column placeName
that do not contain letters that belong to any language's alphabet?
Once those are found, how can I automatically fix them so that, for example, Cité Administrative de l'Etat
becomes Cité Administrative de l'Etat
without having to do each one manually one by one?