<?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: Beware of the Byte Order Mark</title>
	<atom:link href="http://vbnotebookfor.net/2007/05/26/beware-of-the-byte-order-mark/feed/" rel="self" type="application/rss+xml" />
	<link>http://vbnotebookfor.net/2007/05/26/beware-of-the-byte-order-mark/</link>
	<description>Articles on VB.NET and Software Development Team Leadership</description>
	<pubDate>Mon, 21 May 2012 17:12:40 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mahdi aldurazi</title>
		<link>http://vbnotebookfor.net/2007/05/26/beware-of-the-byte-order-mark/comment-page-1/#comment-1230</link>
		<dc:creator>Mahdi aldurazi</dc:creator>
		<pubDate>Sat, 25 Oct 2008 16:13:45 +0000</pubDate>
		<guid isPermaLink="false">http://vbnotebookfor.net/2007/05/26/beware-of-the-byte-order-mark/#comment-1230</guid>
		<description>Thanks,, 

its very helpfull information ..</description>
		<content:encoded><![CDATA[<p>Thanks,, </p>
<p>its very helpfull information ..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexey</title>
		<link>http://vbnotebookfor.net/2007/05/26/beware-of-the-byte-order-mark/comment-page-1/#comment-947</link>
		<dc:creator>Alexey</dc:creator>
		<pubDate>Thu, 29 Nov 2007 11:27:10 +0000</pubDate>
		<guid isPermaLink="false">http://vbnotebookfor.net/2007/05/26/beware-of-the-byte-order-mark/#comment-947</guid>
		<description>System.IO.StreamWriter and System.IO.File.WriteAllText will not include the Byte Order Mark only if you use Encoding.Default parameter. It's more safe to use custom Encoding:
&lt;code&gt;
Dim encoding As New UTF8Encoding(False)

Using sw As New StreamWriter(MyFilename, False, encoding)
    'writing code here
End Using
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>System.IO.StreamWriter and System.IO.File.WriteAllText will not include the Byte Order Mark only if you use Encoding.Default parameter. It&#8217;s more safe to use custom Encoding:<br />
<code><br />
Dim encoding As New UTF8Encoding(False)</p>
<p>Using sw As New StreamWriter(MyFilename, False, encoding)<br />
    'writing code here<br />
End Using<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jfrankcarr</title>
		<link>http://vbnotebookfor.net/2007/05/26/beware-of-the-byte-order-mark/comment-page-1/#comment-814</link>
		<dc:creator>jfrankcarr</dc:creator>
		<pubDate>Fri, 26 Oct 2007 18:42:49 +0000</pubDate>
		<guid isPermaLink="false">http://vbnotebookfor.net/2007/05/26/beware-of-the-byte-order-mark/#comment-814</guid>
		<description>You're welcome. I'm glad to be of help.</description>
		<content:encoded><![CDATA[<p>You&#8217;re welcome. I&#8217;m glad to be of help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ASweet</title>
		<link>http://vbnotebookfor.net/2007/05/26/beware-of-the-byte-order-mark/comment-page-1/#comment-813</link>
		<dc:creator>ASweet</dc:creator>
		<pubDate>Fri, 26 Oct 2007 18:10:07 +0000</pubDate>
		<guid isPermaLink="false">http://vbnotebookfor.net/2007/05/26/beware-of-the-byte-order-mark/#comment-813</guid>
		<description>Very good, worked like a charm</description>
		<content:encoded><![CDATA[<p>Very good, worked like a charm</p>
]]></content:encoded>
	</item>
</channel>
</rss>

