<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic how to save text date to new file in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/how-to-save-text-date-to-new-file/m-p/94566#M43975</link>
    <description>typo in title: data (not date)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I want to save text data to new html file (utf-8) and put it in my PC desktop.&lt;BR /&gt;My PC system locale is set to ja-jp, so file is saved in shift-JIS by default.&lt;BR /&gt;Please tell me how to do.&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Mitsuko &lt;BR /&gt;Asia/Tokyo&lt;BR /&gt;------------------------------</description>
    <pubDate>Mon, 28 Oct 2019 05:23:00 GMT</pubDate>
    <dc:creator>sumire</dc:creator>
    <dc:date>2019-10-28T05:23:00Z</dc:date>
    <item>
      <title>how to save text date to new file</title>
      <link>https://community.blueprism.com/t5/Product-Forum/how-to-save-text-date-to-new-file/m-p/94566#M43975</link>
      <description>typo in title: data (not date)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I want to save text data to new html file (utf-8) and put it in my PC desktop.&lt;BR /&gt;My PC system locale is set to ja-jp, so file is saved in shift-JIS by default.&lt;BR /&gt;Please tell me how to do.&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Mitsuko &lt;BR /&gt;Asia/Tokyo&lt;BR /&gt;------------------------------</description>
      <pubDate>Mon, 28 Oct 2019 05:23:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/how-to-save-text-date-to-new-file/m-p/94566#M43975</guid>
      <dc:creator>sumire</dc:creator>
      <dc:date>2019-10-28T05:23:00Z</dc:date>
    </item>
    <item>
      <title>RE: how to save text date to new file</title>
      <link>https://community.blueprism.com/t5/Product-Forum/how-to-save-text-date-to-new-file/m-p/94567#M43976</link>
      <description>I copied and rewrite VBO "write text file" so that it can output text in UTF-8.&lt;BR /&gt;&lt;BR /&gt;namespace System.IO and System.Text&amp;nbsp; are required.&lt;BR /&gt;&lt;BR /&gt;
&lt;PRE class="language-csharp"&gt;Dim utfEnc &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; System&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;Text&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;Encoding&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;GetEncoding&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token number"&gt;65001&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;

Try
	File&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;WriteAllText&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;File_Name&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt; inText&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt; utfEnc&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;

	Success &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; True
	Message &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token string"&gt;""&lt;/SPAN&gt;
Catch e As Exception
	Success &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; False
	Message &lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt; e&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;Message
End Try​&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Mitsuko &lt;BR /&gt;Asia/Tokyo&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Oct 2019 04:40:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/how-to-save-text-date-to-new-file/m-p/94567#M43976</guid>
      <dc:creator>sumire</dc:creator>
      <dc:date>2019-10-29T04:40:00Z</dc:date>
    </item>
  </channel>
</rss>

