ChompGator Posted March 15, 2008 Share Posted March 15, 2008 I have the index of my webpage, and the body of it is on a php include() - when viewing the index page the body of the page is displaying just fine, but at the the top there is a  symbol how do I get rid of that? Link to comment https://forums.phpfreaks.com/topic/96277--/ Share on other sites More sharing options...
ChompGator Posted March 15, 2008 Author Share Posted March 15, 2008 I placed these tags around it <pre> <?php include("newsbody.php"); ?> </pre> To start debugging but the symbol I mentiond above i still there - Any tips would be great! Link to comment https://forums.phpfreaks.com/topic/96277--/#findComment-492847 Share on other sites More sharing options...
PFMaBiSmAd Posted March 15, 2008 Share Posted March 15, 2008 Those are the BOM (Byte Order Mark) characters of a file that was saved by your editor as a UTF-8 encoded file. Save your file as an ANSI/ASCII encoded file. Link to comment https://forums.phpfreaks.com/topic/96277--/#findComment-492857 Share on other sites More sharing options...
ChompGator Posted March 15, 2008 Author Share Posted March 15, 2008 How do I do that? Just wondering, Im saving it as a .php file... Im googleing it, but google isn't providing me any useful information on how to save it as ansi/ascii encoded...Any tips would be useful. Thanks, Link to comment https://forums.phpfreaks.com/topic/96277--/#findComment-492894 Share on other sites More sharing options...
ChompGator Posted March 15, 2008 Author Share Posted March 15, 2008 Ok, I was able to re-save it in notepad as ASNI and I just called it index.php but those characters are still there Link to comment https://forums.phpfreaks.com/topic/96277--/#findComment-492896 Share on other sites More sharing options...
ChompGator Posted March 15, 2008 Author Share Posted March 15, 2008 Ok, I fixed it, If anyone ever has this problem save your file as your_file_name.html, or php or whatever and save it as UTF-8 Thanks for all the help@! Link to comment https://forums.phpfreaks.com/topic/96277--/#findComment-492900 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.