I am trying to dump some data from mysql into an excel sheet . But the exported excel sheet contains some special accented characters(like ï¿½ï¿ Â) which is not present in the database .
My database is in "latin1" encoding and the centOS has "utf-8" code page . I tried to convert the field while selecting as below , but still few of the fields contain those accented characters . _
select convert(cat.name USING latin1)as category from category_table cat
into outfile 'course_details.csv'
fields terminated by '|' lines terminated by '\n';
Also, converting it to utf8 also doesn't help . I have also tried double conversions .
Thanks for the help in advance !
ï¿½ï¿ Â.