How do you keep the special characters when you run mysqldump?
On the database it appears correctly when i do a query. But on the file after i export, all special characters look like this:
'R. António Lt1, 1º Dtº'
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use the correct character set by either setting it in your editor or (better) force one you like (such as UTF8) on dumping (this also helps avoiding all those problems moving database dumps across servers).
mysqldump --default-character-set=UTF8