I'm working with CSV files in php and we have a system that outputs them, i've been working for the last hour on how to get php to read them without inserting funny characters into the code and the problem was the file encoding, if I open the files in notepad and save it with a UTF-8 encoding, the files open perfectly, is it possible to convert the files with php rather than open 100+ files a month in notepad and save with a different encoding. Ta Very Much! Dom
AFAIK the utf8_encode only works with xml files doesn't it? Firefox says the file is encoded with UTF-16LE