|
jaybee -> Funny characters in my page? (3/12/2007 16:54:54)
|
I'm putting this here as the fix specifically relates to Expression Web, the problem however exists in many other editors and it drives me bonkers. If you suddenly find you see usually at the beginning or end of your page or you've loaded a php or css file that refuses to work and when you download it and have a look, those 3 nasty little characters have managed to stick themselves on the front or back It's to do with character encoding and is known as a BOM or Byte Order Mark. Normally this will only appear if you've set your page encoding to utf-8 or greater which is the encoding recommended these days. However, many browsers don't know what to do with it so responsible editors give you the option to encode as utf-8 but turn off the BOM on the front. The ideal scenario except, all the big guys have forgotten to provide that option. Worse, once you've set one page up in Expressions using utf-8, even if you then go back to Windows encoding, the BOM just sits there and refuses to budge. And worse! Expressions understands the BOM so doesn't display it, you only know it's there when things go horribly wrong on the web. Coffee Cup Editor, the developers admit they forgot to put the switch off option in but say they'll add it to the next version. Another team, for a well known editor I shan't name openly, didn't have a clue what I was talking about even when presented with the evidence. Microsoft were suspiciously quiet on the whole issue and then one of the MVPs found the problem. I could kiss him. It's in the blank page template! [sm=BangHead.gif] So if you do File>New and set yourself up a cascading style sheet, or a text file, there's a hidden BOM lurking and just waiting to get you. Here's how to turn the darn thing off. http://www.95isalive.com/expression/index.html
|
|
|
|