<?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: Problem reading german text from txt file in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Problem-reading-german-text-from-txt-file/m-p/117308#M52437</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/56759"&gt;@Chakkravarthi_PR&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I have checked the code of&amp;nbsp;&lt;STRONG&gt;Read All Text From file&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;Action in the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;File Management - VBO. &lt;/STRONG&gt;The code is same like yours. For me, text looks like this "Gesch�ftsbereich"&lt;/P&gt;&lt;P&gt;I cannot find out where is the issue.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Dec 2024 12:20:49 GMT</pubDate>
    <dc:creator>mmostaquim</dc:creator>
    <dc:date>2024-12-03T12:20:49Z</dc:date>
    <item>
      <title>Problem reading german text from txt file</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Problem-reading-german-text-from-txt-file/m-p/117295#M52431</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a txt file which contains German texts. When I try to read all texts with Read all lines from text file from Utility-File Management VBO, there is a problem extracting some German letters like ä,ü,ö,ß etc. In the file management VBO, I duplicated the “Read all lines from text file” page and changed the code. But still it can't extract the mentioned German letters. Below code I have written. It would be great if anyone can help me regarding this.&lt;/P&gt;&lt;P&gt;Text = ""&lt;/P&gt;&lt;P&gt;Try&lt;BR /&gt;' Read the file using UTF-8 encoding&lt;BR /&gt;Text = System.IO.File.ReadAllText(File_Name, System.Text.Encoding.UTF8)&lt;BR /&gt;Catch ex As Exception&lt;BR /&gt;' Handle exceptions by setting the output to an error message&lt;BR /&gt;Text = "Error: " &amp;amp; ex.Message&lt;BR /&gt;End Try&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ekram&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 11:29:11 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Problem-reading-german-text-from-txt-file/m-p/117295#M52431</guid>
      <dc:creator>mmostaquim</dc:creator>
      <dc:date>2024-12-03T11:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem reading german text from txt file</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Problem-reading-german-text-from-txt-file/m-p/117307#M52436</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/6841"&gt;@mmostaquim&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I am using the &lt;STRONG&gt;Read All Text From file&lt;/STRONG&gt; Action in the &lt;STRONG&gt;File Management - VBO&lt;/STRONG&gt; it works well. Attached is the sample text.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chakkravarthi_PR_0-1733227891736.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39985i1DF9C785227A99B5/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Chakkravarthi_PR_0-1733227891736.png" alt="Chakkravarthi_PR_0-1733227891736.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Read Text Code:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chakkravarthi_PR_1-1733227987831.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39986i6C508701F84578BD/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Chakkravarthi_PR_1-1733227987831.png" alt="Chakkravarthi_PR_1-1733227987831.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 12:13:40 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Problem-reading-german-text-from-txt-file/m-p/117307#M52436</guid>
      <dc:creator>Chakkravarthi_PR</dc:creator>
      <dc:date>2024-12-03T12:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem reading german text from txt file</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Problem-reading-german-text-from-txt-file/m-p/117308#M52437</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/56759"&gt;@Chakkravarthi_PR&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I have checked the code of&amp;nbsp;&lt;STRONG&gt;Read All Text From file&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;Action in the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;File Management - VBO. &lt;/STRONG&gt;The code is same like yours. For me, text looks like this "Gesch�ftsbereich"&lt;/P&gt;&lt;P&gt;I cannot find out where is the issue.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 12:20:49 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Problem-reading-german-text-from-txt-file/m-p/117308#M52437</guid>
      <dc:creator>mmostaquim</dc:creator>
      <dc:date>2024-12-03T12:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem reading german text from txt file</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Problem-reading-german-text-from-txt-file/m-p/117314#M52441</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/6841"&gt;@mmostaquim&lt;/a&gt;&amp;nbsp; - we had the same issue but we got this working for norwegian characters åøæ&amp;nbsp; and should work for German as well, try below steps ?&lt;/P&gt;&lt;P&gt;1. Search for "environment variables", and select Edit system environment variables option&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Go to advanced tab - Environment variables&lt;/P&gt;&lt;P&gt;3.&amp;nbsp;Go down to the System variables, and press new&lt;/P&gt;&lt;P&gt;4.&amp;nbsp;&lt;SPAN&gt;In the pop up box, set the Variable name to "&lt;/SPAN&gt;&lt;SPAN&gt;NLS_LANG&lt;/SPAN&gt;&lt;SPAN&gt;" and the value to "&lt;/SPAN&gt;&lt;SPAN&gt;AMERICAN_AMERICA.WE8ISO8859P1&lt;/SPAN&gt;&lt;SPAN&gt;" (Without the ")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;5. Press OK \ Apply &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;6. Restart and try again&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 13:44:07 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Problem-reading-german-text-from-txt-file/m-p/117314#M52441</guid>
      <dc:creator>saivikas729</dc:creator>
      <dc:date>2024-12-03T13:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem reading german text from txt file</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Problem-reading-german-text-from-txt-file/m-p/117318#M52443</link>
      <description>&lt;P&gt;Are you sure the encoding of the text file you are reading is UTF8? If it is ANSI for example I think that might be the issue.&lt;/P&gt;&lt;P&gt;If you have notepad++ you can open in there and check the lower right hand corner.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EricNewton_0-1733234625663.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39988i2750299B5321F4BF/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="EricNewton_0-1733234625663.png" alt="EricNewton_0-1733234625663.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;vs&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EricNewton_1-1733234638977.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39989iEB63646BE7A898CC/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="EricNewton_1-1733234638977.png" alt="EricNewton_1-1733234638977.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Or if you don't have notepad++ you can open in notepad and Save As and see what it defaults to, I don't think that is always a sure fire thing though.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 14:06:02 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Problem-reading-german-text-from-txt-file/m-p/117318#M52443</guid>
      <dc:creator>EricNewton</dc:creator>
      <dc:date>2024-12-03T14:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem reading german text from txt file</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Problem-reading-german-text-from-txt-file/m-p/117320#M52444</link>
      <description>&lt;P&gt;Unfornately, i do not have notepad++. I have tried with notepad and save as. I think it is defined as ANSI.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mmostaquim_0-1733235313498.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39990iD7D4EF257440B21B/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="mmostaquim_0-1733235313498.png" alt="mmostaquim_0-1733235313498.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 14:15:45 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Problem-reading-german-text-from-txt-file/m-p/117320#M52444</guid>
      <dc:creator>mmostaquim</dc:creator>
      <dc:date>2024-12-03T14:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem reading german text from txt file</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Problem-reading-german-text-from-txt-file/m-p/117322#M52445</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/6841"&gt;@mmostaquim&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Change the encoding to UTF-8 like below in Notepad (Save AS):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chakkravarthi_PR_0-1733235495160.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39991i637ABBCAA3193949/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Chakkravarthi_PR_0-1733235495160.png" alt="Chakkravarthi_PR_0-1733235495160.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If it still doesnot work, change the code with :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Text = System.IO.File.ReadAllText(File_Name, System.Text.Encoding.GetEncoding("ISO-8859-1"))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and save the file encoding to UTF-8. Seems to be working from my end.&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can find the code&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/windows/win32/intl/code-page-identifiers?redirectedfrom=MSDN" target="_self"&gt;Identifiers&lt;/A&gt;&amp;nbsp;here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 14:21:03 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Problem-reading-german-text-from-txt-file/m-p/117322#M52445</guid>
      <dc:creator>Chakkravarthi_PR</dc:creator>
      <dc:date>2024-12-03T14:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem reading german text from txt file</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Problem-reading-german-text-from-txt-file/m-p/117330#M52450</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/56759"&gt;@Chakkravarthi_PR&lt;/a&gt;, thanks for the solution. After saving the txt file with UTF format,&amp;nbsp;Read All Text From file&amp;nbsp;Action in the&amp;nbsp;File Management - VBO can read german letters.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 07:26:33 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Problem-reading-german-text-from-txt-file/m-p/117330#M52450</guid>
      <dc:creator>mmostaquim</dc:creator>
      <dc:date>2024-12-04T07:26:33Z</dc:date>
    </item>
  </channel>
</rss>

