I have an excel database and trying to read the content into mysql, as you probably know MS office does some funny things to non-english characters. for example instead of "Märkisch" it has "Ma¤rkisch". Now the problem is that I can not replace some of these characters such as "a¤" to their original form. I use str_replace but it doesnot recognise them. Any idea?
Or you could save the excel file as a csv and open it in a text editor. Then run a macro in the text editor to search for each instance of the character and replace it with the correct one.
I saved the file a CSV and opened it in notepad and characters were OK. So I change font arial to "Arial Unicode MS" which according to excel help should work fine with non-english characters but to no good. Any idea?
I'm thinking its because they are double byte characters.... So in your case a¤ in MS word combine together to form ä. See if your PHP has mbstring functions: http://www.php.net/mbstring