indigobanana Posted July 2, 2008 Share Posted July 2, 2008 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 Link to comment https://forums.phpfreaks.com/topic/112999-annoying-symbols-appearing-with-include-function/ Share on other sites More sharing options...
DarkWater Posted July 2, 2008 Share Posted July 2, 2008 Please post the code or attach the files. Preferably the latter so I can look at it and make sure no crap is in there at the end of the file. Link to comment https://forums.phpfreaks.com/topic/112999-annoying-symbols-appearing-with-include-function/#findComment-580464 Share on other sites More sharing options...
PFMaBiSmAd Posted July 2, 2008 Share Posted July 2, 2008 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. Link to comment https://forums.phpfreaks.com/topic/112999-annoying-symbols-appearing-with-include-function/#findComment-580466 Share on other sites More sharing options...
DarkWater Posted July 2, 2008 Share Posted July 2, 2008 @PFMaBiSmAd: I figured as much, but I just wanted to make sure. xD Link to comment https://forums.phpfreaks.com/topic/112999-annoying-symbols-appearing-with-include-function/#findComment-580467 Share on other sites More sharing options...
indigobanana Posted July 2, 2008 Author Share Posted July 2, 2008 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. :/ Link to comment https://forums.phpfreaks.com/topic/112999-annoying-symbols-appearing-with-include-function/#findComment-580468 Share on other sites More sharing options...
DarkWater Posted July 2, 2008 Share Posted July 2, 2008 Download Notepad++ and use that. All that Expression Web and Dreamweaver seem to do is mess things up. @_@ Link to comment https://forums.phpfreaks.com/topic/112999-annoying-symbols-appearing-with-include-function/#findComment-580472 Share on other sites More sharing options...
indigobanana Posted July 2, 2008 Author Share Posted July 2, 2008 Thank you very much. The horrible symbols have been removed, and I have found the best program ever! Solved! Link to comment https://forums.phpfreaks.com/topic/112999-annoying-symbols-appearing-with-include-function/#findComment-580477 Share on other sites More sharing options...
DarkWater Posted July 2, 2008 Share Posted July 2, 2008 Any time. =) Link to comment https://forums.phpfreaks.com/topic/112999-annoying-symbols-appearing-with-include-function/#findComment-580495 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.