<?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: CSV text as collection giving special character in header in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/CSV-text-as-collection-giving-special-character-in-header/m-p/51224#M6315</link>
    <description>&lt;P&gt;hello &lt;A id="MainCopy_ctl11_ucMessageList_rptMessageList_ProfileImageDisplay_2_NameLink_2" biobubblekey="68a7f291-d1a0-4607-9c05-7a7b863336d9" href="https://community.blueprism.com/network/profile?UserKey=68a7f291-d1a0-4607-9c05-7a7b863336d9" target="_blank" rel="noopener"&gt;Amlan Sahoo&lt;/A&gt; &amp;amp; &lt;A id="MainCopy_ctl11_ucMessageList_rptMessageList_ProfileImageDisplay_1_NameLink_1" biobubblekey="e1e4c10a-aae8-4188-b921-01877e39f53b" href="https://community.blueprism.com/network/profile?UserKey=e1e4c10a-aae8-4188-b921-01877e39f53b" target="_blank" rel="noopener"&gt;Athiban Mahamathi Mathialagan&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;actually want to avoid using EXCEL VBO route and macro. but that is good suggestion -will try out this option.&lt;/P&gt;
&lt;P&gt;i found one utility on digital exchange. that one is working fine.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://digitalexchange.blueprism.com/dx/entry/3439/solution/blue-prism---read-csv?_ga=2.164614207.1278002800.1691419152-1643662959.1690267307&amp;amp;_gl=1*xu4g8w*_ga*MTY0MzY2Mjk1OS4xNjkwMjY3MzA3*_ga_MFBQ2KFZ1L*MTY5MTY3NDg3NS4xMi4xLjE2OTE2NzcxMjYuMzkuMC4w" target="test_blank"&gt;https://digitalexchange.blueprism.com/dx/entry/3439/solution/blue-prism---read-csv?_ga=2.164614207.1278002800.1691419152-1643662959.1690267307&amp;amp;_gl=1*xu4g8w*_ga*MTY0MzY2Mjk1OS4xNjkwMjY3MzA3*_ga_MFBQ2KFZ1L*MTY5MTY3NDg3NS4xMi4xLjE2OTE2NzcxMjYuMzkuMC4w&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Neeraj Kumar&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Fri, 11 Aug 2023 06:35:00 GMT</pubDate>
    <dc:creator>Neel1</dc:creator>
    <dc:date>2023-08-11T06:35:00Z</dc:date>
    <item>
      <title>CSV text as collection giving special character in header</title>
      <link>https://community.blueprism.com/t5/Product-Forum/CSV-text-as-collection-giving-special-character-in-header/m-p/51221#M6312</link>
      <description>&lt;P&gt;I am reading a CSV as CSV text as collection action. i am getting special chacacter in first rows.&lt;/P&gt;
&lt;P&gt;on checking found, encoding of CSV is UTF-8 BOM . how to fix this in blue prism so that it do not give special character.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Neeraj Kumar&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Aug 2023 17:57:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/CSV-text-as-collection-giving-special-character-in-header/m-p/51221#M6312</guid>
      <dc:creator>Neel1</dc:creator>
      <dc:date>2023-08-10T17:57:00Z</dc:date>
    </item>
    <item>
      <title>RE: CSV text as collection giving special character in header</title>
      <link>https://community.blueprism.com/t5/Product-Forum/CSV-text-as-collection-giving-special-character-in-header/m-p/51222#M6313</link>
      <description>&lt;P&gt;Hi Neeraj,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I'd like to provide you with some suggestions on how to handle a UTF-8 BOM encoded CSV file:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Read the CSV data using MS Excel-VBO (Get worksheet as Collection Action)&lt;/LI&gt;
&lt;LI&gt;Remove the UTF-8 encoding using custom code stages.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;Between these alternatives, opting for the MS EXCEL - VBO approach appears to be the more straightforward solution.&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Athiban Mahamathi - &lt;A href="https://www.linkedin.com/in/athiban-mahamathi-544a008b/" target="test_blank"&gt;https://www.linkedin.com/in/athiban-mahamathi-544a008b/&lt;/A&gt;&lt;BR /&gt;Technical Consultant,&lt;BR /&gt;SimplifyNext,&lt;BR /&gt;Singapore&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Aug 2023 03:25:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/CSV-text-as-collection-giving-special-character-in-header/m-p/51222#M6313</guid>
      <dc:creator>Athiban_Mahamathi</dc:creator>
      <dc:date>2023-08-11T03:25:00Z</dc:date>
    </item>
    <item>
      <title>RE: CSV text as collection giving special character in header</title>
      <link>https://community.blueprism.com/t5/Product-Forum/CSV-text-as-collection-giving-special-character-in-header/m-p/51223#M6314</link>
      <description>&lt;P&gt;Hi Neeraj,&lt;/P&gt;
