http://www.xs4all.nl/~mechiel/projects/bomstrip/

has versions of the same thing in a ton of languages (not php thought ;)

for utf8 you could do this probably if you have sed

sed -i -s -e '1s/^\xef\xbb\xbf//' <files>

On 9/18/06, DJ Spark <[EMAIL PROTECTED]> wrote:
>
>  I had the same problem here, with BOM bytes added to some files.
>  Just to keep people aware, it ate my doctype declaration, thus,
> changing the way browsers interpreted the page, changing font sizes
> and all, paddings, etc. really weird.
>
>  I had to open every file, since I didn't knew wich ones where causing
> the problem, and save them in Notepad++ without BOM.
>
>  My question: is there any script or app that could strip thos BOM
> bytes from many files in different folders ? I googled and got nothing
> useful :\
>  (ps.: prefereably windows, but could be on *nix/osX)
>
>  thanks!
>  spark
>
> On 9/16/06, AD7six <[EMAIL PROTECTED]> wrote:
> >
> > Hi Baydel,
> >
> > Have you checked the case of your files? Give your subscription model
> > files is named "Subscription" emphasis on the 'S', I would guess your
> > home controller file is named "Home_controller.php" - you need
> > everything lower case.
> >
> > The session error is caused by the space you have at the beginning of
> > your subscription model file. If there is no visible space - you have a
> > BOM (Byte Order Mark) which you need to remove.
> >
> > HTH,
> >
> > AD7six
> >
> >
> > >
> >
>
>
> --
> [web] http://synapsisdi.com.br
> [livesets] http://djspark.com.br/mp3
>
> >
>


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

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

Reply via email to