I have a database with data in latin1 encoding format. I am trying to convert all the data into utf-8 as missing some finnish, dansish characters. I tried with the following commands.
mysqldump --default-character-set=latin1 -u username -p -h example.com database_name > backup.sql
iconv -f latin1 -t UTF-8 < backup.sql > converted-file.sql
but it is not working. Any help would be appreciated. thanks.