<?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 RE: Unable to process text read from file in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Unable-to-process-text-read-from-file/m-p/47270#M3048</link>
    <description>Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="b45ed586-8cd1-4f36-ad50-b7f2aed8d2d0" data-tag-text="@Jacob Christensen" href="https://community.blueprism.com/network/profile?UserKey=b45ed586-8cd1-4f36-ad50-b7f2aed8d2d0" data-itemmentionkey="aa5f0d47-6ccc-4685-bf48-6f95875da335"&gt;@Jacob Christensen&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;​Try changing the definition of the &lt;EM&gt;&lt;STRONG&gt;Read Lines&lt;/STRONG&gt;&lt;/EM&gt; action Code stage such that it specifies the encoding. Really, you'd want to make a copy of the action and change the copy, but changing the original is a quick and easy test. A value of Encoding.Unicode results in UTF 16 Little Endian.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="12609.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/12778i58914CB78D743FA6/image-size/large?v=v2&amp;amp;px=999" role="button" title="12609.png" alt="12609.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Wed, 02 Mar 2022 15:15:00 GMT</pubDate>
    <dc:creator>ewilson</dc:creator>
    <dc:date>2022-03-02T15:15:00Z</dc:date>
    <item>
      <title>Unable to process text read from file</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Unable-to-process-text-read-from-file/m-p/47269#M3047</link>
      <description>Hi Experts&lt;BR /&gt;&lt;BR /&gt;I am trying to read the settings file for OneDrive (%LocalAppData%\Microsoft\OneDrive\settings\Business1\{GUID}.ini) with the Read All Text From File activity.&lt;BR /&gt;&lt;BR /&gt;I can see that it returns a result of 3,238 characters. But when I try open the variable I can only see the very first character. I have also tried to use the Read Lines From File which returns a collection. The collection if populated as expected but when I open the collection the text disappears when I click the row.&lt;BR /&gt;&lt;BR /&gt;When I open the file in Notepad I can see that it is using UTF-16 LE&amp;nbsp; encoding. Also the content is only 1,619 characters (half of what Blue Prism interprets).&lt;BR /&gt;&lt;BR /&gt;My guess is that it is due to the encoding - any ideas on how to sort this out?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Jacob Christensen&lt;BR /&gt;IT Consultant&lt;BR /&gt;------------------------------</description>
      <pubDate>Wed, 02 Mar 2022 13:15:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Unable-to-process-text-read-from-file/m-p/47269#M3047</guid>
      <dc:creator>JacobChristens1</dc:creator>
      <dc:date>2022-03-02T13:15:00Z</dc:date>
    </item>
    <item>
      <title>RE: Unable to process text read from file</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Unable-to-process-text-read-from-file/m-p/47270#M3048</link>
      <description>Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="b45ed586-8cd1-4f36-ad50-b7f2aed8d2d0" data-tag-text="@Jacob Christensen" href="https://community.blueprism.com/network/profile?UserKey=b45ed586-8cd1-4f36-ad50-b7f2aed8d2d0" data-itemmentionkey="aa5f0d47-6ccc-4685-bf48-6f95875da335"&gt;@Jacob Christensen&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;​Try changing the definition of the &lt;EM&gt;&lt;STRONG&gt;Read Lines&lt;/STRONG&gt;&lt;/EM&gt; action Code stage such that it specifies the encoding. Really, you'd want to make a copy of the action and change the copy, but changing the original is a quick and easy test. A value of Encoding.Unicode results in UTF 16 Little Endian.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="12609.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/12778i58914CB78D743FA6/image-size/large?v=v2&amp;amp;px=999" role="button" title="12609.png" alt="12609.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Mar 2022 15:15:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Unable-to-process-text-read-from-file/m-p/47270#M3048</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-03-02T15:15:00Z</dc:date>
    </item>
    <item>
      <title>RE: Unable to process text read from file</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Unable-to-process-text-read-from-file/m-p/47271#M3049</link>
      <description>Thanks Eric - that sorted out the problem. I copied the &lt;SPAN&gt;Read All Text From File activity and added the System.Text.Encoding.Unicode to the StreamReader part and it works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Jacob Christensen&lt;BR /&gt;IT Consultant&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Mar 2022 07:57:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Unable-to-process-text-read-from-file/m-p/47271#M3049</guid>
      <dc:creator>JacobChristens1</dc:creator>
      <dc:date>2022-03-03T07:57:00Z</dc:date>
    </item>
  </channel>
</rss>

