Hello everyone! I have a little problem with charsets and headers. I've written a script that generates a excel document using mysql and a header setting. The problem is that i need to save the document with ANSI coding but i still need all my php files to be saved with UTF-8 encoding even the file generating the excel document. Sorry if my english is a bit off. I hope someone will give me a good answer. If my explanation is inadequate please ask me more about the problem. (Sorry for my double post i had some trouble with my connection and managed to send it twice)