The following code gets a \'report line\' as an array and uses fputcsv to tranform it into CSV. Everything is working great except for the fact that regardless of the charset I
My guess would be that your php source code file has a BOM, and you have php's output buffering enabled.