Jiokah Posted December 7, 2008 Share Posted December 7, 2008 Hey guys, Sometimes when I screw up my code, I find a Byte Order Mark (), at the top of the page, and usually (but not always) it's alone. I'm not sure, but I think I get it most when I screw something up with the output buffer. And yes, when I switch to UTF-8 is just goes away, but my question is why does it appear there in the first place? I always fix my code to get rid of it but have never really found out what ever it was that caused it. Any ideas? Thanks! -Matthew Link to comment https://forums.phpfreaks.com/topic/135911-byte-order-mark-out-of-no-where-why/ Share on other sites More sharing options...
kenrbnsn Posted December 7, 2008 Share Posted December 7, 2008 Make sure the editor you're using is set to write plain ASCII text, not UTF-8. Ken Link to comment https://forums.phpfreaks.com/topic/135911-byte-order-mark-out-of-no-where-why/#findComment-708533 Share on other sites More sharing options...
Jiokah Posted December 9, 2008 Author Share Posted December 9, 2008 oohh, in fact....I do have notepad++ set to UTF-8. I'll have to fuddle around to see where/why it's putting that mark in only sometimes, I'm just rather curious. Thanks a ton! That little mystery was bugging me. Link to comment https://forums.phpfreaks.com/topic/135911-byte-order-mark-out-of-no-where-why/#findComment-710082 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.