reportingsjr Posted November 5, 2007 Author Share Posted November 5, 2007 Ah, I figured it out! You don't save it as utf-8, you have to save it as utf-8 without BOM. You can do this in notepad++ by going to the format menu, tick ascii, and then utf-8 without BOM, and save. Also you need to set the content-type header as UTF-8. Link to comment Share on other sites More sharing options...
boen_robot Posted November 5, 2007 Share Posted November 5, 2007 Ah, I figured it out! You don't save it as utf-8, you have to save it as utf-8 without BOM. You can do this in notepad++ by going to the format menu, tick ascii, and then utf-8 without BOM, and save. Also you need to set the content-type header as UTF-8.I never use BOM for compatability's sake.... never thought having it actually shatters the encoding itself too. Link to comment Share on other sites More sharing options...
reportingsjr Posted November 5, 2007 Author Share Posted November 5, 2007 It didn't shatter the encoding, I guess the BOM is considered output or something, so it acts like a sort of echo and if you try to send any headers after that it wont let you. I'm just glad it's all fixed . Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.