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.

That would be my guess,

Sam D

On Mon, Mar 24, 2008 at 7:37 AM, MonkeyGirl <[EMAIL PROTECTED]> wrote:
>
>  Hi.
>
>  I'm probably missing something simple here, but a few weeks ago, my
>  Cake app seemed to spontaneously start outputting the hex values "EF
>  BB BF" at the beginning of all its pages. Static files such as CSS
>  files, and non-Cake PHP files in /app/webroot, don't do this. It's
>  just files generated with CakePHP.
>
>  This is causing me some grief as it means the XLS writer has stopped
>  working, because OpenOffice.org (and presumably Excel) really doesn't
>  like seeing EF BB BF at the beginning of a file.
>
>  After looking into this, I've discovered that the string in question
>  is the UTF-8 byte-order mark, as explained in 
> http://en.wikipedia.org/wiki/Byte-order_mark
>  .
>
>  I can't remember what I must have done to get CakePHP to start
>  outputting this string, but I need to get it to stop. I'm guessing
>  there's something simple that I can set, but I can't work out what it
>  is.
>
>  The only place I thought I mentioned UTF-8 is the HTML metadata, which
>  the XLS generator obviously isn't outputting.
>
>  Any ideas, anyone?
>
>  Thank you very much,
>  Zoe.
>  >
>



-- 
-- 
(the old fart) the advice is free, the lack of crankiness will cost you

- its a fine line between a real question and an idiot

http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/
http://blog.samdevore.com/cakephp-pages/my-cake-wont-bake/
http://blog.samdevore.com/cakephp-pages/i-cant-bake/

--~--~---------~--~----~------------~-------~--~----~
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