&lt;P&gt;If you can attach a sample csv file, then I can help you with custom codes for the same.&lt;/P&gt;
&lt;P&gt;Also Neeraj in the meanwhile try to use the Import CSV function present in BP Default. You may have to change the code a bit according to your requirement then it will work. Just record a macro while importing the csv into Excel. You will get the below-attached code copy the same here. It should work. The highlighted one is the code for UTF -8 that you have to change in the existing code.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="30067.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/30200i12BF68B2022AAC69/image-size/large?v=v2&amp;amp;px=999" role="button" title="30067.png" alt="30067.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To get this option in Excel 365 you have to do few changes to get the above code by recording macro. Please see attached image for this,&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="30068.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/30209i19F85EF5E1BA1B39/image-size/large?v=v2&amp;amp;px=999" role="button" title="30068.png" alt="30068.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Amlan Sahoo&lt;BR /&gt;Senior RPA Consultant&lt;BR /&gt;WonderBotz&lt;BR /&gt;------------------------------&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 06:03:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/CSV-text-as-collection-giving-special-character-in-header/m-p/51223#M6314</guid>
      <dc:creator>_Amlansahoo</dc:creator>
      <dc:date>2023-08-11T06:03:00Z</dc:date>
    </item>
    <item>
      <title>RE: CSV text as collection giving special character in header</title>
      <link>https://community.blueprism.com/t5/Product-Forum/CSV-text-as-collection-giving-special-character-in-header/m-p/51224#M6315</link>
      <description>&lt;P&gt;hello &lt;A id="MainCopy_ctl11_ucMessageList_rptMessageList_ProfileImageDisplay_2_NameLink_2" biobubblekey="68a7f291-d1a0-4607-9c05-7a7b863336d9" href="https://community.blueprism.com/network/profile?UserKey=68a7f291-d1a0-4607-9c05-7a7b863336d9" target="_blank" rel="noopener"&gt;Amlan Sahoo&lt;/A&gt; &amp;amp; &lt;A id="MainCopy_ctl11_ucMessageList_rptMessageList_ProfileImageDisplay_1_NameLink_1" biobubblekey="e1e4c10a-aae8-4188-b921-01877e39f53b" href="https://community.blueprism.com/network/profile?UserKey=e1e4c10a-aae8-4188-b921-01877e39f53b" target="_blank" rel="noopener"&gt;Athiban Mahamathi Mathialagan&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;actually want to avoid using EXCEL VBO route and macro. but that is good suggestion -will try out this option.&lt;/P&gt;
&lt;P&gt;i found one utility on digital exchange. that one is working fine.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://digitalexchange.blueprism.com/dx/entry/3439/solution/blue-prism---read-csv?_ga=2.164614207.1278002800.1691419152-1643662959.1690267307&amp;amp;_gl=1*xu4g8w*_ga*MTY0MzY2Mjk1OS4xNjkwMjY3MzA3*_ga_MFBQ2KFZ1L*MTY5MTY3NDg3NS4xMi4xLjE2OTE2NzcxMjYuMzkuMC4w" target="test_blank"&gt;https://digitalexchange.blueprism.com/dx/entry/3439/solution/blue-prism---read-csv?_ga=2.164614207.1278002800.1691419152-1643662959.1690267307&amp;amp;_gl=1*xu4g8w*_ga*MTY0MzY2Mjk1OS4xNjkwMjY3MzA3*_ga_MFBQ2KFZ1L*MTY5MTY3NDg3NS4xMi4xLjE2OTE2NzcxMjYuMzkuMC4w&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Neeraj Kumar&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Aug 2023 06:35:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/CSV-text-as-collection-giving-special-character-in-header/m-p/51224#M6315</guid>
      <dc:creator>Neel1</dc:creator>
      <dc:date>2023-08-11T06:35:00Z</dc:date>
    </item>
    <item>
      <title>RE: CSV text as collection giving special character in header</title>
      <link>https://community.blueprism.com/t5/Product-Forum/CSV-text-as-collection-giving-special-character-in-header/m-p/51225#M6316</link>
      <description>&lt;P&gt;@&lt;A id="MainCopy_ctl11_ucMessageList_rptMessageList_ProfileImageDisplay_0_NameLink_0" biobubblekey="c5e63ea0-81f8-48b9-bde7-b9fabd8876b1" href="https://community.blueprism.com/network/profile?UserKey=c5e63ea0-81f8-48b9-bde7-b9fabd8876b1" target="_blank" rel="noopener"&gt;Neeraj Kumar&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;If you are getting the same special character consistently, then I would suggest the following:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Read your CSV file into a text variable.&lt;/LI&gt;
&lt;LI&gt;Clean up your header in the text variable
&lt;UL&gt;
&lt;LI&gt;I would use the Replace function&lt;/LI&gt;
&lt;LI&gt;If the character is not consistent, then maybe a RegEx evaluation would be in order&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Using the same Strings object, use the 'Delimited Text to Collection' function on your clean(-er) text value&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I know that I have also seen some of the actions have an input field for the formatting (UTF-8, UTF-8 BOM, etc), so it might be worth asking to have this added to the Strings object.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Good luck,&lt;/P&gt;
&lt;P&gt;Red&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Robert "Red" Stephens&lt;BR /&gt;Application Developer, RPA&lt;BR /&gt;Sutter Health&lt;BR /&gt;Sacramento, CA&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Aug 2023 16:12:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/CSV-text-as-collection-giving-special-character-in-header/m-p/51225#M6316</guid>
      <dc:creator>stepher</dc:creator>
      <dc:date>2023-08-11T16:12:00Z</dc:date>
    </item>
  </channel>
</rss>

