<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Beware of the Byte Order Mark</title>
	<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>Sat, 22 Nov 2008 05:11:55 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.2</generator>

	<item>
		<title>By: Mahdi aldurazi</title>
		<link>http://vbnotebookfor.net/2007/05/26/beware-of-the-byte-order-mark/#comment-1230</link>
		<author>Mahdi aldurazi</author>
		<pubDate>Sat, 25 Oct 2008 16:13:45 +0000</pubDate>
		<guid>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-947</link>
		<author>Alexey</author>
		<pubDate>Thu, 29 Nov 2007 11:27:10 +0000</pubDate>
		<guid>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-814</link>
		<author>jfrankcarr</author>
		<pubDate>Fri, 26 Oct 2007 18:42:49 +0000</pubDate>
		<guid>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-813</link>
		<author>ASweet</author>
		<pubDate>Fri, 26 Oct 2007 18:10:07 +0000</pubDate>
		<guid>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>
