> I have seen this happen when one file (in my case a jpGraph file) had
> a been saved with the file encoding BOM in it, when If found the file
> and resaved it without it, all was good.  It actually made the jpegs
> that were generated to be corrupt.

Yes, I saw something along those lines mentioned in this thread:
http://groups.google.co.uk/group/cake-php/browse_thread/thread/8a6f7da0c76f2711/b29965f5edd8cfcf

Using the Unix command "dd if=oldfile.xls of=newfile.xls skip=3 bs=1"
I can confirm that taking off the first three chars does indeed fix
it, but I just need to know how to do this in CakePHP, or ideally to
stop it prefixing the output with them in the first place. Saving the
output as a file on the server, changing it, then outputting it rather
than just outputting the data to begin with would be a rather awkward
workaround.

Thanks,
Zoe.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to