<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: Hidden characters in Expression Web files</title>
	<atom:link href="http://www.elgincomputerguy.com/2007/10/15/hidden-characters-in-expression-web-files/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.elgincomputerguy.com/2007/10/15/hidden-characters-in-expression-web-files/</link>
	<description>The ramblings of a superfluous man…</description>
	<pubDate>Mon, 06 Sep 2010 21:43:14 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: davey</title>
		<link>http://www.elgincomputerguy.com/2007/10/15/hidden-characters-in-expression-web-files/comment-page-1/#comment-201</link>
		<dc:creator>davey</dc:creator>
		<pubDate>Wed, 07 May 2008 02:57:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.elgincomputerguy.com/?p=3#comment-201</guid>
		<description>Thanks so much for the post.  The idea of adding this to the top of each include file works.




This from http://www.expression-web-designer-help.com/forum/printer_friendly_posts.asp?TID=532

Thanks Again!!

--------------------------------------------
Yes,
EW is adding a BOM to all the PHP pages, So if you are pulling PHP include files, try adding this to the head of each include file:
 



This tricks EW into NOT adding the BOM, but doesn't affect the browser in any way.  Since EW will see the content type (even though it is commented out), it will not add the BOM.  Also remember to put a content type on your regular page, as well; such as:


As Jim says, you will also need to change the setting on your stylesheet. 
 
Good luck to anyone else who noticed this problem!
-------------------------------------------------</description>
		<content:encoded><![CDATA[<p>Thanks so much for the post.  The idea of adding this to the top of each include file works.</p>
<p>This from <a href="http://www.expression-web-designer-help.com/forum/printer_friendly_posts.asp?TID=532" rel="nofollow">http://www.expression-web-designer-help.com/forum/printer_friendly_posts.asp?TID=532</a></p>
<p>Thanks Again!!</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
Yes,<br />
EW is adding a BOM to all the PHP pages, So if you are pulling PHP include files, try adding this to the head of each include file:</p>
<p>This tricks EW into NOT adding the BOM, but doesn&#8217;t affect the browser in any way.  Since EW will see the content type (even though it is commented out), it will not add the BOM.  Also remember to put a content type on your regular page, as well; such as:</p>
<p>As Jim says, you will also need to change the setting on your stylesheet. </p>
<p>Good luck to anyone else who noticed this problem!<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.elgincomputerguy.com/2007/10/15/hidden-characters-in-expression-web-files/comment-page-1/#comment-127</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Sat, 08 Mar 2008 18:06:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.elgincomputerguy.com/?p=3#comment-127</guid>
		<description>&lt;strong&gt;free car quote...&lt;/strong&gt;

Excellent post. Keep it up!...</description>
		<content:encoded><![CDATA[<p><strong>free car quote&#8230;</strong></p>
<p>Excellent post. Keep it up!&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.elgincomputerguy.com/2007/10/15/hidden-characters-in-expression-web-files/comment-page-1/#comment-4</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 15 Oct 2007 19:06:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.elgincomputerguy.com/?p=3#comment-4</guid>
		<description>I found this:
hi matt,
this has to do with the BOM i suspect.
 
To remove it from your CSS file:

Open the file in EW - Right click in the file and choose Encoding

In Save the current file as: dropdown choose Unicode (UTF-*) (or an
encoding that you want)
Clear the checkbox "Include a byte-order mark (BOM) when saving as
Unicode - Click Save as...   and overwrite the original file.

A line like this @charset "utf-8";    will be added and the BOM
removed.
Obviously you should back up and test this first
HTH
JIM

at this site:
http://www.expression-web-designer-help.com/forum/printer_friendly_posts.asp?TID=532

I ran into it before when working with PHP.  If you double-click a PHP file in Expression web that has not been changed from the default (as mentioned above), you get these BOM characters.  PHP doesn't like them!  

Out of curiosity I opened an HTML file using the DOS editor and the characters are there, too.  I guess I'd better change my default encoder to strip out those characters.  NOTE:  I'm currently set at the default.

Randy</description>
		<content:encoded><![CDATA[<p>I found this:<br />
hi matt,<br />
this has to do with the BOM i suspect.</p>
<p>To remove it from your CSS file:</p>
<p>Open the file in EW - Right click in the file and choose Encoding</p>
<p>In Save the current file as: dropdown choose Unicode (UTF-*) (or an<br />
encoding that you want)<br />
Clear the checkbox &#8220;Include a byte-order mark (BOM) when saving as<br />
Unicode - Click Save as&#8230;   and overwrite the original file.</p>
<p>A line like this @charset &#8220;utf-8&#8243;;    will be added and the BOM<br />
removed.<br />
Obviously you should back up and test this first<br />
HTH<br />
JIM</p>
<p>at this site:<br />
<a href="http://www.expression-web-designer-help.com/forum/printer_friendly_posts.asp?TID=532" rel="nofollow">http://www.expression-web-designer-help.com/forum/printer_friendly_posts.asp?TID=532</a></p>
<p>I ran into it before when working with PHP.  If you double-click a PHP file in Expression web that has not been changed from the default (as mentioned above), you get these BOM characters.  PHP doesn&#8217;t like them!  </p>
<p>Out of curiosity I opened an HTML file using the DOS editor and the characters are there, too.  I guess I&#8217;d better change my default encoder to strip out those characters.  NOTE:  I&#8217;m currently set at the default.</p>
<p>Randy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Cowsill</title>
		<link>http://www.elgincomputerguy.com/2007/10/15/hidden-characters-in-expression-web-files/comment-page-1/#comment-3</link>
		<dc:creator>Dan Cowsill</dc:creator>
		<pubDate>Mon, 15 Oct 2007 18:28:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.elgincomputerguy.com/?p=3#comment-3</guid>
		<description>That's kinda weird.  Most editors used for programming go out of their way to make sure the only characters in the file other than the ones you explicitly type are the newline at the end...

Any luck figuring it out?  What you could do is open up a hex editor and look at the codes for the first few characters there.  Match it against an ascii table and see if that means anything.</description>
		<content:encoded><![CDATA[<p>That&#8217;s kinda weird.  Most editors used for programming go out of their way to make sure the only characters in the file other than the ones you explicitly type are the newline at the end&#8230;</p>
<p>Any luck figuring it out?  What you could do is open up a hex editor and look at the codes for the first few characters there.  Match it against an ascii table and see if that means anything.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
