Possible Duplicate:
How to fix double-encoded UTF8 characters (in an utf-8 table)
I see extra characters like â showing because of encoding issues as I found out here –
HTML encoding issues – "Â" character showing up instead of " "
I understand that if I set the browser meta encoding to UTF-8, these will not affect anything but I need to strip these extra characters from the database for other purposes.
For eg. :
Text: ↑ should be become Text: ↑
But if I run it through utf8_decode it gives me Text: �??
For every other occurrence of the â character, it converts properly to a blank space. Any help will be appreciated.
You have not shared much information in your question, but according to the sample you gave:
This looks like you had already stored it as UTF-8 into the export file but while importing you told the file would be Windows-1252 encoded. It then was re-encoded a second time into UTF-8.
In MySQL the name of the
Windows 1252character set islatin1(cp1252 West European, specific differences documented), for a full list please see Character Sets and Collations That MySQL Supports.That is why the solution in the related Q&A works.