I'm fairly certain the SQL file's encoding is in something other than UTF8.
Try this:
SELECT col1,col2,col3
FROM table1
INTO OUTFILE 'godly_passage.txt'
CHARACTER SET utf8
Question
in phpmyadmin i set charset to utf-8, tamil text looks great
தொடக்கத்தில் கடவுள் விண்ணுலகையும், மண்ணுலகையும் படைத்தபொழுது,
but after export to sql file, looks:
தொடக்கத்தில் கடவŕŻŕ®łŕŻŤ விண்ணŕŻŕ®˛ŕ®•ŕŻŕ®ŻŕŻŕ®®ŕŻŤ, மண்ணŕŻŕ®˛ŕ®•ŕŻŕ®ŻŕŻŕ®®ŕŻŤ படŕŻŕ®¤ŕŻŤŕ®¤ŕ®ŞŕŻŠŕ®´ŕŻŕ®¤ŕŻ,
where is problem?
Solution
I'm fairly certain the SQL file's encoding is in something other than UTF8.
Try this:
SELECT col1,col2,col3
FROM table1
INTO OUTFILE 'godly_passage.txt'
CHARACTER SET utf8