meryl <[email protected]> writes:

> That's what I thought until this happened.
>
> I didn't copy the code from a windows file; I hand wrote it from scratch in
> gedit.... and gedit is putting a bom into the document.

...uh, OK.  I stand corrected.  It is a Microsoft /and/ GNOME horror. ;)

Seriously, sorry: I have never, ever encountered this before, so I had no
reason to expect it to show up.  Thanks, also, for the warning, which I will
keep in mind for future dealings with the GNOME stuff.

> When I upload the html file (which has php scripts in it) I see the bom on
> the web page. A standard html file without php scripts doesn't show the
> bom. I've even opened up the file with Okteta to see if I can delete it that
> way but Okteta doesn't show it. It's quite bizarre. But I really need to
> find a way to remove it because it's there on the web page.

Well, my temptation would be to fire up vi or Emacs on it, and use that, but I
don't know if either of them is likely to preserve it also.  So, I Googled and
found you this as penance for being ignorant:

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

That should sort you out fine. :)

        Daniel
-- 
✣ Daniel Pittman            ✉ [email protected]            ☎ +61 401 155 707
               ♽ made with 100 percent post-consumer electrons
   Looking for work?  Love Perl?  In Melbourne, Australia?  We are hiring.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to