When I export this from Excel in a csv file to import into MySQL
Bl Michał Sopoćko, Priest
I get this
Bl Micha? Sopo?ko
Is there a way to export the file to have the right characters?
First you should check the encoding option that was specified during the export from Excel (in save dialog -> Tools button -> Web options -> Encoding Tab).
Next try to convert database table to this encoding:
ALTER TABLE <table_name> CONVERT TO CHARACTER SET <character_set> COLLATE <collate_name>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.