Jump to content

Annoying symbols appearing with include() function !!


indigobanana

Recommended Posts

Hello,

 

This is a fairly basic question, and it seems as if it should be easy to solve, but on about 75% of my pages on Indigo Banana, i get the symbols



and sometimes



appearing at the top of the page in FireFox 3. IE7 seems to be unaffected.

 

However, on the MIDI City the problem is even worse, with



appearing on most pages on FireFox 3 and a really annoying gap and a box or some kind of unselectable dash character appearing in the view source of IE7.

 

It goes away when i remove include("dbconnect.php"), however if I open dbconnect.php by itself no symbols appear, making me think that it has something to do with the include() function. I have tried require() as well, with the same results.

 

It is really annoying me... and seems to affect random pages, with some on FireFox and others on IE7.

 

Any help would be greatly appreciated!

 

Thanks,

Jamie

Those are the BOM (Byte Order Mark) characters when a file gets saved as UTF-8 format instead of ANSI. You either need to save the files as ANSI format or use an editor that will let you save a UTF-8 file without the BOM.

Those are the BOM (Byte Order Mark) characters when a file gets saved as UTF-8 format instead of ANSI. You either need to save the files as ANSI format or use an editor that will let you save a UTF-8 file without the BOM.

 

Ah well. I guess this is another excellent quirk of Microsoft Expression Web. :/

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.