phpexcel generates a corrupted file

Hi all,

The excel file which i generated using phpexcel is corrupt. Cna anybody tell me how to resolve this issue.?

Thanks

I have this problem too.

I had a problem that some of my files were BOM problem - http://www.dotvoid.com/2010/04/detecting-utf-bom-byte-order-mark/

You should check if before excel save/output code have not any character output