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? Quote Link to comment 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! Quote Link to comment 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. Quote Link to comment 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, Quote Link to comment 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 Quote Link to comment 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@! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.