Use a normal editor..
http://www.scintilla.org is a good one.

There's an encoding called "UTF-Cookie", which doesn't save the BOM.


On Mar 24, 4:37 pm, 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 
> inhttp://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.
--~--~---------~--~----~------------~-------~--~----~
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