What is a BOM?
~_~_~_~_~_~_~_~_~_~_~_~_~_~_~_~
Scott A. Swedorski - VP of Product Development
CoffeeCup Software Inc.
Phone: 678.495.3480
Scott A. Swedorski - VP of Product Development
CoffeeCup Software Inc.
Phone: 678.495.3480
Scott Swedorski wrote:
What is a BOM?
What is a BOM?
In UTF-16 and UTF-32 are the characters defined by 2 or 3 Bytes, sometimes they give the Byte Order Mark with the first three characters in a file.
Some files (like .htaccess) don't work anymore when there is a BOM in the file.
With Notepad++ it is easy to convert files: (see attach).
More technical info you can find here:
http://unicode.org/faq/utf_bom.html
To add to what Albert wrote, the BOM tells the editor it's looking at a unicode file and what kind.
Thanks for the info guys. I will post this to our developers and see if we can do something about this in a future update.
~_~_~_~_~_~_~_~_~_~_~_~_~_~_~_~
Scott A. Swedorski - VP of Product Development
CoffeeCup Software Inc.
Phone: 678.495.3480
~_~_~_~_~_~_~_~_~_~_~_~_~_~_~_~
Scott A. Swedorski - VP of Product Development
CoffeeCup Software Inc.
Phone: 678.495.3480
PHP doesn't think it's the BOM.
CoffeeCup... Yeah, they are the best!
Tom wrote:
PHP doesn't think it's the BOM.
PHP doesn't think it's the BOM.
I wondered who would be the first one to make a joke like that. I know we were all thinking it!!
Scott A. Swedorski - VP of Product Development
CoffeeCup Software Inc.
Phone: 678.495.3480
I was being totally serious, though.
OK, maybe not. But that's how I discovered the BOM. I was seeing crazy characters in my php and pasted them into Google to find out what they were. LOL. It seems PHP has trouble with the BOM.
CoffeeCup... Yeah, they are the best!
Scott Swedorski wrote:
I wondered who would be the first one to make a joke like that. I know we were all thinking it!!
Tom wrote:
PHP doesn't think it's the BOM.
PHP doesn't think it's the BOM.
I wondered who would be the first one to make a joke like that. I know we were all thinking it!!
So this BOM walks into a bar with a set of jumper leads. The barman looks up and says, you're welcome as long as you don't start anything.
*Bows to the rapturous applause (and possibly groans)*
I was just gonna say CoffeeCup is the BOMb.
CoffeeCup... Yeah, they are the best!
in 3...2...1 and now CoffeeCup shows up on Homeland Security radar.
Volunteering to help 
http://www.tbaygeek.org
My HTML play area
http://www.tbaygeek.org/test/
http://www.tbaygeek.org
My HTML play area
http://www.tbaygeek.org/test/
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.